ts-7000
[Top] [All Lists]

[ts-7000] Re: problem ragarding snmp install

To:
Subject: [ts-7000] Re: problem ragarding snmp install
From: "wawan_wiratno" <>
Date: Tue, 31 May 2011 07:09:08 -0000
--- In  "wawan_wiratno" <> wrote:
>
> 
> --- In  "mohit.khanna" <mohit.khanna@> wrote:
> >
> > I had a real tough time installing snmp on my TS-7250 board..
> > 
> > I used the net-snmp-5.4.2.1from http://www.net-snmp.org/download.html,
> > Downloaded...and built the binaries....
> > 
> > I think building is pretty straight forward if you configure it right....in 
> > case come libraries are missing, u can get them from the ARM CD which comes 
> > with the board.
> > 
> > This is how I configured it..
> > 
> > export CXX=arm-unknown-linux-gnu-g++
> > 
> > export ac_cv_func_malloc_0_nonnull=yes;
> > 
> > ./configure --disable-snmpv2c --disable-des --disable-privacy --disable-md5 
> > --without-openssl --disable-manuals --disable-shared --disable-mib-loading 
> > --disable-embedded-perl --without-perl-modules --with-cflags=-s -static -O2 
> > -Dlinux --with-cc=arm-unknown-linux-gnu-gcc 
> > --with-ranlib=arm-unknown-linux-gnu-ranlib 
> > --with-ar=arm-unknown-linux-gnu-ar --with-endianness=big --with-defaults 
> > --build=i386-linux --host=arm-unknown-linux-gnu 
> > --with-install-prefix=/home/freedm/Desktop/Freedm/net-snmp-5_arm/snmp_install_dir
> >  
> > --includedir=/opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include
> >  --with-sys-contact=mkhanna@ -with-sys-location=3042-Eb2 
> > --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp
> > 
> > 
> > After configuring simple do a,
> > 
> > make
> > make install
> > 
> > You would want to change the install prefix and path for your include dir. 
> > Once you have built the binaries using a cross compiler, simply copy them 
> > to the right place on the board and add the path of binaries in the PATH 
> > variable of the board.
> > 
> > All the best.
> > 
> > Mohit.
> >
>  
> Hi Mohit,
> 
> I have followed your step, but I get error :
> 
> :~/Downloads/netsnmp-5.4.2.1-src$ sudo ./configure 
> --disable-snmpv2c --disable-des --disable-privacy --disable-md5 
> --without-openssl --disable-manuals --disable-shared --disable-mib-loading 
> --disable-embedded-perl --without-perl-modules 
> --with-cflags=-s-static-O2-Dlinux --with-cc=arm-unknown-linux-gnu-gcc 
> --with-ranlib=arm-unknown-linux-gnu-ranlib --with-ar=arm-unknown-linux-gnu-ar 
> --with-endianness=big --with-defaults --build=i386-linux 
> --host=arm-unknown-linux-gnu 
> --with-install-prefix=/home/wawan/Downloads/netsnmp 
> --includedir=/usr/local/opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include
>  --with-sys-contact= --with-sys-location=3042-Eb2 
> --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp
> checking what to build and install...  agent apps local mibs
> using default persistent mask 077
> using default temporary file pattern /tmp/snmpdXXXXXX
> using default AgentX socket /var/agentx/master
> using default "enterprise.net-snmp"
> using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
> using default notifications "NET-SNMP-MIB::netSnmpNotifications"
> using OS default send buffer size for server sockets
> using OS default recv buffer size for server sockets
> using OS default send buffer size for client sockets
> using OS default recv buffer size for client sockets
> checking if I need to feed myself to ksh... no
> checking for arm-unknown-linux-gnu-gcc... arm-unknown-linux-gnu-gcc
> checking for C compiler default output file name... configure: error: C 
> compiler cannot create executables
> See `config.log' for more details.
> 
> do I missed something?
> 
> Br,
> Wawan
>

Hi,

I have take a look on config.log and I found that arm gnu-gcc not found:
configure:3535: checking for arm-unknown-linux-gnu-gcc
configure:3561: result: arm-unknown-linux-gnu-gcc
configure:3843: checking for C compiler version
configure:3846: arm-unknown-linux-gnu-gcc --version </dev/null >&5
./configure: line 3847: arm-unknown-linux-gnu-gcc: command not found

how can I figure out this error? 

Thanks
Br,
Wawan 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU