Thu Feb 11 04:50:30 2016: Request 111896 was acted upon. Transaction: Correspondence added by walter.gnadenber...@rbinternational.com Queue: PAR Subject: Re: [rt.cpan.org #111896] PAR Question Solaris 10 Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: audr...@audreyt.org, walter.gnadenber...@rbinternational.com Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=111896 >
Hello Roderich, Thanks, I tested it, The libs libperl.so and libdb-4.8.so are shared again. I did following. 1. Download /PAR-Packer-1.029 2. unzip + extract file 3. Generate MakeFile xsnoahd01:/home/misnh1/tmp/PAR-Packer-1.029>perl Makefile.PL Checking if your kit is complete... Looks good Prototype mismatch: sub main::prompt: none vs ($;$) at /opt/csw/share/perl/5.10.1/ExtUtils/MakeMaker.pm line 228 Warning (mostly harmless): No library found for -ldb-4.8 Generating a Unix-style Makefile Writing Makefile for myldr Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json 4. Edit myldr/Makefile orignal: boot_embedded_files.c: ./par $(PERLRUN) ./file2c.pl -c 30000 "./par" "/opt/csw/lib/libperl.so.5.10.1" > $@ New: boot_embedded_files.c: ./par $(PERLRUN) ./file2c.pl -c 30000 "./par" /opt/csw/lib/sparcv8/libperl.so /opt/csw/bdb48/lib/libdb-4.8.so > $@ 5. make ...... /opt/SUNWspro/bin/cc main.o -R /opt/csw/lib -m32 -xarch=sparc -L/opt/csw/lib -lperl -L/opt/csw/bdb48/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/lib -L/opt/csw/lib/perl/5.10.1/CORE -lperl -lsocket -lnsl -ldl -lm -lpthread -lc -lperl -o ./par true "/opt/csw/bin/perl" encode_append.pl Dynamic.in ./par Dynamic.pm "/opt/csw/bin/perl" ./file2c.pl -c 30000 "./par" /opt/csw/lib/sparcv8/libperl.so /opt/csw/bdb48/lib/libdb-4.8.so > boot_embedded_files.c /opt/SUNWspro/bin/cc -c -D_REENTRANT -xO3 -m32 -xarch=sparc -I/opt/csw/bdb48/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -I/opt/csw/lib/perl/5.10.1/CORE -DPARL_EXE=\"parl\" -xO3 -m32 -xarch=sparc boot.c "boot_embedded_files.c", line 252828: warning: newline not last character in file /opt/SUNWspro/bin/cc boot.o -R /opt/csw/lib -m32 -xarch=sparc -L/opt/csw/lib -lperl -L/opt/csw/bdb48/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/lib -L/opt/csw/lib/perl/5.10.1/CORE -lperl -lsocket -lnsl -ldl -lm -lpthread -lc -lperl -o ./boot true "/opt/csw/bin/perl" encode_append.pl Static.in ./boot Static.pm cp Static.pm ../blib/lib/PAR/StrippedPARL/Static.pm cp Dynamic.pm ../blib/lib/PAR/StrippedPARL/Dynamic.pm "/opt/csw/bin/perl" -Mblib=.. run_with_inc.pl ./par -q -B -Oparldyn cp parldyn ../blib/script/parldyn true ../blib/script/parldyn "/opt/csw/bin/perl" -Mblib=.. run_with_inc.pl ./boot -q -B -Oparl cp parl ../blib/script/parl true ../blib/script/parl Manifying 2 pod documents cp script/tkpp blib/script/tkpp "/opt/csw/bin/perl" "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tkpp cp script/pp blib/script/pp "/opt/csw/bin/perl" "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pp cp script/par.pl blib/script/par.pl "/opt/csw/bin/perl" "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/par.pl 6. Test perl -Mblib blib/script/pp -o filechecker.bin ../../filechecker/filechecker.pl :/home/misnh1/tmp/PAR-Packer-1.029>ldd filechecker.bin libperl.so => /opt/csw/lib/libperl.so libsocket.so.1 => /lib/libsocket.so.1 libnsl.so.1 => /lib/libnsl.so.1 libdl.so.1 => /lib/libdl.so.1 libm.so.2 => /lib/libm.so.2 libpthread.so.1 => /lib/libpthread.so.1 libc.so.1 => /lib/libc.so.1 libdb-4.8.so => /opt/csw/bdb48/lib//libdb-4.8.so libmp.so.2 => /lib/libmp.so.2 libmd.so.1 => /lib/libmd.so.1 libscf.so.1 => /lib/libscf.so.1 libresolv.so.2 => /lib/libresolv.so.2 librt.so.1 => /lib/librt.so.1 libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 libgen.so.1 => /lib/libgen.so.1 libaio.so.1 => /lib/libaio.so.1 /lib/libm/libm_hwcap1.so.2 /platform/sun4v/lib/libc_psr.so.1 /platform/sun4v/lib/libmd_psr.so.1 Freundliche Grüße / Kind regards, Walter GNADENBERGER Software Development & Testing Raiffeisen Bank International AG | Am Stadtpark 9, 1030 Vienna, Austria | Tel.: +43 1 71707-5633 | Fax: +43 1 71707-765633 | walter.gnadenber...@rbinternational.com | http://www.rbinternational.com Bitte denken Sie an die Umwelt, bevor Sie drucken. / Please consider the environment before printing. This message and any attachment ("the Message") are confidential. If you have received the Message in error, please notify the sender immediately and delete the Message from your system, any use of the Message is forbidden. Correspondence via e-mail is primarily for information purposes. RBI neither makes nor accepts legally binding statements via e-mail unless explicitly agreed otherwise. Information pursuant to § 14 Austrian Companies Code: Raiffeisen Bank International AG; Registered Office: Am Stadtpark 9, A-1030 Vienna; Company Register Number: FN 122119m at the Commercial Court of Vienna (Handelsgericht Wien). From: bug-...@rt.cpan.org To: audr...@audreyt.org, walter.gnadenber...@rbinternational.com, Date: 10.02.2016 11:27 Subject: [rt.cpan.org #111896] PAR Question Solaris 10 <URL: https://rt.cpan.org/Ticket/Display.html?id=111896 > On 2016-02-10 02:58:49, walter.gnadenber...@rbinternational.com wrote: > Yes I already compiled modules for myself. > Will be fine if you can give me some advice/instruction, especially at the > compiler/link options. Great! First the usual: unpack the PAR::Packer tarball, chdir into its top level directory, run "perl Makefile.pl". If you have previously built stuff there, remove myldr/boot_embedded_files.c. Edit myldr/Makefile: locate the stanza for boot_embedded_files.c boot_embedded_files.c: ./par $(PERLRUN) ./file2c.pl -c 30000 "./par" ...stuff... > $@ and replace ...stuff... with /opt/csw/lib/sparcv8/libperl.so /opt/csw/bdb48/lib/libdb-4.8.so Run "make". If you want to try it out before "make install" use "perl -Mblib blib/script/pp ..." instead of "pp ..." to pack. Cheers, Roderich