Skip Menu |

This queue is for tickets about the buildconf CPAN distribution.

Report information
The Basics
Id: 23917
Status: rejected
Priority: 0/
Queue: buildconf

People
Owner: Nobody in particular
Requestors: zach_delta [...] yahoo.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: perl 5.9.4 zos17 (OS390)
Date: Thu, 14 Dec 2006 09:48:57 +1100 (EST)
To: bug-buildconf [...] rt.cpan.org
From: peter cottrell <zach_delta [...] yahoo.com.au>
Hi ??, I am not sure if this is the correct email address please advise me if this is incorrect. I have downloaded perl-5.9.4 to an zos170 (OS390 system) and attempting to build it. I issue "sh Configure" and taking the default options. I get the following errors; Run make depend now? [y] sh ./makedepend MAKE=make . . . . Finding dependencies for perl.o. Finding dependencies for perly.o. ERROR CCN3202 perl/perl-current/.67437570.c:115 #endif can only appear at the end of a #if, #elif, #ifdef or #ifndef block. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile .67437570.c. Correct the errors and try again. . . . . . Finding dependencies for regexec.o. ERROR CCN3287 perl/perl-current/.67437583.c:52 The parameter list on the definition of macro REXEC_TRIE_READ_CHAR is not complete. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile .67437583.c. Correct the errors and try again. Finding dependencies for utf8.o. . . . . Finding dependencies for pp_pack.o. ERROR CCN3294 perl/perl-current/.50660396.c:105 Syntax error in expression on #if directive. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile .50660396.c. Correct the errors and try again. Finding dependencies for pp_sort.o. . . . . And when I do a gmake (to try and compile I get) Show quoted text
>gmake `sh cflags "optimize=''" miniperlmain.o`
miniperlmain.c CCCMD = c89 -DPERL_CORE -c -DPERL_PATCHNUM=29543 -2 -Wc,XPLINK -DMAXSIG=39 -DOEMVS -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC -W 0,float(ieee) ERROR CCN3045 perl/perl-current/miniperlmain.c:73 Undeclared identifier env. CCN0793(I) Compilation failed for file ./miniperlmain.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile miniperlmain.c. Correct the errors and try again. gmake: *** [miniperlmain.o] Error 3 . . . . . If you need other info please let me know. Thanks Zach Send instant messages to your online friends http://au.messenger.yahoo.com
From: zach_gamma [...] yahoo.com.au
Hi Peoples, (It appears no one has looked at this - I hope it just because we are near Christmas). Anyways I have identified what is causing the above errors - and now have a new error. The 3 errors I found above; i) perly.c ERROR CCN3202 perl/perl-current/.67437570.c:115 #endif can only appear at the end of a #if, #elif, #ifdef or #ifndef block. This is not an error in perly.c but in makedepend (or makedepend.SH). The lines if Ý "$osname" = os390 -a "$file" = perly.c ¨; then $echo '#endif' >>UU/$file.c fi cause an extra #endif to be appended at the end of perly.c I am not sure why these lines were included but I have found that with zos/1.7 re moving them gets rid of the error CCN3201. ii) regexec.c Finding dependencies for regexec.o. ERROR CCN3287 perl/perl-current/.67437583.c:52 The parameter list on the definition of macro REXEC_TRIE_READ_CHAR is not complete. This is probably an zos/1.7 compiler issue, the problem was that the statement (about line 979) #define REXEC_TRIE_READ_CHAR(trie_type, trie, widecharmap, . . . . spans 2 lines, even with a / to continue it. By making it a single line I was able to stop this error from occuring. iii) pp_pack.c ERROR CCN3294 perl/perl-current/.50660396.c:105 Syntax error in expression on #if directive. Again this appears to a compiler issue. The statement, about line 337, # if defined(my_htolen) && defined(my_letohn) .. also spans two lines. By making it a single line I was able to prevent this error from occuring. This means I can get makedepend to work. HOWEVER when I issue a make I get ERROR CCN3045 perl/perl-current/miniperlmain.c:73 Undeclared identifier env. ENV Cheers Zach
This script has nothing to do with the build process of perl, hence I'm rejecting your bug ticket. Apologies for the belated rejection, though.