|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Error occurred while making the net-snmp 5.4.4 on Solaris 5.10 version.
Hi all, Error occurred while making the net-snmp-5.4.4 on Solaris 5.10 version. Environment - Solaris 5.10-x86 - Net-SNMP-5.4.4.tar.gz - Path (/etc/profile) Code:
PATH=/usr/local/bin:$PATH export PATH LD_LIBRARY_PATHUSR=/usr/ccs/bin: export LD_LIBRARY_PATH Error01 - summary Code:
*** Error code 1
make: Fatal error: Command failed for target `libnetsnmp.la'
Current working directory /opt/download/net-snmp/snmplib
*** Error code 1
The following command caused the error:
if test "snmplib agent apps man local mibs" != ""; then \
it="snmplib agent apps man local mibs" ; \
for i in $it ; do \
echo "making all in `pwd`/$i"; \
( cd $i ; /usr/ccs/bin/make ) ; \
if test $? != 0 ; then \
exit 1 ; \
fi \
done \
fi
make: Fatal error: Command failed for target `subdirs'
#Error02 - summary Code:
make[1]: *** [libnetsnmp.la] error 1 make[1]: Leaving directory `/opt/download/net-snmp/snmplib' make: *** [subdirs] error 1 # Please refer to the attached error files. Thank you in advance. Last edited by Scott; 01-30-2013 at 03:51 AM.. Reason: Please use code tags |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
It looks like it is substituting 'false' (returns an error every time and does nothing) for the archiving command 'ar' that builds .a files from .o files: Code:
false cru .libs/libnetsnmp.a snmp_client.o mib.o parse.o snmp_api.o snmp.o snmp_auth.o asn1.o md5.o snmp_parse_args.o system.o vacm.o int64.o read_config.o pkcs.o snmp_debug.o \ tools.o snmp_logging.o text_utils.o snmpv3.o lcd_time.o keytools.o file_utils.o scapi.o callback.o default_store.o snmp_alarm.o data_list.o oid_stash.o fd_event_manager.o mt_support.o \ snmp_enum.o snmp-tc.o snmp_service.o snprintf.o strlcpy.o strtol.o strtoul.o strtok_r.o snmp_transport.o snmpUDPDomain.o snmpTCPDomain.o snmpUnixDomain.o snmpCallbackDomain.o \ snmp_secmod.o snmpusm.o snmp_version.o check_varbind.o container.o container_binary_array.o container_null.o container_list_ssll.o container_iterator.o cmu_compat.o ucd_compat.o *** Error code 1 make: Fatal error: Command failed for target `libnetsnmp.la' Not sure where the la comes in. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
How to usage ar command?
.....
Last edited by ziosnim; 01-31-2013 at 03:36 AM.. |
|
#4
|
|||
|
|||
|
First, the simple solution is to get your freeware at a trusted binary source. I build from source a lot because pkg needs root, and I just want a user installation. The configure and make process builds make files, scripts and their resources, and somewhere it decided to slip in 'false' for 'ar'. Not only is ar the right tool, the arguments match: Man Page for ar (linux Section 1) - The UNIX and Linux Forums
Googling autoconf false ar, I find: http://surfer.nmr.mgh.harvard.edu/fs...3F.28MacOSX.29 |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| perl Net::SNMP version getting info from cisco switch | dynamax | Shell Programming and Scripting | 1 | 07-21-2011 06:24 PM |
| Net-SNMP issues Solaris 10 | soupbone38 | Solaris | 1 | 12-02-2008 11:01 PM |
| Net-snmp issue in Solaris 8 | sundar63 | Solaris | 5 | 10-22-2008 12:37 PM |
| net-snmp on solaris 8 | melanie_pfefer | Solaris | 1 | 04-27-2008 10:44 PM |
| net-snmp-5.1.2 Solaris 9 | bubba112557 | Solaris | 1 | 03-20-2005 10:58 AM |
|
|