develooper Front page | perl.perl5.porters | Postings from August 2001

[ID 20010829.006] ext modules installation error

Thread Next
Keith Anderson
August 29, 2001 16:11
[ID 20010829.006] ext modules installation error
Message ID:

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.  <==
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/] Error 2

Looking at the Makefile for B shows this:

        B/.pm \
        B/arness \
        B/ \
        B/ \
        B/ \
        B/ \
        B/ \
        B/ \
        B/ \
        B/ \
        B/ \
        B/liblinks \
        B/m \
        B/mble \
        B/ \
        B/ \
        B/ssemble \
        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 

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:
    osname=linux, osvers=2.4.5, archname=i586-linux
    uname='linux 2.4.5 #3 wed may 30 11:17:49 
pdt 2001 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include 
    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/, 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 ++

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About