At 10:49 PM 05/20/02 +0100, Nicholas Clark wrote:
>He means run 'make perl' in the extension directory, rather than make
>It builds a new perl statically linked with the extension.

I'm feeling more clueless.

So, I built perl 5.7.3 once again (I forgot and used -Duseshrplib the first
time...)

Anyway, make perl && make test_static ends up with:

   All tests successful.

Argh.  I don't know if that's good news or bad news.

make && make test still fails with 5.7.3.

So what does all this mean?  Any ideas what to try next?  Edit my module's
BUGS file, say YMMV, and open a beer?


I'll post perl -V output below from both the working SuSE machine and the
non-working 5.7.3 I just installed.  Just in case.


One note:  With "make perl" I need to specify LD_RUN_PATH where with just
"make" it sets LD_RUN_PATH based on my LIBS parameter to Makefile.PL.  In
other words:

$ ~/perl/static/bin/perl5.7.3 Makefile.PL \
   CCFLAGS="-I$HOME/aspell/include" \
   LIBS="-L$HOME/aspell/lib -lpspell"

$ make

But for "make perl" I need

$ ~/perl/static/bin/perl5.7.3 Makefile.PL \
   CCFLAGS="-I$HOME/aspell/include" \
   LIBS="-L$HOME/aspell/lib -lpspell"

$ LD_RUN_PATH=$HOME/aspell/lib make



BTW -- I need to read Perl's INSTALL again, but if I want to rebuild perl
is there a shortcut for make install to skip the docs?

I've been using this:

make distclean
../Configure -des -Dprefix=/home/moseley/perl/ithread \
-Dusethreads -Doptimize='-g' -Duseshrplib -Dusedevel
make && make test
make install

(or just now)
../Configure -des -Dprefix=/home/moseley/perl/static \
-Doptimize='-g' -Dusedevel


Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.13, archname=i586-linux
    uname='linux suse 2.2.13 #1 mon nov 8 15:51:29 cet 1999 i586 unknown '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    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, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Here's my SuSE machine where the module works:

Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Apr  8 2000 15:59:50
  @INC:
    /usr/local/lib/perl5/5.6.0/i586-linux
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/i586-linux
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl/5.005/i586-linux
    /usr/local/lib/perl5/site_perl/5.005
    /usr/local/lib/perl5/site_perl
    .


Here's my Debian (with fresh install of 5.7.3) where it doesn't work when
PERL_DL_NONLAZY=1, but make perl && test_static does work.


Summary of my perl5 (revision 5.0 version 7 subversion 3 patch 16714)
configuration:
  Platform:
    osname=linux, osvers=2.4.17-k7t266, archname=i686-linux
    uname='linux bumby 2.4.17-k7t266 #1 wed mar 27 13:40:37 pst 2002 i686
unknown '
    config_args='-des -Dprefix=/home/moseley/perl/static -Doptimize=-g
-Dusedevel'
    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='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)',
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='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING USE_LARGE_FILES
  Locally applied patches:
        DEVEL16713
  Built under linux
  Compiled at May 20 2002 16:22:41
  @INC:
    /home/moseley/perl/static/lib/5.7.3/i686-linux
    /home/moseley/perl/static/lib/5.7.3
    /home/moseley/perl/static/lib/site_perl/5.7.3/i686-linux
    /home/moseley/perl/static/lib/site_perl/5.7.3
    /home/moseley/perl/static/lib/site_perl
    .

-- 
Bill Moseley
mailto:[EMAIL PROTECTED]

Reply via email to