Opened 14 years ago

Closed 14 years ago

#25597 closed defect (duplicate)

nmap fails to build due to missing md2 in openssl

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: nmap

Description

nmap fails to build:

/usr/bin/g++-4.2 -c -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -Inbase -Insock/include -no-cpp-precomp -pipe -O2 -arch x86_64 -Wall -fno-strict-aliasing   -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -D_FORTIFY_SOURCE=2 nse_openssl.cc -o nse_openssl.o
In file included from nse_openssl.cc:11:
/usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled.
make[1]: *** [nse_openssl.o] Error 1
make: *** [all] Error 2

If I add "enable-md2" to configure.args in openssl's Portfile and rebuild it, nmap builds and installs just fine.

Change History (1)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #25593, please search before filing new tickets.

Note: See TracTickets for help on using tickets.