Subject: | Build falure on Centos 5.6 |
[root@localhost Net-Libdnet-0.95]# make
gcc -c -I/include -I/usr/include -I/usr/local/include -fno-strict-aliasing -pipe -fstack-
protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-
frame-pointer -march=native -O2 -g -m32 -march=i386 -mtune=generic -fasynchronous-
unwind-tables -DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" -fPIC "-
I/opt/fredperl_5_14_0/lib/5.14.0/i386-linux-thread-multi/CORE" Libdnet.c
Libdnet.xs:37:21: error: dumbnet.h: No such file or directory
[root@localhost ~]# rpm -qa | grep dnet
libdnet-1.12-6.el5
libdnet-devel-1.12-6.el5
[root@localhost Net-Libdnet-0.95]# /opt/fredperl_5_14_0/bin/perl -V
Summary of my perl5 (revision 5 version 14 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.18-238.9.1.el5, archname=i386-linux-thread-multi
uname='linux localhost.localdomain 2.6.18-238.9.1.el5 #1 smp tue apr 12 18:10:56 edt
2011 i686 i686 i386 gnulinux '
config_args='-des -Doptimize=-fomit-frame-pointer -march=native -O2 -g -m32 -
march=i386 -mtune=generic -fasynchronous-unwind-tables -Dversion=5.14.0 -
Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hot Penguin
Consulting LLC -Dprefix=/opt/fredperl_5_14_0/ -Darchname=i386-linux-thread-multi -
Duseshrplib -Duselargefiles -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -
Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -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=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-fomit-frame-pointer -march=native -O2 -g -m32 -march=i386 -
mtune=generic -fasynchronous-unwind-tables',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-50)', 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='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-
rpath,/opt/fredperl_5_14_0/lib/5.14.0/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -fomit-frame-pointer -march=native -O2 -g -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib -fstack-
protector'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_LARGE_FILES USE_PERLIO
USE_PERL_ATOF
Built under linux
Compiled at May 16 2011 16:45:50
@INC:
/opt/fredperl_5_14_0/lib/site_perl/5.14.0/i386-linux-thread-multi
/opt/fredperl_5_14_0/lib/site_perl/5.14.0
/opt/fredperl_5_14_0/lib/5.14.0/i386-linux-thread-multi
/opt/fredperl_5_14_0/lib/5.14.0
.