Date: Fri, 13 Jun 2014 11:29:52 -0400 From: Ryan Steinmetz <zi@FreeBSD.org> To: "Chad J. Milios" <milios@ccsys.com> Cc: ports@freebsd.org Subject: Re: net-mgmt/net-snmp build error on 9.2 Message-ID: <20140613152952.GA86580@exodus.zi0r.com> In-Reply-To: <539B1799.9090807@ccsys.com> References: <539AF3B3.8020901@ccsys.com> <20140613141249.GA82135@exodus.zi0r.com> <539B1799.9090807@ccsys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Do you have a /usr/local/lib/libpkg*? -r On (06/13/14 11:24), Chad J. Milios wrote: >root@nuos-lab:/usr/ports/net-mgmt/net-snmp # more /etc/make.conf >CPUTYPE?=core2 >NO_WARNING_PKG_INSTALL_EOL=yes >DEFAULT_VERSIONS= perl5=5.18 php=55 >APACHE_PORT=www/apache24 >WITH_BDB_VER=48 >WITH_PGSQL_VER=93 >WITH_MYSQL_VER=56 >WITH_NEW_XORG=yes > >root@nuos-lab:/usr/ports/net-mgmt/net-snmp # grep PORTREV Makefile >PORTREVISION= 9 > >On 6/13/2014 10:12 AM, Ryan Steinmetz wrote: >> What's the PORTREVISION of your net-snmp port? Do you have anything in >> /etc/make.conf? >> >> -r >> >> On (06/13/14 08:50), Chad J. Milios wrote: >>> I have pkg-1.2.7_3 installed and unused (FYI, I need pkg_tools support >>> on these systems and am not prepared to make the transition to pkgng >>> until sometime between now and the pkg_tools EOL). pkg-1.2.7_3 was >>> pulled in as a dependency for net-mgmt/net-snmp and pkg has no other >>> dependents on my system. Is there something special I need to do to get >>> this to work? >>> >>> There is a comment in the makefile that "pkg-1.2 cannot handle this >>> dependency well." So then why is the dependency placed on pkg and not >>> pkg-devel? >>> >>> Thank you for any help you have to offer. >>> >>> ... >>> building 'netsnmp.client_intf' extension >>> creating build/temp.freebsd-9.2-RELEASE-p3-amd64-2.7 >>> creating build/temp.freebsd-9.2-RELEASE-p3-amd64-2.7/netsnmp >>> cc -DNDEBUG -O2 -pipe -march=core2 -I/usr/local/include >>> -fno-strict-aliasing -fPIC >>> -I/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/include >>> -I/usr/local/include/python2.7 -c netsnmp/client_intf.c -o >>> build/temp.freebsd-9.2-RELEASE-p3-amd64-2.7/netsnmp/client_intf.o >>> cc -shared -pthread -Wl,-rpath,/usr/lib:/usr/local/lib -O2 -pipe >>> -march=core2 -I/usr/local/include -fno-strict-aliasing >>> build/temp.freebsd-9.2-RELEASE-p3-amd64-2.7/netsnmp/client_intf.o >>> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/agent/.libs >>> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/snmplib/.libs -lm >>> -lkvm -ldevstat -lpkg -lnetsnmp -lcrypto -lelf -lssp_nonshared -o >>> build/lib.freebsd-9.2-RELEASE-p3-amd64-2.7/netsnmp/client_intf.so >>> /usr/bin/ld: cannot find -lpkg >>> error: command 'cc' failed with exit status 1 >>> *** [pythonmodules] Error code 1 >>> >>> Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2. >>> *** [do-build] Error code 1 >>> >>> Stop in /usr/ports/net-mgmt/net-snmp. >>> >> > -- Ryan Steinmetz PGP: 9079 51A3 34EF 0CD4 F228 EDC6 1EF8 BA6B D028 46D7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140613152952.GA86580>