Title: Building release 5.8.4 on HP I64

I downloaded Craig Barrys PERLBUILD584.ZIP file onto an HP Itanium at OpenVMS release 8.2 and am now trying to build Perl with ithread support.

Ive never had the, um, pleasure of building Perl before and was quite hopeful that if I followed the commands that were described in the readme file, that it would just work.  I contacted Craig to find out what had to be done to build with thread support, and adjusted the @configure command accordingly.  A handful of C files compiled fine, then it failed on PP_SYS.C as shown:

CC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/float=ieee/ieee=

denorm_results/Define=PERL_CORE PP_SYS.C

    Sock_size_t bufsize;

....^

%CC-E-BADPARSEDECL, In this declaration, "undef" must specify a type.

at line number 1544 in file PERLKIT:[SOURCE]PP_SYS.C;1

    bufsize = SvCUR(bufsv);

....^

%CC-E-UNDECLARED, In this statement, "bufsize" is not declared.

at line number 1662 in file PERLKIT:[SOURCE]PP_SYS.C;1

        while ((childpid = wait4pid(-1, &argflags, 0)) == -1 &&

...............^

%CC-I-QUESTCOMPARE1, In this statement, the unsigned _expression_ "(childpid=Perl_

wait4pid(...))" is being compared with an equality operator to a constant whose

value is negative.  This might not be what you intended.

at line number 4022 in file PERLKIT:[SOURCE]PP_SYS.C;1

        while ((result = wait4pid(pid, &argflags, optype)) == -1 &&

...............^

%CC-I-QUESTCOMPARE1, In this statement, the unsigned _expression_ "(result=Perl_wa

it4pid(...))" is being compared with an equality operator to a constant whose va

lue is negative.  This might not be what you intended.

at line number 4054 in file PERLKIT:[SOURCE]PP_SYS.C;1

Im not a C programmer, but I was able to conclude that PP_SYS.C includes perl.h, which includes either uconfig.h or config.h depending on the PERL_MICRO ifdef test.  uconfig.h defines Sock_size_t as an int, while config.h defines Sock_size_t as undef, so presumably it is config.h that is being included.

Im not sure how to solve this.  I see that uconfig.h and config.h are build by the configuration process.  Is there something that I should have done differently during the configuration?

Thanks for any help you can provide.

Doug Woronuk

Senior Software Analyst

Communications Protocols

MegaSys Computer Technologies

[EMAIL PROTECTED]

403.295.0511


This e-mail message and any attachments are confidential and may be
privileged.  If you are not the intended recipient, please notify MegaSys
immediately -- by replying to this message or by contacting MegaSys
-- and
destroy all copies of this message and any attachments. Thank you.

Reply via email to