Re: compiling under x86_64

Stuart Kendrick <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Thomas,

Per your suggestion, recompiling perl with '-Dusershrplib' worked (meaning that 
a subsequent compile of net-snmp-5.5 completed without error).

My particular Configure line:

gnat% cd /usr/local/src/perl-5.10.1
gnat% ./Configure -de -Dprefix=/usr/local -Dusethreads -Duseshrplib
[...]
make
[...]
make test
[...]
make install
[...]
gnat> perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:

   Platform:
     osname=linux, osvers=2.6.18-164.6.1.el5, archname=x86_64-linux-thread-multi
     uname='linux gnat 2.6.18-164.6.1.el5 #1 smp tue nov 3 16:12:36 est 2009 x8
6_64 x86_64 x86_64 gnulinux '
     config_args='-de -Dprefix=/usr/local -Dscriptdir=/usr/local/bin -Dusethreads
  -Duseshrplib'
     hint=recommended, useposix=true, d_sigaction=define
     useithreads=define, usemultiplicity=define
     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
     use64bitint=define, use64bitall=define, uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fs
tack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-prot
ector -I/usr/local/include'
     ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-46)', gccosandvers='
'
     intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
     ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize
=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
     libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -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,
/usr/local/lib/perl5/5.10.1/x86_64-linux-thread-multi/CORE'
     cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protecto
r'


Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                         PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
                         USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                         USE_PERLIO USE_REENTRANT_API
   Built under linux
   Compiled at Dec 11 2009 09:56:53
   @INC:
     /usr/local/lib/perl5/5.10.1/x86_64-linux-thread-multi
     /usr/local/lib/perl5/5.10.1
     /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux-thread-multi
     /usr/local/lib/perl5/site_perl/5.10.1
     .
gnat>



Thank you for the suggestion,

--sk

Stuart Kendrick wrote:
> Hi Thomas,
[...]

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.