*** 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'
#
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:
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