Philippe Schaffnit schrieb:
You got right on to it!

(BTW, during my failed attempt to understand the makefile under Irix
with the CPAN sources, I had noticed that it was also refering to the
wrong perllib, but it didn't prevent it from building fine, though...).

'perl -V' rightly points to a static library...

I hope this helps...

Well, kind of.
This brings me to the question why the die() was commented out. Various unanswered questions:

Should PAR work even if the libperl wasn't found? No idea.
Perhaps this is expected when the lib is static?
What exactly should happen in that case? Should I just hack the libperl-finding-heuristics to find the .a file as well?

As a test, could you try setting the libperl in the Makefile.PL explicitly to the name and path of your static perl library and see whether PAR builds? (After it was set to undef by the heuristics!)
If so, I suppose I can just hack the heuristics. Otherwise, I'm at a loss.

Steffen

PS: what I did (and got)

sunfire /WORK/philippe/Temp/trunk> ne myldr/Makefile.PL [1] 1061 sunfire /WORK/philippe/Temp/trunk> perl Makefile.PL *** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- File::Temp        ...loaded. (0.17 >= 0.05)
- Compress::Zlib    ...loaded. (1.42 >= 1.3)
- Archive::Zip      ...loaded. (1.18 >= 1)
- Module::ScanDeps  ...loaded. (0.69 >= 0.69)
- PAR::Dist         ...loaded. (0.21 >= 0.21)
- Getopt::ArgvFile  ...loaded. (1.10 >= 1.07)
[Digital signature support]
- Digest            ...loaded. (1.15)
- Module::Signature ...loaded. (0.55)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Warning: the following files are missing in your kit:
        META.yml
        SIGNATURE
Please inform the author.
ERROR from evaluation of /WORK/philippe/Temp/trunk/myldr/Makefile.PL:
Can't find libperl.so in (/WORK/philippe/Tools/Perl/bin
/WORK/philippe/Tools/Perl/lib/perl5/5.8.8/x86_64-linux/CORE
/USER/philippe/Linux/MICRESS/Libraries /WORK/philippe/Tools/Gcc/lib
/WORK/philippe/Tools/Gcc/lib64 /WORK/philippe/Tools/Gmp/lib
/WORK/philippe/Tools/Mpfr/lib /WORK/philippe/Tools/Perl/lib
/WORK/philippe/Tools/Subversion/lib /opt/intel/fc/9.0/lib
/opt/intel/cc/9.0/lib /usr/local/lib /usr/local/lib /lib /usr/lib) --
please contact the author! at ./Makefile.PL line 128.
sunfire /WORK/philippe/Temp/trunk> perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.5-7.97-smp, archname=x86_64-linux
    uname='linux sunfire 2.6.5-7.97-smp #1 smp fri jul 2 14:21:59 utc
2004 x86_64 x86_64 x86_64 gnulinux '
    config_args='-Dprefix=/WORK/philippe/Tools/Perl
-Dhtml1dir=/WORK/philippe//Tools/Perl/html
[EMAIL PROTECTED] -Dcc=gcc -m32 -d -e'
    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='gcc -m32', ccflags ='-fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.3.3 (SuSE Linux)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc -m32', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.3'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
  Built under linux
  Compiled at Mar 14 2006 11:59:05
  @INC:
    /WORK/philippe/Tools/Perl/lib/perl5/5.8.8/x86_64-linux
    /WORK/philippe/Tools/Perl/lib/perl5/5.8.8
    /WORK/philippe/Tools/Perl/lib/perl5/site_perl/5.8.8/x86_64-linux
    /WORK/philippe/Tools/Perl/lib/perl5/site_perl/5.8.8
    /WORK/philippe/Tools/Perl/lib/perl5/site_perl
    .
sunfire /WORK/philippe/Temp/trunk> find ../../Tools/Perl/ -name
libperl.a
../../Tools/Perl/lib/perl5/5.8.8/x86_64-linux/CORE/libperl.a
sunfire /WORK/philippe/Temp/trunk> find ../../Tools/Perl/ -name
libperl.so

Reply via email to