Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 527 forks source link

fail upgrade from perl 5.0 to perl 5.8 #7700

Closed p5pRT closed 19 years ago

p5pRT commented 19 years ago

Migrated from rt.perl.org#32983 (status was 'resolved')

Searchable as RT32983$

p5pRT commented 19 years ago

From chenglim@commontown.com

Created by chenglim@commontown.com

I try many way to just upgrade to lastest stable version of perl\, because my company need Mail​::SpamAssassin to filter junk mail for our client.

I think is good to have "some where" I can find the installation help. As I browse for perl.com for few days\, I fail to find any useful and easy to understand information if "make test" just break.

The only links I can find is like this http​://www.nntp.perl.org/group/perl.daily-build.reports/7230

Error​:

t/op/lfs..................................FAILED at test 6 . . . u=3.53 s=1.17 cu=414.29 cs=26.15 scripts=826 tests=85499 make[2]​: *** [_test_tty] Error 1 make[2]​: Leaving directory `/home/user/chenglim/perl-5.8.5' make[1]​: *** [_test] Error 2 make[1]​: Leaving directory `/home/user/chenglim/perl-5.8.5' make​: *** [test] Error 2 [root@​lonald perl-5.8.5]# more INSTALL If you read this file _as_is_\, just ignore the funny characters you see. It is written in the POD format (see pod/perlpod.pod) which is specially designed to be readable as is.

Hope it is helpful. And thanks for help ^_^.

Perl Info ``` Flags: category=install severity=high Site configuration information for perl v5.8.5: Configured by ctown at Fri Dec 10 09:11:29 SGT 2004. Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=linux, osvers=2.2.14-6.1.1smp, archname=i686-linux uname='linux lonald.commontown.com 2.2.14-6.1.1smp #1 smp thu apr 13 19:55:55 edt 2000 i686 unknown ' config_args='-de' 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 ='-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2', cppflags='-pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='2.8.1', 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 -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lposix perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc -lposix libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.1.3' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: @INC for perl v5.8.5: lib /usr/local/lib/perl5/5.8.5/i686-linux /usr/local/lib/perl5/5.8.5 /usr/local/lib/perl5/site_perl/5.8.5/i686-linux /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl . Environment for perl v5.8.5: HOME=/root LANG=en_US LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/mysql/bin:/usr/local/mysql/include:/bin:/home/user/ctown/bin PERL_BADLANG (unset) SHELL=/bin/bash ```
p5pRT commented 19 years ago

From @schwern

On Fri\, Dec 10\, 2004 at 01​:49​:56AM -0000\, chenglim @​ commontown. com wrote​:

Error​:

t/op/lfs..................................FAILED at test 6

This is the test for Large File Support\, files over 2 gigs in size. Test #6 is attempting to do a tell() on a 4.5 gig sparse file and failed. Other tests further down could also have failed.

If you don't plan on using large files I wouldn't worry about it and just go ahead and install that Perl.

The reason it failed is because you're using a rather old version of Linux (2.2.14) and a rather old compiler (gcc 2.8.1). I would recommend upgrading if for no other reason than that 2.2.14 has security holes. And I see you're using SMP\, if you actually are running a multiprocessor machine you should see a nice performance boost with a newer kernel.

Summary of my perl5 (revision 5 version 8 subversion 5) configuration​: Platform​: osname=linux\, osvers=2.2.14-6.1.1smp\, archname=i686-linux uname='linux lonald.commontown.com 2.2.14-6.1.1smp #1 smp thu apr 13 19​:55​:55 edt 2000 i686 unknown ' config_args='-de' 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 ='-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm'\, optimize='-O2'\, cppflags='-pipe -I/usr/local/include -I/usr/include/gdbm' ccversion=''\, gccversion='2.8.1'\, 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

-- Michael G Schwern schwern@​pobox.com http​://www.pobox.com/~schwern/ What about MY need to be generalized and easily dismissed?   http​://www.goats.com/archive/000221.html

p5pRT commented 19 years ago

