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?

Any help would be appreciated.

cpan> install PAR
CPAN: Storable loaded ok
Going to read /home/ivor/.cpan/Metadata
  Database was generated on Wed, 06 Sep 2006 13:36:00 GMT
Running install for module PAR
Running make for S/SM/SMUELLER/PAR-0.952.tar.gz
CPAN: Digest::SHA loaded ok
CPAN: Module::Signature loaded ok
WARNING: This key is not certified with a trusted signature!
Primary key fingerprint: 2E66 557A B97C 19C7 91AF  8E20 328D A867 450F 89EC
Signature for /home/ivor/.cpan/sources/authors/id/S/SM/SMUELLER/CHECKSUMS ok
CPAN: Compress::Zlib loaded ok
Checksum for
/home/ivor/.cpan/sources/authors/id/S/SM/SMUELLER/PAR-0.952.tar.gz ok
Scanning cache /home/ivor/.cpan/build for sizes
PAR-0.952/
PAR-0.952/myldr/
PAR-0.952/myldr/win32.res
PAR-0.952/myldr/win32.obj
PAR-0.952/myldr/mktmpdir.c
PAR-0.952/myldr/main.c
PAR-0.952/myldr/env.c
PAR-0.952/myldr/file2c.pl
[...]
Removing previously used /home/ivor/.cpan/build/PAR-0.952
gpg: Signature made Tue 22 Aug 2006 15:13:13 BST using DSA key ID 4E758317
gpg: requesting key 4E758317 from hkp server pgp.mit.edu
gpg: no writable keyring found: eof
gpg: error reading `[stream]': general error
gpg: Can't check signature: public key not found
==> BAD/TAMPERED signature detected! <==

Signature invalid for distribution file. Please investigate.

Distribution id = S/SM/SMUELLER/PAR-0.952.tar.gz
    CPAN_USERID  SMUELLER (Steffen Mueller <[EMAIL PROTECTED]>)
    CALLED_FOR   PAR
    CHECKSUM_STATUS OK
    CONTAINSMODS App::Packer::PAR PAR PAR::Filter PAR::Filter::Bleach
PAR::Filter::Bytecode PAR::Filter::Obfuscate PAR::Filter::PatchContent
PAR::Filter::PodStrip PAR::Heavy PAR::Packer
    SIG_STATUS   OK
    UPLOAD_DATE  2006-08-22
    archived     tar
    build_dir    /home/ivor/.cpan/build/PAR-0.952
    incommandcolor 1
    localfile   
/home/ivor/.cpan/sources/authors/id/S/SM/SMUELLER/PAR-0.952.tar.gz
    unwrapped    YES

I'd recommend removing
/home/ivor/.cpan/sources/authors/id/S/SM/SMUELLER/PAR-0.952.tar.gz. Its
signature
is invalid. Maybe you have configured your 'urllist' with
a bad URL. Please check this array with 'o conf urllist', and
retry. For more information, try opening a subshell with
  look SMUELLER/PAR-0.952.tar.gz
and there run
  cpansign -v
  Did not pass the signature test.
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Failed during this command:
  SMUELLER/PAR-0.952.tar.gz                    : signature_verify NO


 cpan> look PAR
Running look for module PAR

Trying to open a subshell in the build directory...
Working directory is /home/ivor/.cpan/build/PAR-0.952
[EMAIL PROTECTED]:~/.cpan/build/PAR-0.952$ ls
AUTHORS    inc          MANIFEST       myldr   SIGNATURE
ChangeLog  lib          MANIFEST.SKIP  README  t
contrib    Makefile.PL  META.yml       script  TODO
[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  ...missing. (would need 0.62)
- PAR::Dist         ...missing. (would need 0.15)
- Getopt::ArgvFile  ...missing. (would need 1.07)
==> Auto-install the 3 mandatory module(s) from CPAN? [y]
[Digital signature support]
- Digest            ...loaded. (1.06)
- Module::Signature ...loaded. (0.54)
CPAN: File::HomeDir loaded ok
*** Dependencies will be installed the next time you type 'make'.
    (You may need to do that as the 'root' user.)
*** Module::AutoInstall configuration finished.
*** Installing dependencies...
*** Installing Module::ScanDeps...

[Autoinstalls for the 3 dependency modules]

*** Getopt::ArgvFile successfully installed.
*** Module::AutoInstall installation finished.
Couldn't change to directory
/home/ivor/.cpan/build/Getopt-ArgvFile-1.10/myldr: No such file or
directory at inc/Module/Install/Makefile.pm line 143
Prototype mismatch: sub main::prompt: none vs ($;$) at
/usr/share/perl/5.8/ExtUtils/MakeMaker.pm line 170
Writing Makefile for Getopt::ArgvFile
Writing Makefile for PAR
[EMAIL PROTECTED]:~/.cpan/build/PAR-0.952$ make
make: *** No targets specified and no makefile found.  Stop.
[EMAIL PROTECTED]:~/.cpan/build/PAR-0.952$ ls
AUTHORS    inc          MANIFEST       myldr   SIGNATURE
ChangeLog  lib          MANIFEST.SKIP  README  t
contrib    Makefile.PL  META.yml       script  TODO
[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$

Reply via email to