Monday 10 December 2007 16:46:27 tarihinde Nicholas Clark şunları yazmıştı:
> On Mon, Dec 10, 2007 at 03:09:13PM +0200, Ismail Dnmez wrote:
> > Hi all,
> >
> > Linux 2.6 system, glibc 2.7, gcc 4.3.0 trunk, I get
> >
> > 1 Embed Failure:
> >
> > ../lib/ExtUtils/t/Embed........................................../tmp/ccb
> >l8h9W.o: In function `main':
> > embed_test.c:(.text+0x2f): undefined reference to `Perl_sys_init3'
> > embed_test.c:(.text+0x14a): undefined reference to `Perl_sys_term'
> > collect2: ld returned 1 exit status
> >
> > 3 POD failures:
> >
> > ../lib/Pod/t/htmlescp............................................
> > # Failed test 'html escape'
> > # at ../lib/Pod/t/pod2html-lib.pl line 40.
> > ../lib/Pod/t/htmlescp............................................NOK 1/1#
> > Looks like you failed 1 test of 1.
> > ../lib/Pod/t/htmlescp............................................dubious
> > Test returned status 1 (wstat 256, 0x100)
> > DIED. FAILED test 1
> > Failed 1/1 tests, 0.00% okay
> > ../lib/Pod/t/htmllink............................................
> > # Failed test 'html links'
> > # at ../lib/Pod/t/pod2html-lib.pl line 40.
> > ../lib/Pod/t/htmllink............................................NOK 1/1#
> > Looks like you failed 1 test of 1.
> > ../lib/Pod/t/htmllink............................................dubious
> > Test returned status 1 (wstat 256, 0x100)
> > DIED. FAILED test 1
> > Failed 1/1 tests, 0.00% okay
> > ../lib/Pod/t/htmlview............................................
> > # Failed test 'html rendering'
> > # at ../lib/Pod/t/pod2html-lib.pl line 40.
> > ../lib/Pod/t/htmlview............................................NOK 1/1#
> > Looks like you failed 1 test of 1.
> > ../lib/Pod/t/htmlview............................................dubious
> > Test returned status 1 (wstat 256, 0x100)
> > DIED. FAILED test 1
> > Failed 1/1 tests, 0.00% okay
> >
> > Any help/ideas appreciated.
>
> Please could you send the output from running ./perl -Ilib -V
> in your build directory. There may be clues in how your build of perl was
> configured.
Here is the relevant output (thanks for the -I hint!) :
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.24-rc4, archname=i686-linux-thread-multi
uname='linux ninjamobile 2.6.24-rc4 #6 smp sat dec 8 17:32:43 eet 2007
i686 genuine Intel(r) cpu t2300 @ 1.66ghz gnulinux '
config_args='-des -Darchname=i686-linux -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Ulocincpth= -Duselargefiles -Dd_dosuid -Dusethreads -Duseithreads -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dlibperl=libperl.so.1.5.8 -Duseshrplib -Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0
5.8.0/i686-linux 5.8.2 5.8.2/i686-linux 5.8.4
5.8.4/i686-linux -Dcf_by=Pardus -Ud_csh -Di_ndbm -Di_gdbm -Di_db -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto'
hint=recommended, useposix=true, d_sigaction=define
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='cc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe'
ccversion='', gccversion='4.3.0 20071210 [trunk revision 130738]',
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 -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.1.5.8
gnulibc_version='2.7'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.10.0/i686-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Locally applied patches:
RC2
Built under linux
Compiled at Dec 10 2007 14:13:19
@INC:
lib
/usr/lib/perl5/5.10.0/i686-linux-thread-multi
/usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.10.0/i686-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0
/usr/lib/perl5/vendor_perl
.
--
Never learn by your mistakes, if you do you may never dare to try again.