From: | "Ian Cass" <ian.cass [...] mblox.com> |
To: | <bug-par [...] rt.cpan.org> |
Subject: | PAR on Solaris |
Date: | Thu, 9 Oct 2003 17:33:50 +0100 |
Hi,
parl does not work on Solaris
bash-2.01$ parl
bash: /home/users/imc/perl5.8/bin/parl: cannot execute binary file
bash-2.01$ file parl
parl: commands text
Details below.
bash-2.01$ uname -a
SunOS uksun1 5.6 Generic_105181-23 sun4u sparc
bash-2.01$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos uksun1 5.6 generic_105181-23 sun4u sparc '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/opt/SUNWspro/bin/cc', ccflags
='-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-I/usr/local/include'
ccversion='WorkShop Compilers 5.0 98/12/15 C 5.0', gccversion='',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/opt/SUNWspro/bin/cc', ldflags
=' -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/SC5.0/lib -L/usr/local/lib '
libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/SC5.0/lib /usr/local/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -z ignore -z
lazyload -z combreloc'
cccdlflags='-KPIC', lddlflags=' -G -z ignore -z lazyload -z
combreloc -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/SC5.0/lib -L/usr/local/l
ib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Oct 9 2003 04:17:08
@INC:
/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris
/home/users/imc/perl5.8/lib/5.8.1
/home/users/imc/perl5.8/lib/site_perl/5.8.1/sun4-solaris
/home/users/imc/perl5.8/lib/site_perl/5.8.1
/home/users/imc/perl5.8/lib/site_perl
.
bash-2.01$ pwd
/home/users/imc/.cpan/build/PAR-0.75
bash-2.01$ perl Makefile.PL
*** ExtUtils::AutoInstall version 0.54
*** Checking for dependencies...
[Core Features]
- File::Temp ...loaded. (0.14)
- Compress::Zlib ...loaded. (1.22 >= 1.14)
- Archive::Zip ...loaded. (1.06 >= 1)
- Module::ScanDeps ...loaded. (0.30 >= 0.3)
- PAR::Dist ...loaded. (0.05 >= 0.05)
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for the par program
Writing Makefile for PAR
bash-2.01$ make
cp lib/PAR.pm blib/lib/PAR.pm
cp lib/PAR/Intro.pod blib/lib/PAR/Intro.pod
cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm
cp lib/PAR/Heavy.pm blib/lib/PAR/Heavy.pm
make[1]: Entering directory `/home/users/imc/.cpan/build/PAR-0.75/myldr'
/opt/SUNWspro/bin/cc -c -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFF
SET_BITS=64 -I/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/CORE main.c
perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 0
/opt/SUNWspro/bin/cc -c -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFF
SET_BITS=64 -I/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/CORE
my_par_pl.c
/opt/SUNWspro/bin/cc main.o my_par_pl.o -z ignore -z lazyload -z
ombreloc -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/SC5.0/lib -L/usr/local/l
ib
/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/auto/DynaLoader/DynaLoader.a
-L/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/CORE -lperl -lsocket -lnsl
-ldl -lm -lc -o par
./par -I"/home/users/imc/.cpan/build/PAR-0.75/inc" -I"/home/users/imc/perl5.
8/lib/5.8.1/sun4-solaris" -I"/home/users/imc/perl5.8/lib/5.8.1" -I"/home/use
rs/imc/perl5.8/lib/site_perl/5.8.1/sun4-solaris" -I"/home/users/imc/perl5.8/
lib/site_perl/5.8.1" -I"/home/users/imc/perl5.8/lib/site_perl" -I"/home/user
s/imc/.cpan/build/PAR-0.75" -I"." -I../myldr/.. -I../blib/lib -B -O../script
/parl
Packing "../blib/lib/PAR.pm"...
Written as "PAR.pm"
Packing "../blib/lib/PAR/Heavy.pm"...
Written as "PAR/Heavy.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/AutoLoader.pm"...
Written as "AutoLoader.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/Carp.pm"...
Written as "Carp.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/Carp/Heavy.pm"...
Written as "Carp/Heavy.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/Exporter.pm"...
Written as "Exporter.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/Exporter/Heavy.pm"...
Written as "Exporter/Heavy.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/File/Basename.pm"...
Written as "File/Basename.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/File/Copy.pm"...
Written as "File/Copy.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/File/Find.pm"...
Written as "File/Find.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/File/Path.pm"...
Written as "File/Path.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/File/Spec.pm"...
Written as "File/Spec.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/File/Spec/Unix.pm"...
Written as "File/Spec/Unix.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/File/Temp.pm"...
Written as "File/Temp.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/List/Util.pm"...
Written as "List/Util.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/Scalar/Util.pm"...
Written as "Scalar/Util.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/SelectSaver.pm"...
Written as "SelectSaver.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/Symbol.pm"...
Written as "Symbol.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/Time/Local.pm"...
Written as "Time/Local.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/base.pm"...
Written as "base.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/constant.pm"...
Written as "constant.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/integer.pm"...
Written as "integer.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/overload.pm"...
Written as "overload.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/strict.pm"...
Written as "strict.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/Config.pm"...
Written as "Config.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/Cwd.pm"...
Written as "Cwd.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/DynaLoader.pm"...
Written as "DynaLoader.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/Errno.pm"...
Written as "Errno.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/Fcntl.pm"...
Written as "Fcntl.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/File/Glob.pm"...
Written as "File/Glob.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/IO.pm"...
Written as "IO.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/IO/File.pm"...
Written as "IO/File.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/IO/Handle.pm"...
Written as "IO/Handle.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/IO/Seekable.pm"...
Written as "IO/Seekable.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/XSLoader.pm"...
Written as "XSLoader.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/auto/Cwd/Cwd.so"...
Written as "auto/Cwd/Cwd.so"
Packing
"/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/auto/DynaLoader/dl_findfile.
al"...
Written as "auto/DynaLoader/dl_findfile.al"
Packing
"/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/auto/Fcntl/Fcntl.so"...
Written as "auto/Fcntl/Fcntl.so"
Packing
"/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/auto/File/Glob/Glob.so"...
Written as "auto/File/Glob/Glob.so"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/auto/IO/IO.so"...
Written as "auto/IO/IO.so"
Packing
"/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/auto/List/Util/Util.so"...
Written as "auto/List/Util/Util.so"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/lib.pm"...
Written as "lib.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/re.pm"...
Written as "re.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/vars.pm"...
Written as "vars.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/warnings.pm"...
Written as "warnings.pm"
Packing "/home/users/imc/perl5.8/lib/5.8.1/warnings/register.pm"...
Written as "warnings/register.pm"
Packing "/home/users/imc/perl5.8/lib/site_perl/5.8.1/Archive/Zip.pm"...
Written as "Archive/Zip.pm"
Packing "/home/users/imc/perl5.8/lib/site_perl/5.8.1/PAR/Dist.pm"...
Written as "PAR/Dist.pm"
Packing
"/home/users/imc/perl5.8/lib/site_perl/5.8.1/sun4-solaris/Compress/Zlib.pm".
..
Written as "Compress/Zlib.pm"
Packing
"/home/users/imc/perl5.8/lib/site_perl/5.8.1/sun4-solaris/auto/Compress/Zlib
/Zlib.so"...
Written as "auto/Compress/Zlib/Zlib.so"
Packing
"/home/users/imc/perl5.8/lib/site_perl/5.8.1/sun4-solaris/auto/Compress/Zlib
/autosplit.ix"...
Written as "auto/Compress/Zlib/autosplit.ix"
make[1]: Leaving directory `/home/users/imc/.cpan/build/PAR-0.75/myldr'
cp script/pp blib/script/pp
/home/users/imc/perl5.8/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/pp
cp script/parl blib/script/parl
/home/users/imc/perl5.8/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/parl
cp script/par.pl blib/script/par.pl
/home/users/imc/perl5.8/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/par.pl
Manifying blib/man1/pp.1
Manifying blib/man1/parl.1
Manifying blib/man1/par.pl.1
Manifying blib/man3/PAR::Heavy.3
Manifying blib/man3/PAR::Intro.3
Manifying blib/man3/PAR.3
Manifying blib/man3/App::Packer::PAR.3
bash-2.01$ make test
make[1]: Entering directory `/home/users/imc/.cpan/build/PAR-0.75/myldr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/users/imc/.cpan/build/PAR-0.75/myldr'
PERL_DL_NONLAZY=1 /home/users/imc/perl5.8/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/0-signature.t t/1-basic.t
t/0-signature....ok
1/1 skipped: Next time around, consider install Module::Signature,
so you can verify the integrity of this distribution.
t/1-basic........ok
All tests successful, 1 subtest skipped.
Files=2, Tests=9, 3 wallclock secs ( 2.53 cusr + 0.31 csys = 2.84 CPU)
make[1]: Entering directory `/home/users/imc/.cpan/build/PAR-0.75/myldr'
perl -e1
make[1]: Leaving directory `/home/users/imc/.cpan/build/PAR-0.75/myldr'
bash-2.01$ make install
make[1]: Entering directory `/home/users/imc/.cpan/build/PAR-0.75/myldr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/users/imc/.cpan/build/PAR-0.75/myldr'
Installing /home/users/imc/perl5.8/man/man1/pp.1
Installing /home/users/imc/perl5.8/man/man1/parl.1
Installing /home/users/imc/perl5.8/man/man1/par.pl.1
Writing
/home/users/imc/perl5.8/lib/site_perl/5.8.1/sun4-solaris/auto/PAR/.packlist
Appending installation info to
/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris/perllocal.pod