Hi,
IvorW schrieb:
This is not something I've needed to do for some time, but I find it's
broken :(.
In summary:
* Signature is invalid.
* AutoInstall does not return success, no Makefile gets produced
* make fails to link against perl
OK, some of this is not PAR's fault; could be Module::Signature and
Module::AutoInstall playing up. However, I'd like to be able to complete
this installation, and I don't know how to continue to fix the linking
problem. Am I missing a Debian package?
Point two is definetly AutoInstall acting up. An upgrade to
Module::Install 0.64 will fix this. I will absolutely do that in the
next PAR release but I didn't feel it was necessary to do a release just
because of that. (In particular, I'm kind of busy and didn't want to go
through the release pain.)
As for the signature:
[EMAIL PROTECTED]:~/.cpan/build/PAR-0.952$ cpansign -v
Executing gpg --verify --batch --no-tty
--keyserver=hkp://pgp.mit.edu:11371
--keyserver-options=auto-key-retrieve SIGNATURE
gpg: Signatur am Di 22 Aug 2006 16:13:13 CEST mit DSA Schlüssel, ID
4E758317, erfolgt
gpg: Korrekte Unterschrift von 'Steffen Müller <[EMAIL PROTECTED]>'
==> Signature verified OK! <==
But OTOH, this is the same machine the distro was signed on.
[EMAIL PROTECTED]:~/.cpan/build/PAR-0.952$ perl Makefile.PL
*** Module::AutoInstall version 1.02
*** Checking for Perl dependencies...
[Core Features]
- File::Temp ...loaded. (0.16 >= 0.05)
- Compress::Zlib ...loaded. (1.41 >= 1.3)
- Archive::Zip ...loaded. (1.16 >= 1)
- Module::ScanDeps ...loaded. (0.63 >= 0.62)
- PAR::Dist ...loaded. (0.19 >= 0.15)
- Getopt::ArgvFile ...loaded. (1.10 >= 1.07)
[Digital signature support]
- Digest ...loaded. (1.06)
- Module::Signature ...loaded. (0.54)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for the par program
Writing Makefile for PAR
[EMAIL PROTECTED]:~/.cpan/build/PAR-0.952$ make
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
make[1]: Entering directory `/home/ivor/.cpan/build/PAR-0.952/myldr'
/usr/bin/perl sha1.c.PL sha1.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE sha1.c
/usr/bin/perl ./file2c.pl /usr/lib/libperl.so.5.8.4 my_perl.c load_me_0
1 30000
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE main.c
/usr/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 1
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE my_par_pl.c
cc main.o my_par_pl.o -s -Wl,-E -L/usr/local/lib
/usr/lib/perl/5.8.4/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt --output
./par
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [par] Error 1
make[1]: Leaving directory `/home/ivor/.cpan/build/PAR-0.952/myldr'
make: *** [subdirs] Error 2
[EMAIL PROTECTED]:~/.cpan/build/PAR-0.952$
Do you need to install the libperl-dev package, i.e. the perl headers
for this? I might be totally off, though. (But I don't think I am.)
Steffen