Front page | perl.perl5.porters |
Postings from August 2001
[ID 20010829.006] ext modules installation error
Thread Next
From:
Keith Anderson
Date:
August 29, 2001 16:11
Subject:
[ID 20010829.006] ext modules installation error
Message ID:
v04210118b7b323542ca3@[63.114.138.100]
Howdy,
I've been banging my head on this for almost three days now. I have a
linux 2.4.5 Caldera (mostly, by this point) system. I went to upgrade
to Perl 5.6.1 (from 5.6.0) and I'm getting a VERY odd build error.
Configure is fairly spot on with its default guesses and make runs
all the way out to the ext directory, where it promptly dies trying
to build B:
---------------
Writing Makefile for B
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make[1]: *** [Makefile] Error 1
make[1]: Leaving directory `/usr/src/perl-5.6.1/ext/B'
make config failed, continuing anyway...
make[1]: Entering directory `/usr/src/perl-5.6.1/ext/B'
make[1]: *** No rule to make target `B/.pm', needed by `pm_to_blib'. Stop.
make[1]: Leaving directory `/usr/src/perl-5.6.1/ext/B'
make: *** [lib/auto/B/B.so] Error 2
---------------
Looking at the Makefile for B shows this:
TO_INST_PM = B/ \
B/.pm \
B/arness \
B/ata.pm \
B/ck.pm \
B/code.pm \
B/e.pm \
B/g.pm \
B/h.pm \
B/ise.pm \
B/kobj.pm \
B/lex.pm \
B/liblinks \
B/m \
B/mble \
B/mbler.pm \
B/rse.pm \
B/ssemble \
B/ssembler.pm \
B/ÿ¿
The module names are all mangled in the generated Makefile. If I run
'perl Makefile.PL' directly, I get the correct Makefile built and
everything makes just fine. I ran 'make minitest' - everything passed
EXCEPT:
op/defins............FAILED at test 6
op/readdir...........FAILED at test 2
I then ran the individual tests, and defins.t is dying on opendir(),
readdir(), closedir() - same story with readdir.t (obviously). I'm
baffled at this point. Those calls work fine in 5.6.0. I've double
checked my libraries and tried every magical incantation I know
('make realyclean', 'rm -r perl-5.6.1 && tar -zxf stable.tar.gz',
'make growling-noises')... I was unable to find anything remotely
helpful anywhere and only half of the mailing list archives are
searchable (so sorry if this is duplicated ;).
And, finally - the run from myconfig:
============================
[root@tipper perl-5.6.1]# ./myconfig
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.5, archname=i586-linux
uname='linux tipper.jollygreen.com 2.4.5 #3 wed may 30 11:17:49
pdt 2001 i586 unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.2 19991024 (release)', 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, usemymalloc=n, 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 -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.1.91.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'
========================================================
== GIANT Network Productions ==
== web hosting + web design + consulting ==
========================================================
++ 541 . 684 . 9798 http://www.jollygreen.com/ ++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Next
-
[ID 20010829.006] ext modules installation error
by Keith Anderson