Prev: FreeBSD ports which are currently marked forbidden
Next: Request for removal of ports maintainership
From: paul beard on 7 Jul 2010 17:13 At the request of the maintainer, I am opening this up to the wider audience here on ports@. Trying to get cacti-spine to build on FreeBSD 8 and getting stuck. checking whether we are using Solaris privileges... no checking for mysql_init in -lmysqlclient_r... yes checking for mysql_thread_init in -lmysqlclient_r... yes checking if UCD-SNMP needs crypto support... no checking if Net-SNMP needs crypto support... yes checking for snmp_timeout in -lnetsnmp... no Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP checking for snmp_timeout in -lsnmp... no configure: error: Cannot find UCD-SNMP libraries(snmp) Over the course of trying to work this out, I found similar issues to issue 141238 [1] . This patch RCS file: /usr/share/cvs/freebsd/ports/net-mgmt/cacti-spine/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- Makefile 2 Jun 2010 19:14:12 -0000 1.22 +++ Makefile 25 Jun 2010 15:42:18 -0000 @@ -19,6 +19,8 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE} +CONFIGURE_ENV= LDFLAGS="`net-snmp-config --libs`" \ + CPPFLAGS="`net-snmp-config --cflags`" USE_MYSQL= YES USE_OPENSSL= YES USE_AUTOTOOLS= libtool:22 seems to get us closer. We get through configure, anyway, and fail here: libtool: link: cc -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/.. -I/usr/local/include/mysql -pipe -g -rpath=/usr/lib:/usr/local/lib -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -L/usr/local/lib -L/usr/local/lib/mysql /usr/local/lib/libnetsnmp.so -L/usr/lib -lkvm -ldevstat /usr/local/lib/mysql/libmysqlclient_r.so -lcrypt -lcrypto -lz -lpthread -lm -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib/mysql -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib/mysql /usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local' *** Error code 1 1. http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2009-December/177481.html -- Paul Beard / www.paulbeard.org/ _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" |