Ok after some digging I managed to find a few things:

http://www.mail-archive.com/net-snmp-users at 
lists.sourceforge.net/msg04843.html

http://net-snmp.sourceforge.net/docs/README.solaris.html

Basically the overall idea here is compile Perl from scratch as Sun's 
inbuilt Perl doesn't seem to work!

Regards,

Kaya


Kaya Saman wrote:
> Hi guys,
>
> I'm currently trying to get Cacti and Munin working with OpenSolaris! 
> Unfortunately when I try to compile net-snmp 5.5 I keep running in to 
> the error below and am unable to correct it....
>
> Can anyone help me out here with getting this service compiled in 
> since there is no net-snmp package in the repos??
>
>
> Error:
>
> rm -f ../blib/arch/auto/NetSNMP/default_store/default_store.so
> LD_RUN_PATH="/export/home/test/Downloads/net-snmp-5.5/perl/default_store/../../snmplib/.libs:/lib"
>  
> cc  -G default_store.o  -o 
> ../blib/arch/auto/NetSNMP/default_store/default_store.so   
> -L/export/home/test/Downloads/net-snmp-5.5/perl/default_store/../../snmplib/.libs
>  
> -L/export/home/test/Downloads/net-snmp-5.5/perl/default_store/../../snmplib 
> -lnetsnmp -lnsl -lsocket -lelf   cc: default_store.o: No such file or 
> directory
> *** Error code 1
> make: Fatal error: Command failed for target 
> `../blib/arch/auto/NetSNMP/default_store/default_store.so'
> Current working directory 
> /export/home/test/Downloads/net-snmp-5.5/perl/default_store
> *** Error code 1
> The following command caused the error:
> cd default_store && make -f Makefile all LIB="" LIBPERL_A="libperl.a" 
> LINKTYPE="dynamic" PREFIX="" OPTIMIZE="-xO3 -xspace -xildoff" 
> PASTHRU_DEFINE="" PASTHRU_INC=""
> make: Fatal error: Command failed for target `subdirs'
> Current working directory /export/home/test/Downloads/net-snmp-5.5/perl
> *** Error code 1
> The following command caused the error:
> (cd perl ; make LD_RUN_PATH="/usr/local/lib:`/usr/bin/perl -e 'use 
> Config; print qq($Config{archlibexp}/CORE);'`") ; \
>        if test $? != 0 ; then \
>           exit 1 ; \
>        fi
> make: Fatal error: Command failed for target `perlmodules'
>
>
>
> Perl and Perl modules are both installed!
>
> Many thanks,
>
> Kaya
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris.org

Reply via email to