Front page | perl.perl5.porters |
Postings from January 2005
[perl #33688] PathTools fails "make install" under 5.6.1
From:
ajs @ itasoftware . com
Date:
January 5, 2005 16:49
Subject:
[perl #33688] PathTools fails "make install" under 5.6.1
Message ID:
rt-3.0.11-33688-105246.1.1355082285062@perl.org
# New Ticket Created by ajs@itasoftware.com
# Please include the string: [perl #33688]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=33688 >
This is a bug report for perl from ajs@itasoftware.com,
generated with the help of perlbug 1.33 running under perl v5.6.1.
-----------------------------------------------------------------
[Please enter your report here]
This is a report of two, interdependent bugs: 1) ExtUtils::MakeMaker
generates a Makefile that will fail when installing an XS version of
a module which is used during the installation 2) PathTools in the
current CPAN (3.01 and 3.01_03) runs into this
very problem. Specifics follow.
OS: RH7.3
Perl: 5.6.1 (Red Hat RPM perl-5.6.1-36.1.73)
uname: 2.4.26-4 i686 unknown
PathTools has been added to the dependency chain for "cpan Bundle::CPAN",
which would be fine except for the fact that it fails when executing
"make install" under 5.6.1 due to what appears to be an obscure bug in
ExtUtils::MakeMaker's generated Makefile. Specifically,
MOD_INSTALL's definition in the Makefile includes "-I$(INST_LIB)",
which causes "make install" to find the new version of "Cwd.pm"
without access to "Cwd.so", thus failing. The work-around is to
edit the generated Makefile by removing the "-I$(INST_LIB)" and
then perform the "make install", however, I'm sure that there is
a way to fix this preemptively from the Makefile.PL which should
be pursued.
A plea, however, to the maintainers of modules that lie in the
dependency chain for Bundle::CPAN: please test your modules with 5.6.x,
which many installations still use! We thank you in advance.
Section of output from "make --debug=b install" follows.
Must remake target `all'.
Successfully remade target file `all'.
File `pure_install' does not exist.
File `pure_perl_install' does not exist.
Target `pure_perl_install' is double-colon and has no prerequisites.
Must remake target `pure_perl_install'.
Can't locate loadable object for module Cwd in @INC (@INC contains: blib/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 54
Compilation failed in require at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 54.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 54.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [pure_perl_install] Error 255
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=high
---
Site configuration information for perl v5.6.1:
Configured by bhcompile at Mon Aug 18 16:07:35 EDT 2003.
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.21-1.1931.2.393.entsmp, archname=i386-linux
uname='linux bugs.devel.redhat.com 2.4.21-1.1931.2.393.entsmp #1 smp thu aug 14 14:47:21 edt 2003 i686 unknown '
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Uusethreads -Uuseithreads -Uuselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Dinc_version_list=5.6.0/i386-linux 5.6.0'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
optimize='-O2 -march=i386 -mcpu=i686',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3 2.96-113)', 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=4
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', 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'
Locally applied patches:
---
@INC for perl v5.6.1:
/usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl
.
---
Environment for perl v5.6.1:
HOME=/root
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
PERL_BADLANG (unset)
SHELL=/bin/bash
-
[perl #33688] PathTools fails "make install" under 5.6.1
by ajs @ itasoftware . com