develooper Front page | perl.perl5.porters | Postings from August 2009

Re: help wrt old perl versions @INC

Thread Previous | Thread Next
From:
Jerome Quelin
Date:
August 8, 2009 03:45
Subject:
Re: help wrt old perl versions @INC
Message ID:
20090808104446.GD4260@mongueurs.net
On 09/08/08 12:33 +0200, Jerome Quelin wrote:
> i have a local perl in my $home, i'll rebuild a 5.10.1-rc1 with the same
> prefix and with -Dinc_version_list to see if that works...

ok, here's the original perl5.10.0 that was installed in /home/jquelin/prog/padre/local

==== PASTE BEGIN ====
$ ./perl5.10.0 -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:                                                            
    osname=linux, osvers=2.6.29.1-desktop-4mnb, archname=x86_64-linux-thread-multi
    uname='linux merlin 2.6.29.1-desktop-4mnb #1 smp mon apr 20 17:02:53 edt 2009 x86_64 intel(r) core(tm)2 duo cpu e6750 @ 2.66ghz gnulinux '
    config_args='-Dprefix=/home/jquelin/prog/padre/local -DDEBUGGING -Dusethreads -Duse64bitall -Dusedevel -DDEBUG_LEAKING_SCALARS -DPERL_USE_SAFE_PUTENV'
    hint=recommended, useposix=true, d_sigaction=define                                                                                                   
    useithreads=define, usemultiplicity=define                                                                                                            
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef                                                                                  
    use64bitint=define, use64bitall=define, uselongdouble=undef                                                                                           
    usemymalloc=n, bincompat5005=undef                                                                                                                    
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -DDEBUG_LEAKING_SCALARS -DPERL_USE_SAFE_PUTENV -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -DDEBUG_LEAKING_SCALARS -DPERL_USE_SAFE_PUTENV -I/usr/include/gdbm'
    ccversion='', gccversion='4.3.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.9.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.9'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING DEBUG_LEAKING_SCALARS MULTIPLICITY
                        PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL
                        PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT
                        USE_ITHREADS USE_LARGE_FILES USE_PERLIO
                        USE_REENTRANT_API
  Built under linux
  Compiled at May  7 2009 14:12:48
  @INC:
    /home/jquelin/prog/padre/local/lib/perl5/5.10.0/x86_64-linux-thread-multi
    /home/jquelin/prog/padre/local/lib/perl5/5.10.0
    /home/jquelin/prog/padre/local/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
    /home/jquelin/prog/padre/local/lib/perl5/site_perl/5.10.0
    .
==== PASTE END ====


note that the following directory exists:
/home/jquelin/prog/padre/local/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/

now, installing perl 5.10.1-RC1:
$ tar zxvf perl-5.10.1-RC1.tar.gz
$ cd perl-5.10.1-RC1/
$ sh Configure -des -Dprefix=/home/jquelin/prog/padre/local -Duseithreads -Dinc_version_list="5.10.0"
$ make -j2
$ make install

and here's the resulting perl:
==== PASTE BEGIN ====
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
   
  Platform:
    osname=linux, osvers=2.6.29.1-desktop-4mnb, archname=x86_64-linux-thread-multi
    uname='linux localhost 2.6.29.1-desktop-4mnb #1 smp mon apr 20 17:02:53 edt 2009 x86_64 intel(r) core(tm)2 duo cpu e6750 @ 2.66ghz gnulinux '
    config_args='-des -Dprefix=/home/jquelin/prog/padre/local -Duseithreads -Dinc_version_list=5.10.0'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.1', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.10.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.10.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API
  Locally applied patches:
	RC1
  Built under linux
  Compiled at Aug  8 2009 12:32:24
  %ENV:
    PERL5LIB="/home/jquelin/lib/perl5"
  @INC:
    /home/jquelin/lib/perl5
    /home/jquelin/prog/padre/local/lib/perl5/5.10.1/x86_64-linux-thread-multi
    /home/jquelin/prog/padre/local/lib/perl5/5.10.1
    /home/jquelin/prog/padre/local/lib/perl5/site_perl/5.10.1/x86_64-linux-thread-multi
    /home/jquelin/prog/padre/local/lib/perl5/site_perl/5.10.1
    /home/jquelin/prog/padre/local/lib/perl5/site_perl/5.10.0
    /home/jquelin/prog/padre/local/lib/perl5/site_perl
    .
==== PASTE END ====


==> it did find /home/jquelin/prog/padre/local/lib/perl5/site_perl/5.10.0 but
not the arch-dependant
    /home/jquelin/prog/padre/local/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/


jérôme 
-- 
jquelin@gmail.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About