Re: Perl 5.6
Joey Hess, in an immanent manifestation of deity, wrote:
>b) My perl has:
> Characteristics of this binary (from libperl):
> Compile-time options: USE_LARGE_FILES
> Built under linux
> Compiled at Oct 11 2000 13:20:29
> @INC:
> /usr/lib/perl5
> /usr/share/perl5
> /usr/local/lib/perl5
> /usr/local/share/perl5
> /usr/lib/perl5/5.005/i386-linux
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /usr/lib/perl5/5.005
> .
> The marked line is all that is needed to make perl 5.6 use
> binary modules built for perl 5.005. It works. It avoids a lot of pain.
> Darren's packages do not include that directory in INC though, so they
> cannot use binary modules built with perl 5.005 that drop files there.
It should be set up that way.
The changelog so far has:
* Fix t/op/filetest.t so that it works under fakeroot -
debian/patches/03_fix_fakeroot_op_filetest
* Make the patched target append each patch as it goes to the 'patched'
file.
* rm config.sh.static in the clean target
* Shorten the make targets for building the static Perl:
- Now, build target builds both the static Perl and the libperl with
extensions and such.
- Only Perl and suid Perl get built. We don't need to build the
extensions when we're about to blow them away.
- We also wait performing the tests until we have the shared Perl.
* Actually get the paths correct for Perl, using a colon separated
privlib and archlib.
This uncovered 2 documentation and 1 Configure bug in Perl.
* Make NDBM_File use libgdbm's ndbm emulation instead of libdb's since
DB_File can't handle null keys currently. -
debian/patches/04_NDBM_uses_libgdbm
The current version of Perl that's building right now has:
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.16, archname=i386-linux
uname='linux perv 2.2.16 #1 thu aug 3 05:50:30 pdt 2000 i586 unknown '
config_args='-de -D prefix=/usr -D archname=i386-linux -D startperl=#!/usr/bin/perl-5.6
-D archlib=/usr/lib/perl5/5.6/i386-linux:/usr/lib/perl5/5.005/i386-linux
-D privlib=/usr/lib/perl5/5.6:/usr/lib/perl5/5.005 -D sitelib=/usr/local/lib/site_perl
-D man1dir=/usr/share/man/man1 -D man1ext=1p -D man3dir=/usr/share/man/man3 -D man3ext=3pm
-D ccflags=-D_REENTRANT -DDEBIAN -DAPPLLIB_EXP="/usr/lib/perl5"
-D optimize=-O2 -D cccdlflags=-fPIC -D d_dosuid=define -U usesfio
-D d_csh=undef -D d_statblks=define -D i_db -D i_ndbm
-U installusrbinperl -D pager=/usr/bin/pager -D perladmin=perl@packages.debian.org'
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=2.95.2 20000220 (Debian GNU/Linux)
cppflags='-D_REENTRANT -DDEBIAN -DAPPLLIB_EXP="/usr/lib/perl5" -fno-strict-aliasing -I/usr/local/include'
ccflags ='-D_REENTRANT -DDEBIAN -DAPPLLIB_EXP="/usr/lib/perl5" -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 -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.3.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: USE_LARGE_FILES
Built under linux
Compiled at Oct 22 2000 14:00:13
@INC:
lib
/usr/lib/perl5/i386-linux
/usr/lib/perl5
/usr/lib/perl5/5.6/i386-linux
/usr/lib/perl5/5.005/i386-linux
/usr/lib/perl5/5.6
/usr/lib/perl5/5.005
/usr/local/lib/site_perl/i386-linux
/usr/local/lib/site_perl
/usr/local/lib/site_perl
.
Note that the lib is just from the test version of perl that I'm using
right there.
I'm thinking of putting site_perl before the other paths to resolve
several wishlist requests but I want to get this out first since
changing things around could have problems.
I'll be uploading this version later today. Right now, I've got to go
help someone move.
Darren
--
<torin@daft.com><http://www.daft.com/~torin/> <torin@debian.org><perl@slut.org>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-206-ELF-LIPZ
@ Make a little hot-tub in your soul. @
Reply to:
- References:
- Perl 5.6
- From: "Darren/Torin/Who Ever..." <torin@daft.com>
- Re: Perl 5.6
- From: Joey Hess <joeyh@debian.org>