Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Fwd:

    7 answers - 1846 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I'm trying to compile net-snmp on AIX. I've followed the directions in
    INSTALL.aix but it hasn't helped. The errors I caught during configure
    follow:
    configure: WARNING: net/route.h: present but cannot be compiled
    configure: WARNING: net/route.h: check for missing prerequisite
    headers?
    configure: WARNING: net/route.h: see the Autoconf documentation
    configure: WARNING: net/route.h: section "Present But Cannot Be
    Compiled"
    configure: WARNING: net/route.h: proceeding with the preprocessor's
    result
    configure: WARNING: net/route.h: in the future, the compiler will take
    precedence
    configure: WARNING: ##
    ##
    configure: WARNING: ## Report this to
    net-snmp-coders (AT) lists (DOT) sourceforge.net ##
    configure: WARNING: ##
    ##
    configure: WARNING: netinet/ip6.h: present but cannot be compiled
    configure: WARNING: netinet/ip6.h: check for missing prerequisite
    headers?
    configure: WARNING: netinet/ip6.h: see the Autoconf documentation
    configure: WARNING: netinet/ip6.h: section "Present But Cannot Be
    Compiled"
    configure: WARNING: netinet/ip6.h: proceeding with the preprocessor's
    result
    configure: WARNING: netinet/ip6.h: in the future, the compiler will take
    precedence
    configure: WARNING: ##
    ##
    configure: WARNING: ## Report this to
    net-snmp-coders (AT) lists (DOT) sourceforge.net ##
    configure: WARNING: ##
    ##
    Take Surveys. Earn Cash. Influence the Future of IT
    Join SourceForge.net's Techsay panel and you'll get the chance to share your
    opinions on IT & business topics through brief surveys -- and earn cash
    Net-snmp-users mailing list
    Net-snmp-users (AT) lists (DOT) sourceforge.net
    Please see the following page to unsubscribe or change other options:
  • No.1 | | 495 bytes | |

    Brian Loe wrote:
    I'm trying to compile net-snmp on AIX. I've followed the directions in
    INSTALL.aix but it hasn't helped. The errors I caught during configure
    follow:

    What net-snmp version? What AIX version? What configure options?

    configure: WARNING: net/route.h: present but cannot be compiled
    []
    configure: WARNING: netinet/ip6.h: present but cannot be compiled

    What errors? These are just warnings that can be safely ignored.

    +Thomas
  • No.2 | | 2249 bytes | |

    9/19/06, Thomas Anders <thomas.anders (AT) blue-cable (DOT) dewrote:
    Brian Loe wrote:
    I'm trying to compile net-snmp on AIX. I've followed the directions in
    INSTALL.aix but it hasn't helped. The errors I caught during configure
    follow:

    What net-snmp version? What AIX version? What configure options?

    net-snmp 5.2; AIX 5.3; ./configure

    configure: WARNING: net/route.h: present but cannot be compiled
    []
    configure: WARNING: netinet/ip6.h: present but cannot be compiled

    What errors? These are just warnings that can be safely ignored.

    Make won't run, perhaps I should post those errors:

    making all in /
    Target "all" is up to date.
    making all in /
    making all in /
    Target "all" is up to date.
    making all in /
    Target "all" is up to date.
    Target "all" is up to date.
    making all in /
    making all in /
    Target "all" is up to date.
    Target "all" is up to date.
    making all in /
    test -d ./CVS && perl ./mib2c.extract.pl /local/mib2c
    /mib2c.conf.5.in mib2c.conf.5
    make: 1254-004 The error code from the last command is 1.
    make: 1254-005 Ignored error code 1 from last command.
    Target "all" is up to date.
    making all in /
    Target "all" is up to date.
    making all in /
    Target "all" is up to date.
    cc_r -c -I//include -g -Daix5 -I.
    -I/usr/local/include -D_ALL_SURCE -D_ANSI_C_SURCE -D_PSIX_SURCE
    -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT
    -q32 -D_LARGE_FILES -qlonglong -DVERSIN=\"5.2\"
    -DXS_VERSIN=\"5.2\" ""
    default_store.c
    /bin/sh: cc_r: not found.
    make: 1254-004 The error code from the last command is 127.

    Stop.
    make: 1254-004 The error code from the last command is 2.

    Stop.
    make: 1254-004 The error code from the last command is 2.

    Stop.

    Take Surveys. Earn Cash. Influence the Future of IT
    Join SourceForge.net's Techsay panel and you'll get the chance to share your
    opinions on IT & business topics through brief surveys -- and earn cash

    Net-snmp-users mailing list
    Net-snmp-users (AT) lists (DOT) sourceforge.net
    Please see the following page to unsubscribe or change other options:
  • No.3 | | 1185 bytes | |

    Brian Loe wrote:
    9/19/06, Thomas Anders <thomas.anders (AT) blue-cable (DOT) dewrote:
    >Brian Loe wrote:

    I'm trying to compile net-snmp on AIX. I've followed the directions in
    INSTALL.aix but it hasn't helped. The errors I caught during configure
    follow:
    >What net-snmp version? What AIX version? What configure options?


    net-snmp 5.2; AIX 5.3; ./configure

    Why net-snmp 5.2? I strongly suggest to use the latest release (5.3.1)
    instead.

    cc_r -c -I//include -g -Daix5 -I.
    -I/usr/local/include -D_ALL_SURCE -D_ANSI_C_SURCE -D_PSIX_SURCE
    -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT
    -q32 -D_LARGE_FILES -qlonglong -DVERSIN=\"5.2\"
    -DXS_VERSIN=\"5.2\" ""
    default_store.c
    /bin/sh: cc_r: not found.

    If you want to compile against the AIX-supplied perl, you need to have
    the IBM C compiler around (since cc_r has been used to compile this
    version of perl). If you don't either disable the perl modules or
    install your own perl first.

    FWIW, you'll get better configure warnings in 5.4.

    +Thomas
  • No.4 | | 1011 bytes | |

    If you want to compile against the AIX-supplied perl, you need to have
    the IBM C compiler around (since cc_r has been used to compile this
    version of perl). If you don't either disable the perl modules or
    install your own perl first.

    I don't think I follow you here, I've installed the perl 5.8.2-1, and
    the IBM C compiler should already be installed though I have installed
    gcc (I think it is, I'm a noob on all things) as well.

    FWIW, you'll get better configure warnings in 5.4.

    I'll download 5.3 and give it a tryassuming 5.4 isn't stable?

    Take Surveys. Earn Cash. Influence the Future of IT
    Join SourceForge.net's Techsay panel and you'll get the chance to share your
    opinions on IT & business topics through brief surveys -- and earn cash

    Net-snmp-users mailing list
    Net-snmp-users (AT) lists (DOT) sourceforge.net
    Please see the following page to unsubscribe or change other options:
  • No.5 | | 872 bytes | |

    Brian Loe wrote:
    >If you want to compile against the AIX-supplied perl, you need to have
    >the IBM C compiler around (since cc_r has been used to compile this
    >version of perl). If you don't either disable the perl modules or
    >install your own perl first.


    I don't think I follow you here, I've installed the perl 5.8.2-1, and
    the IBM C compiler should already be installed though I have installed
    gcc (I think it is, I'm a noob on all things) as well.

    Is "cc_r" in your PATH (it should be)? What does "perl -V" report?

    >FWIW, you'll get better configure warnings in 5.4.


    I'll download 5.3 and give it a tryassuming 5.4 isn't stable?

    5.3.1, please. 5.4.pre1 (a pre-release) will be released anytime soon.

    +Thomas
  • No.6 | | 3953 bytes | |

    9/19/06, Thomas Anders <thomas.anders (AT) blue-cable (DOT) dewrote:

    Is "cc_r" in your PATH (it should be)? What does "perl -V" report?

    Its not in my path, and "find /* | grep cc_r" doesn't find it anywhere?!!

    Here's the perl -V results:

    Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
    Platform:
    osname=aix, osvers=5.2.0.0, archname=aix-thread-multi
    uname='aix animals 2 5 000709cf4c00 '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef 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_r', ccflags ='-D_ALL_SURCE -D_ANSI_C_SURCE -D_PSIX_SURCE
    -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT
    -q32 -D_LARGE_FILES -qlonglong',
    optimize='',
    cppflags='-D_ALL_SURCE -D_ANSI_C_SURCE -D_PSIX_SURCE
    -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT
    -D_ALL_SURCE -D_ANSI_C_SURCE -D_PSIX_SURCE -qmaxmem=16384
    -qnoansialias -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT -q32
    -D_LARGE_FILES -qlonglong -D_ALL_SURCE -D_ANSI_C_SURCE -D_PSIX_SURCE
    -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT
    -q32 -D_LARGE_FILES -qlonglong -D_ALL_SURCE -D_ANSI_C_SURCE
    -D_PSIX_SURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLPEN
    -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -D_ALL_SURCE
    -D_ANSI_C_SURCE -D_PSIX_SURCE -qmaxmem=16384 -qnoansialias
    -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong
    -D_ALL_SURCE -D_ANSI_C_SURCE -D_PSIX_SURCE -qmaxmem=16384
    -qnoansialias -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT -q32
    -D_LARGE_FILES -qlonglong -D_ALL_SURCE -D_ANSI_C_SURCE -D_PSIX_SURCE
    -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLPEN -DNEED_PTHREAD_INIT
    -q32 -D_LARGE_FILES -qlonglong'
    ccversion='5.0.2.0', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, ='off_t',
    lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='ld', ldflags =' -brtl -b32 -bmaxdata:0x80000000'
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lpthreads -lc_r -lcrypt -lbsd
    -lPW
    perllibs=-lbind -lnsl -ldl -lld -lm -lpthreads -lc_r -lcrypt -lbsd
    -lPW
    libc=/lib/libc.a, so=a, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef,
    ccdlflags='

    '
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
    -bE:$(BASEEXT).exp -bnoentry -lpthreads -lc_r'

    Characteristics of this binary (from libperl):
    Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
    PERL_IMPLICIT_CNTEXT
    Locally applied patches:
    SUIDPERLI - fix PERLIDEBUG buffer overflow (CAN-2005-0156)
    SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
    Built under aix
    Compiled at Jan 26 2006 14:30:41
    @INC:
    /
    /usr/opt/perl5/lib/5.8.2
    /
    /
    /usr/opt/perl5/lib/site_perl
    .

    Take Surveys. Earn Cash. Influence the Future of IT
    Join SourceForge.net's Techsay panel and you'll get the chance to share your
    opinions on IT & business topics through brief surveys -- and earn cash

    Net-snmp-users mailing list
    Net-snmp-users (AT) lists (DOT) sourceforge.net
    Please see the following page to unsubscribe or change other options:
  • No.7 | | 637 bytes | |

    Brian Loe wrote:
    9/19/06, Thomas Anders <thomas.anders (AT) blue-cable (DOT) dewrote:

    >Is "cc_r" in your PATH (it should be)? What does "perl -V" report?


    Its not in my path, and "find /* | grep cc_r" doesn't find it anywhere?!!

    So it looks as if you *don't* have the IBM C compiler installed, but try
    to build net-snmp against a perl package that *has* been compiled with
    the IBM C compiler. This won't work, unfortunately. So either:

    a) buy/install/use the IBM C compiler
    b) install a gcc-compiled perl package instead
    c) configure

    +Thomas

Re: Fwd:


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 5 =
QUESTION ON "Networking"

EMSDN.COM