The RT System itself - Status changed from 'new' to 'open'

p5pRT commented 19 years ago

From @tux

On Fri 10 Dec 2004 02​:49\, "chenglim@​commontown.com (via RT)" \perlbug\-followup@​perl\.org wrote​:

I try many way to just upgrade to lastest stable version of perl\, because my company need Mail​::SpamAssassin to filter junk mail for our client.

I think is good to have "some where" I can find the installation help. As I

installation help is in "INSTALL"\, and additions to the local OS may be found in README and README.os (README.hpux for HP-UX)

browse for perl.com for few days\, I fail to find any useful and easy to understand information if "make test" just break.

The only links I can find is like this http​://www.nntp.perl.org/group/perl.daily-build.reports/7230

These are nightly test runs that are to protect us perl5 maintainers from screwing up. It is yet another attempt to raise the bar for failures to pass without us noticing\, and it realy helps. These smoke tests run on a large number of machines on a daily basis and cover OS's ranging from Linux to VMS and from AIX to HP-UX and Solaris

If your system is `sane' and out smoke reports are all 'O' (all tests OK​: pass)\, we expect the perl core to build and install clean out of the box. If you run into test failures\, the perl5 porters is probably the right place to come to

Error​:

t/op/lfs..................................FAILED at test 6

If that is the only failure\, could you please send us the output of

# ./perl -Ilib t/op/lfs.t

The tests at hand test large file support​: # NOTE​: this file tests how large files (>2GB) work with perlio (stdio/sfio).

If you happen to be working on a file system (DFS\, AFS\, NFS) that does not support large files\, but does not propagate that to the user\, tests might fail

--8\<--- fail unless seek(BIG\, 4_500_000_000\, $SEEK_SET); print "ok 5\n";

offset('tell(BIG)'\, 4_500_000_000); print "ok 6\n";

fail unless seek(BIG\, 1\, $SEEK_CUR); print "ok 7\n"; -->8---

a5​:/pro/3gl/CPAN/perl-current 103 > ./perl -Ilib !$ ./perl -Ilib t/op/lfs.t # checking whether we have sparse files... # s1 = 1073741835 116155 33206 1 203 200 0 1000003 1102676140 1102676140 1102676140 8192 8 # s2 = 1073741835 116157 33206 1 203 200 0 2000003 1102676140 1102676140 1102676140 8192 8 # we seem to have sparse files... # 1073741835 116155 33206 1 203 200 0 5000000003 1102676140 1102676140 1102676140 8192 8 1..17 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 a5​:/pro/3gl/CPAN/perl-current 104 > di . Filesystem Mount Megs Used Avail %used fs Type /dev/vg00/pro /pro 18432.0 16740.0 1668.0 91% vxfs a5​:/pro/3gl/CPAN/perl-current 105 >

-- H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/) using perl-5.6.1\, 5.8.5\, & 5.9.x\, and 809 on HP-UX 10.20 & 11.00\, 11i\,   AIX 4.3\, AIX 5.2\, SuSE 9.1\, and Win2k. http​://www.cmve.net/~merijn/ http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org send smoke reports to​: smokers-reports@​perl.org\, QA​: http​://qa.perl.org

p5pRT commented 19 years ago

From @doughera88

On Thu\, 10 Dec 2004\, Chenglim @​ Commontown . Com wrote​:

I think is good to have "some where" I can find the installation help. As I browse for perl.com for few days\, I fail to find any useful and easy to understand information if "make test" just break.

The general advice is in the INSTALL file\, in the section

  =head2 What if make test doesn't work?

Any suggestions to enhance that section or to make it easier to find would be welcome.

--   Andy Dougherty doughera@​lafayette.edu

p5pRT commented 19 years ago

From @richardfoley

Try looking in the INSTALL and README files for the string 'make test'\, in the source distribution you are using\, you will find there are many hints and suggestions in there.

You could also try the file t/README.

Ciao Richard Foley


Ciao - Shorter than Aufwiedersehen

http​://www.oreilly.com/catalog/perldebugpr/index.html

On Friday 10 December 2004 02​:49\, perlbug-followup@​perl.org wrote​:

# New Ticket Created by chenglim@​commontown.com # Please include the string​: [perl #32983] # in the subject line of all future correspondence about this issue. # \<URL​: http​://rt.perl.org​:80/rt3/Ticket/Display.html?id=32983 >

This is a bug report for perl from chenglim@​commontown.com\, generated with the help of perlbug 1.35 running under perl v5.8.5.

----------------------------------------------------------------- [Please enter your report here]

I try many way to just upgrade to lastest stable version of perl\, because my company need Mail​::SpamAssassin to filter junk mail for our client.

I think is good to have "some where" I can find the installation help. As I browse for perl.com for few days\, I fail to find any useful and easy to understand information if "make test" just break.

The only links I can find is like this http​://www.nntp.perl.org/group/perl.daily-build.reports/7230

Error​:

t/op/lfs..................................FAILED at test 6 . . . u=3.53 s=1.17 cu=414.29 cs=26.15 scripts=826 tests=85499 make[2]​: *** [_test_tty] Error 1 make[2]​: Leaving directory `/home/user/chenglim/perl-5.8.5' make[1]​: *** [_test] Error 2 make[1]​: Leaving directory `/home/user/chenglim/perl-5.8.5' make​: *** [test] Error 2 [root@​lonald perl-5.8.5]# more INSTALL If you read this file _as_is_\, just ignore the funny characters you see. It is written in the POD format (see pod/perlpod.pod) which is specially designed to be readable as is.

