Subject: | PAR compile fails on HP-UX 11.00 and 11.11 |
Hi,
Problem is that i cannot compile PAR in hp-ux.
My environment:
HP-UX 11.11
Perl v5.8.3 built for PA-RISC1.1-thread-multi
And i try to compile PAR-0.87 with CPAN.
Here is compile output:
CPAN.pm: Going to build A/AU/AUTRIJUS/PAR-0.87.tar.gz
*** ExtUtils::AutoInstall version 0.61
*** Checking for dependencies...
[Core Features]
- File::Temp ...loaded. (0.14 >= 0.05)
- Compress::Zlib ...loaded. (1.34 >= 1.3)
- Archive::Zip ...loaded. (1.06 >= 1)
- Module::ScanDeps ...loaded. (0.51 >= 0.45)
- PAR::Dist ...loaded. (0.07 >= 0.06)
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for the par program
Writing Makefile for PAR
cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm
cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm
cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm
cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm
cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm
cp lib/PAR.pm blib/lib/PAR.pm
cp lib/PAR/Filter/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm
cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm
cp lib/PAR/Tutorial.pod blib/lib/PAR/Tutorial.pod
cp lib/PAR/FAQ.pod blib/lib/PAR/FAQ.pod
cp lib/PAR/Heavy.pm blib/lib/PAR/Heavy.pm
cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm
/usr/bin/perl ./file2c.pl /opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/libperl.sl my_perl.c load_me_0 0 30000
cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE main.c
/usr/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 0
cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE my_par_pl.c
/usr/bin/ld main.o my_par_pl.o -Wl,-E -Wl,-B,deferred /opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/auto/DynaLoader/DynaLoader.a -L/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE -lperl -lcres -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lpthread -lc -o ./par
/usr/bin/ld: Unrecognized argument: -Wl,-E
/usr/bin/ld: Usage: /usr/bin/ld [options] [flags] files
*** Error exit code 1
Stop.
*** Error exit code 1
So it fails with "ld".. i allready try it with HP-UX own ld and Gnu ld but result is same.
- Janne