Bugs item #474983, was opened at 2001-10-25 11:09
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=474983&group_id=12694
>Category: documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ryan Speed (rspeed)
>Assigned to: Robert Story (rstory)
Summary: building ucd-snmp-4.2.2-1.src.rpm fails
Initial Comment:
When attempting to build binary rpms for ucd-snmp-4.2.2
with the srpm supplied on this site, on a redhat 6.2
machine, I get the errors posted below (and many mare
like this).
I have attempted compiling from the source tarball and
it works perfectly...
creating apps/snmpnetstat/Makefile
creating agent/mibgroup/Makefile
creating local/Makefile
creating testing/Makefile
creating man/Makefile
creating ov/Makefile
creating mibs/Makefile
creating config.h
+ make
gcc -E -I./agent/mibgroup -I. -I. -DDONT_INC_STRUCTS
-DBINDIR=/usr/bin -x c -DPREFIX=/usr -DLIBDIR=/usr/lib
-DDATADIR=/usr/share ./sedscript.in | egrep '^s[/#]' |
sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/#
g/#g/;' > sedscript
sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
for i in snmplib agent apps local ov man ; do \
( cd $i ; make ) ; \
done
make[1]: Entering directory
`/usr/src/redhat/BUILD/ucd-snmp-4.2.2/snmplib'
/bin/sh ../libtool --mode=compile gcc -O2 -march=i386
-mcpu=i686 -Dlinux -I. -I.. -I. -I./.. -c -o
snmp_client.lo snmp_client.c
libtool: ltconfig version `' does not match ltmain.sh
version `1.3.4'
Fatal configuration error. See the libtool docs for
more information.
make[1]: *** [snmp_client.lo] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/ucd-snmp-4.2.2/snmplib'
make[1]: Entering directory
`/usr/src/redhat/BUILD/ucd-snmp-4.2.2/agent'
cd mibgroup; make; cd ..
make[2]: Entering directory
`/usr/src/redhat/BUILD/ucd-snmp-4.2.2/agent/mibgroup'
/bin/sh ../../libtool --mode=compile gcc -O2
-march=i386 -mcpu=i686 -Dlinux -I. -I../.. -I.
-I./../.. -I./../../snmplib -I./.. -I.. -c -o
mibII/system_mib.lo mibII/system_mib.c
libtool: ltconfig version `' does not match ltmain.sh
version `1.3.4'
Fatal configuration error. See the libtool docs for
more information.
make[2]: *** [mibII/system_mib.lo] Error 1
----------------------------------------------------------------------
Comment By: Robert Story (rstory)
Date: 2001-10-31 18:24
Message:
Logged In: YES
user_id=76148
I ran into this as well - try upgrading your libtool to
version 1.4.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=474983&group_id=12694
|