Hope it is helpful. And thanks for help ^_^.

[Please do not change anything below this line] ----------------------------------------------------------------- --- Flags​: category=install severity=high --- Site configuration information for perl v5.8.5​:

Configured by ctown at Fri Dec 10 09​:11​:29 SGT 2004.

Summary of my perl5 (revision 5 version 8 subversion 5) configuration​: Platform​: osname=linux\, osvers=2.2.14-6.1.1smp\, archname=i686-linux uname='linux lonald.commontown.com 2.2.14-6.1.1smp #1 smp thu apr 13 19​:55​:55 edt 2000 i686 unknown ' config_args='-de' 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 ='-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm'\, optimize='-O2'\, cppflags='-pipe -I/usr/local/include -I/usr/include/gdbm' ccversion=''\, gccversion='2.8.1'\, 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 -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lposix perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc -lposix libc=/lib/libc-2.1.3.so\, so=so\, useshrplib=false\, libperl=libperl.a gnulibc_version='2.1.3' Dynamic Linking​: dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags='-Wl\,-E' cccdlflags='-fpic'\, lddlflags='-shared -L/usr/local/lib'

Locally applied patches​:

--- @​INC for perl v5.8.5​: lib /usr/local/lib/perl5/5.8.5/i686-linux /usr/local/lib/perl5/5.8.5 /usr/local/lib/perl5/site_perl/5.8.5/i686-linux /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .

--- Environment for perl v5.8.5​: HOME=/root LANG=en_US LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset)

PATH=/usr/bin​:/bin​:/usr/sbin​:/sbin​:/usr/X11R6/bin​:/usr/local/mysql/bin​:/usr /local/mysql/include​:/bin​:/home/user/ctown/bin PERL_BADLANG (unset) SHELL=/bin/bash

p5pRT commented 19 years ago

From chenglim@commontown.com

Hi guys\,

Thanks for the help. I upgrade the system gcc library and the kernel. Then it works fine with me now.

Filesystem of DFS\, AFS\, NFS? are they the third field of `cat /etc/fstab` ? btw my company use "ext2" or "etx3" only.

Again\, thanks guy.

regards\, Cheng Lim\, Teo System Engineer


CommonTown Pte Ltd 627A Aljunied Road #09-02 BizTech Centre Singapore 389842 MAIN 65 6848-8900 FAX 65 6748-2782 DID 65 6848-8905 Mobile 96 9836-6750 WEB www.commontown.com EMAIL chenglim@​commontown.com


