[rt-users] perl upgrade
Peter Jamriško
peter.jamrisko at advantel.cz
Wed May 26 11:32:02 EDT 2004
I think so:
[root at fserver root]# perl5.8.4 -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=linux, osvers=2.4.21-0.28mdkenterprise,
archname=i386-linux-thread-multi
uname='linux fserver.mydomain.tld 2.4.21-0.28mdkenterprise #1 smp
tue feb 24 15:03:16 est 2004 i686 unknown unknown gnulinux '
config_args='-des -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2
-Dprefix=/usr/local -Dvendorprefix=/usr -Dsiteprefix=/usr -Dman3ext=3pm
-Dcf_by=Mandrakesoft -Dmyhostname=localhost -Dperladmin=root at localhost
-Dd_dosuid -Ud_csh -Duseshrplib -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)',
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', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/local/lib/perl5/5.8.4/i386-linux-thread-multi/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at May 26 2004 14:20:43
@INC:
/usr/local/lib/perl5/5.8.4/i386-linux-thread-multi
/usr/local/lib/perl5/5.8.4
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
I just upgraded perl and then changed symlink /usr/bin/perl to point to
/usr/local/bin/perl5.8.4 instead of /usr/bin/perl5.8.0. That's all i
changed. Is this correct? Or shall i create some symlinks to ".so" files
stored now under /usr/local/lib/perl5/5.8.4/... instead of
/usr/lib/perl5/5.8.0?
So, how can i determine which module is and which is not binary module
(which one to recompile)?
Thanks.
Ruslan U. Zakirov wrote:
> Dave Cecchino wrote:
>
>> recompile mason.
>
> HTML::Mason - pure perl module.
>
> Peter, did you include old perl INC paths into new perl build?
>
> If so then IMHO your problem happens because of some binary
> incompatibility between perl versions.
> So you can
> 1) recompile 5.8.4 and don't include old perl module paths.
> 2) module-by-modlue rebuild binary modules which RT uses(DBI, DBD...)
>
>
> Best regards. Ruslan.
>
More information about the rt-users
mailing list