Re: net-snmp problem when i make

高川 <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Many thanks Dave!! And i want to know which part of the net-snmp need perl 
module.
This is the reply for perl -V:
# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=hpux, osvers=11.22, archname=IA64.ARCHREV_0-thread-multi-LP64
    uname='hp-ux bigsur03 b.11.22 u ia64 1800516905 unlimited-user license '
    config_args='-ders -Dcc=cc -Accflags=-DNO_HASH_SEED -Dusethreads -Duseithreads 
 -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Duse64bitall -Dd_attribut=undef 
 -Aprepend:libswanted=cl  -Dvendorprefix=/opt/perl_64 -Doptimize=-fast 
+DSitanium2 
+Ofltacc=strict -Accflags=+Z -Duselargefiles -Dinc_version_list=5.8.2/$archname 
5.8.2 5.8.1/$archname 5.8.1 5.8.0/$archname 
5.8.0 -Duseshrplib -Dprefix=/opt/perl_64 -Dcf_by=ActiveState [email protected]'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef 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_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings 
+DD64 -DNO_HASH_SEED +Z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
    optimize='-fast +DSitanium2 +Ofltacc=strict',
    cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT 
 -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    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='/usr/bin/ld', ldflags =' -L/usr/lib/hpux64'
    libpth=/usr/lib/hpux64 /lib /usr/lib /usr/ccs/lib /usr/local/lib
    libs=-lcl -lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
    perllibs=-lcl -lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
    libc=/usr/lib/hpux64/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, 
ccdlflags='-Wl,-E -Wl,-B,deferred '
    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/hpux64'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT 
USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        ActivePerl Build 809
        22218 Remove the caveat about detached threads crashing on Windows
        22201 Avoid threads+win32 crash by freeing Perl interpreter slightly 
later
        22169 Display 'out of memeory' errors using low-level I/O
        22159 Upgrade to Time::Hires 1.55
        22120 Make 'Configure -Dcf_by=...' work
        22051 Upgrade to Time::HiRes 1.54
        21540 Fix backward-compatibility issues in if.pm
  Built under hpux
  Compiled at Jan 16 2006 15:48:41
  @INC:
    /opt/perl_64/lib/5.8.3/IA64.ARCHREV_0-thread-multi-LP64
    /opt/perl_64/lib/5.8.3
    /opt/perl_64/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi-LP64
    /opt/perl_64/lib/site_perl/5.8.3
    /opt/perl_64/lib/site_perl
    /opt/perl_64/lib/vendor_perl/5.8.3/IA64.ARCHREV_0-thread-multi-LP64
    /opt/perl_64/lib/vendor_perl/5.8.3
    /opt/perl_64/lib/vendor_perl
    .


Is the perl 5.8.3 support the perl module of the net-snmp 5.5.1.
Thanks.

--------------------------------------------------
From: "Dave Shield" <[email protected]>
Sent: Thursday, April 21, 2011 3:31 PM
To: "高川" <[email protected]>
Cc: <[email protected]>
Subject: Re: net-snmp problem when i make

> 2010/4/21 高川 <[email protected]>:
>> I change the version to 5.5.1 and i still got the problem,
>> there is the log
>
> OK - that's useful.
> The log shows that building the main applications (snmpd,
> snmptrapd, and the command line tools) is working.
>
> The problem only arises when compiling the perl modules.
> The simplest way to avoid this error would be to omit these
> modules altogether:
>
>    ./configure --without-perl-modules
>
>
> If you do want to include the perl modules, then you probably
> need to ensure that you compile the suite using the same
> version of the compiler that was used to build perl.
> That's the best way to ensure that the NetSNMP modules
> are compatible with perl's dynamic loader.
>
>   You can check which compiler was used by running  'perl -V'
>
> Dave
> 

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
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.