1825690 Members
3584 Online
109686 Solutions
New Discussion

Re: perl - make Error

 
SOLVED
Go to solution
John McDen
Regular Advisor

perl - make Error

 
New to HP
6 REPLIES 6
Charles Slivkoff
Respected Contributor
Solution

Re: perl - make Error

Unless you need a custom-built perl, you can download & install a pre-built (& supported) copy of perl v.5.6.1 for HP-UX 11.0/11i (PA-RISC) and HP-UX 11i (IPF)

https://software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=PERL&date=

This is also available on the recent application media release CDROMs.

John McDen
Regular Advisor

Re: perl - make Error

Chuck,

I want to build it without multi-thread. Is this w/o multi-thread?


Thanks
New to HP
H.Merijn Brand (procura
Honored Contributor

Re: perl - make Error

Default build has no threads. ftp://download.xs4all.nl/pub/mirror/CPAN/src/5.0/stable.tar.gz

# gzip -d # cd perl-5.6.1
# Configure -des
:
:
# make
# make test

should work. If not, show the tail of where it fails. What version of gcc do you have? If you can (and want) upgrade to gcc-3.0.4 because it has many improved things for hpux

http://hpux.tn.tudelft.nl/hppd/hpux/Gnu/gcc-3.0.4/ or http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html

Enjoy, Have FUN! H.Merijn
John McDen
Regular Advisor

Re: perl - make Error

procura,

I followed what you said but I had to put something extra

Configure -des -Dcc="gcc"

But still ended up with errors while doing "make"

cp op.c opmini.c
`sh cflags libperl.a opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -fno-strict-aliasing -I/usr/local/include -O
rm -f opmini.c
gcc -L/usr/local/lib -o miniperl miniperlmain.o opmini.o libperl.a -lnsl -lnm -ldld -lm -lc -lndir -lcrypt -lsec
/usr/ccs/bin/ld: Unsatisfied symbols:
__builtin_va_start (code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.

--------------------


Also when I tried to use the depot file from the software.hp.com it did not go thur .. it gave the error saying not media found..

I am not sure if I will able to make it...

New to HP
H.Merijn Brand (procura
Honored Contributor

Re: perl - make Error

Can you try -Dcc="gcc -fno-builtin" ?
Enjoy, Have FUN! H.Merijn
John McDen
Regular Advisor

Re: perl - make Error

no luck.. I guess .. I will have to find out .. some other way .. for my problem

Thanks for all the help...

New to HP