-----Original Message----- From​: H. Merijn Brand via RT [mailto​:perlbug-followup@​perl.org] Sent​: Friday\, December 10\, 2004 7​:03 PM To​: chenglim@​commontown.com Subject​: Re​: [perl #32983] fail upgrade from perl 5.0 to perl 5.8

On Fri 10 Dec 2004 02​:49\, "chenglim@​commontown.com (via RT)" \perlbug\-followup@&#8203;perl\.org wrote​:

I try many way to just upgrade to lastest stable version of perl\, because my company need Mail​::SpamAssassin to filter junk mail for our client.

I think is good to have "some where" I can find the installation help. As I

installation help is in "INSTALL"\, and additions to the local OS may be found in README and README.os (README.hpux for HP-UX)

browse for perl.com for few days\, I fail to find any useful and easy to understand information if "make test" just break.

The only links I can find is like this http​://www.nntp.perl.org/group/perl.daily-build.reports/7230

These are nightly test runs that are to protect us perl5 maintainers from screwing up. It is yet another attempt to raise the bar for failures to pass without us noticing\, and it realy helps. These smoke tests run on a large number of machines on a daily basis and cover OS's ranging from Linux to VMS and from AIX to HP-UX and Solaris

If your system is `sane' and out smoke reports are all 'O' (all tests OK​: pass)\, we expect the perl core to build and install clean out of the box. If you run into test failures\, the perl5 porters is probably the right place to come to

Error​:

t/op/lfs..................................FAILED at test 6

If that is the only failure\, could you please send us the output of

# ./perl -Ilib t/op/lfs.t

The tests at hand test large file support​: # NOTE​: this file tests how large files (>2GB) work with perlio (stdio/sfio).

If you happen to be working on a file system (DFS\, AFS\, NFS) that does not support large files\, but does not propagate that to the user\, tests might fail

--8\<--- fail unless seek(BIG\, 4_500_000_000\, $SEEK_SET); print "ok 5\n";

offset('tell(BIG)'\, 4_500_000_000); print "ok 6\n";

fail unless seek(BIG\, 1\, $SEEK_CUR); print "ok 7\n"; -->8---

a5​:/pro/3gl/CPAN/perl-current 103 > ./perl -Ilib !$ ./perl -Ilib t/op/lfs.t # checking whether we have sparse files... # s1 = 1073741835 116155 33206 1 203 200 0 1000003 1102676140 1102676140 1102676140 8192 8 # s2 = 1073741835 116157 33206 1 203 200 0 2000003 1102676140 1102676140 1102676140 8192 8 # we seem to have sparse files... # 1073741835 116155 33206 1 203 200 0 5000000003 1102676140 1102676140 1102676140 8192 8 1..17 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 a5​:/pro/3gl/CPAN/perl-current 104 > di . Filesystem Mount Megs Used Avail %used fs Type /dev/vg00/pro /pro 18432.0 16740.0 1668.0 91% vxfs a5​:/pro/3gl/CPAN/perl-current 105 >

-- H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/) using perl-5.6.1\, 5.8.5\, & 5.9.x\, and 809 on HP-UX 10.20 & 11.00\, 11i\,   AIX 4.3\, AIX 5.2\, SuSE 9.1\, and Win2k. http​://www.cmve.net/~merijn/ http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org send smoke reports to​: smokers-reports@​perl.org\, QA​: http​://qa.perl.org

p5pRT commented 19 years ago

From @tux

On Mon 13 Dec 2004 02​:06\, "chenglim" \chenglim@&#8203;commontown\.com wrote​:

Hi guys\,

Thanks for the help. I upgrade the system gcc library and the kernel. Then it works fine with me now.

Filesystem of DFS\, AFS\, NFS? are they the third field of `cat /etc/ fstab` ? btw my company use "ext2" or "etx3" only.

Again\, thanks guy.

p5pRT commented 19 years ago

@tux - Status changed from 'open' to 'resolved'