Problems installing NET-SNMP on Mac 10.5.2

This is a discussion on Problems installing NET-SNMP on Mac 10.5.2 within the SNMP Users forums, part of the Networking and Network Related category; Hello, I'm trying to instill the net-snmp-5.4.1 on my MAC laptop. I'm receiving this ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-06-2008
Thomas Bonham
 
Posts: n/a
Default Problems installing NET-SNMP on Mac 10.5.2

Hello,

I'm trying to instill the net-snmp-5.4.1 on my MAC laptop. I'm
receiving this error when I run the make command.

bonham:net-snmp-5.4.1 bonham$ make
gcc -E -Iinclude -I./include -I./agent/mibgroup -I. -I. -
DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin -x c ./sedscript.in | egrep
'^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/
#g/;' > sedscript
echo 's#DATADIR#/usr/local/share#g' >> sedscript
echo 's#LIBDIR#/usr/local/lib#g' >> sedscript
echo 's#BINDIR#/usr/local/bin#g' >> sedscript
echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g' >> sedscript
echo 's#SYSCONFDIR#/usr/local/etc#g' >> sedscript
/usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
making all in /Users/bonham/Downloads/net-snmp-5.4.1/snmplib
/bin/sh ../libtool --mode=compile gcc -I../include -I. -I../snmplib -
I/usr/local/ssl/include -arch i386 -arch ppc -g -pipe -fno-common -
DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-
statement -I/usr/local/include -I/System/Library/Perl/5.8.8/darwin-
thread-multi-2level/CORE -g -O2 -Udarwin9 -Ddarwin9=darwin9 -c -o
snmp_client.lo snmp_client.c
gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -arch
i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-
strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/
System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -g -O2 -
Udarwin9 -Ddarwin9=darwin9 -c snmp_client.c -fno-common -DPIC -
o .libs/snmp_client.o
In file included from snmp_client.c:96:
.../include/net-snmp/types.h:68: error: conflicting types for 'ssize_t'
/usr/include/string.h:70: error: previous declaration of 'ssize_t' was
here
In file included from snmp_client.c:96:
.../include/net-snmp/types.h:68: error: conflicting types for 'ssize_t'
/usr/include/string.h:70: error: previous declaration of 'ssize_t' was
here
lipo: can't open input file: /var/folders/BC/BC7fIorxEdeSiCkFF1kv0k++
+TI/-Tmp-//ccWWyBgu.out (No such file or directory)
make[1]: *** [snmp_client.lo] Error 1
make: *** [subdirs] Error 1

I have tried putting on all of the options and even played with them a
little bit and I still can't get it to compile. I have also tried
going down to 5.3.* and no luck at all.

The other thing that I'm trying to find and I'm not able to is if it
is stall the library with a .a for the static linking for programs or
if it is a .so. If it is .so by default then how to I make it a static
library. I'm working on doing some testing and programming in C with
SNMP so I really need this to work.

Thank you for your help.

Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0