New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21241 (new defect)

Opened 2 years ago

Last modified 18 months ago

net-snmp +ksm variant fails

Reported by: james.applemac@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: net-snmp

Description (last modified by ryandesign@…) (diff)

OS: OS X 10.6
xcode 3.2
macport 1.8.0_0 for Snow Leopard

following is the error messages:
=====================

port install net-snmp
Port command started with PID 11004
--->  Computing dependencies for net-snmp
--->  Fetching net-snmp
--->  Verifying checksum(s) for net-snmp
--->  Extracting net-snmp
--->  Applying patches to net-snmp
--->  Configuring net-snmp
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_net-snmp/work/net-snmp-5.4.2.1" && ./configure --prefix=/opt/local --with-defaults --disable-agent --with-sys-contact=nobody@no.where --with-persistent-directory=/opt/local/var/net-snmp --mandir=/opt/local/share/man --infodir=/opt/local/share/info --with-logfile=/opt/local/var/log --with-openssl=/opt/local --with-zlib=/opt/local --with-install-prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_net-snmp/work/destroot --without-kmem-usage --enable-ipv6 --with-out-mib-modules=mibII/ipv6 " returned error 1
Command output: checking for netinet6/nd6.h... no
checking for netinet6/tcp6_timer.h... no
checking for netinet6/tcp6_var.h... no
checking for dlfcn.h... (cached) yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for netinet/in_pcb.h... yes
checking for sys/disklabel.h... no
checking openssl/hmac.h usability... yes
checking openssl/hmac.h presence... yes
checking for openssl/hmac.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/aes.h usability... yes
checking openssl/aes.h presence... yes
checking for openssl/aes.h... yes
checking openssl/des.h usability... yes
checking openssl/des.h presence... yes
checking for openssl/des.h... yes
checking openssl/dh.h usability... yes
checking openssl/dh.h presence... yes
checking for openssl/dh.h... yes
checking security/cryptoki.h usability... no
checking security/cryptoki.h presence... no
checking for security/cryptoki.h... no
checking for lpstat... /usr/bin/lpstat
checking for cgetnext... yes
checking for authentication support... configure: error: Asked to use OpenSSL but I couldn't find it.
Error: Status 1 encountered during processing.
--->  Executing: /opt/local/bin/port install net-snmp

Change History

Changed 2 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to opendarwin.org@…
  • description modified (diff)

Changed 2 years ago by macsforever2000@…

  • description modified (diff)

Changed 2 years ago by toby@…

  • priority changed from High to Normal

What is the output of lipo -info /opt/local/lib/libssl.dylib ?

Changed 2 years ago by ryandesign@…

  • description modified (diff)

Changed 2 years ago by james.applemac@…

Hi,

I have uninstalled every package build under OS X 10.5.8 and rebuild under OS X 10.6 with xCode 3.2.

It show me the following message when I run lipo -info /opt/local/lib/libssl.dylib

Non-fat file: /opt/local/lib/libssl.dylib is architecture: x86_64

Following are the error messages:

port install net-snmp +bzip2 +ksm +server
Port command started with PID 423
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for net-snmp
--->  Fetching net-snmp
--->  Verifying checksum(s) for net-snmp
--->  Extracting net-snmp
--->  Applying patches to net-snmp
--->  Configuring net-snmp
--->  Building net-snmp
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_net-snmp/work/net-snmp-5.4.2.1" && /usr/bin/make all " returned error 2
Command output: snmpUDPDomain.c: In function 'netsnmp_sock_buffer_set':
snmpUDPDomain.c:500: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
snmpUDPDomain.c:535: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpUDPDomain.c -o snmpUDPDomain.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include  -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE   -c -o snmpTCPDomain.lo snmpTCPDomain.c
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpTCPDomain.c  -fno-common -DPIC -o .libs/snmpTCPDomain.o
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpTCPDomain.c -o snmpTCPDomain.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include  -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE   -c -o snmpUnixDomain.lo snmpUnixDomain.c
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpUnixDomain.c  -fno-common -DPIC -o .libs/snmpUnixDomain.o
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpUnixDomain.c -o snmpUnixDomain.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include  -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE   -c -o snmpCallbackDomain.lo snmpCallbackDomain.c
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE 
-c snmpCallbackDomain.c  -fno-common -DPIC -o .libs/snmpCallbackDomain.o
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpCallbackDomain.c -o snmpCallbackDomain.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include  -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE   -c -o snmp_secmod.lo snmp_secmod.c
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmp_secmod.c  -fno-common -DPIC -o .libs/snmp_secmod.o
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmp_secmod.c -o snmp_secmod.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include  -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE   -c -o snmpusm.lo snmpusm.c
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpusm.c  -fno-common -DPIC -o .libs/snmpusm.o
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpusm.c -o snmpusm.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include  -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE   -c -o snmpksm.lo snmpksm.c
 /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpksm.c  -fno-common -DPIC -o .libs/snmpksm.o
snmpksm.c: In function 'ksm_rgenerate_out_msg':
snmpksm.c:493: error: 'params' undeclared (first use in this function)
snmpksm.c:493: error: (Each undeclared identifier is reported only once
snmpksm.c:493: error: for each function it appears in.)
snmpksm.c:693: error: 'krb5_enctype_array' undeclared (first use in this function)
snmpksm.c: In function 'ksm_process_in_msg':
snmpksm.c:1684: error: 'krb5_enctype_array' undeclared (first use in this function)
make[1]: *** [snmpksm.lo] Error 1
make: *** [subdirs] Error 1
Error: Status 1 encountered during processing.
--->  Executing: /opt/local/bin/port install net-snmp +bzip2 +ksm +server
 

Changed 2 years ago by ryandesign@…

Ok, so that's a totally different error now than before. I see that problem too.

Changed 2 years ago by ryandesign@…

  • summary changed from net-snmp 5.4.2.1_1 Build Failed Under Mac OS X 10.6 to net-snmp +ksm variant fails

...with the +ksm variant. If you omit that variant, and the +server variant, it should build.

Changed 18 months ago by jmr@…

  • owner changed from opendarwin.org@… to ryandesign@…
Note: See TracTickets for help on using tickets.