[MacPorts] #25597: nmap fails to build due to missing md2 in openssl

MacPorts noreply at macports.org
Fri Jul 9 00:49:08 PDT 2010


#25597: nmap fails to build due to missing md2 in openssl
--------------------------------------+-------------------------------------
 Reporter:  macports@…                |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.9.1                                
 Keywords:                            |        Port:  nmap                                 
--------------------------------------+-------------------------------------
 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/25597>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list