Re: phase installing: nut-snmp-2.7.4-1 failed

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 6/9/20 4:20 PM, Alexander Hansen wrote:
> checking for Net-SNMP version via net-snmp-config... 5.6.2.1 found
> checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -Os -pipe -DBUILD=161 -DMACOSX_DEPLOYMENT_TARGET=10.14 -F/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.Internal.sdk/System/Library/PrivateFrameworks/ -F/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.Internal.sdk/System/Library/Frameworks/ -I/usr/local/libressl/include -Udarwin18 -Ddarwin18=darwin18 -I/usr/local/include
> checking for Net-SNMP libs... -lnetsnmp -lcrypto.35
> checking for net-snmp/net-snmp-config.h... yes
> checking for init_snmp... no

Fink has libnetsnmp35 (v5.8), but nut-snmp is not using it and instead 
is trying to use the system net-snmp (v5.6.2.1). The nut-snmp build 
finds the system-headers, but doesn't find the libraries, so the check 
for init_snmp fails.

Quick solution: install libnetsnmp35-dev, the try rebuilding nut-snmp.

Charles: the (Build)Depends for nut-snmp need to be adjusted to take 
advantage of Fink's libnetsnmp.

Hanspeter


_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.