From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 11:52:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 048A81065672 for ; Tue, 1 Jun 2010 11:52:10 +0000 (UTC) (envelope-from prvs=761b03e6c=a@jenisch.at) Received: from mgaterz1.oekb.co.at (mgaterz1.oekb.co.at [143.245.5.111]) by mx1.freebsd.org (Postfix) with ESMTP id 88ACA8FC27 for ; Tue, 1 Jun 2010 11:52:09 +0000 (UTC) Received: from exchh1.oekb.co.at ([143.245.3.20]) by mgaterz1.oekb.co.at with ESMTP; 01 Jun 2010 13:41:09 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by exchh1.oekb.co.at (143.245.3.60) with Microsoft SMTP Server id 8.2.234.1; Tue, 1 Jun 2010 13:41:08 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.4/8.14.4) with ESMTP id o51Bf8xG065294 for ; Tue, 1 Jun 2010 13:41:08 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.4/8.14.4/Submit) id o51Bf87L065293 for freebsd-questions@freebsd.org; Tue, 1 Jun 2010 13:41:08 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Tue, 1 Jun 2010 13:41:08 +0200 From: Ewald Jenisch To: freebsd-questions@freebsd.org Message-ID: <20100601114108.GB35222@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: nmap -> error during compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 11:52:10 -0000 Hi, Upon compiling nmap (5.21_1) from scratch I got the following error: ------------------------------ < Cut here > ------------------------------ # make ===> Building for nmap-5.21_1 Makefile:341: makefile.dep: No such file or directory c++ -MM -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include main.cc nmap .cc targets.cc tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc payload.cc scan_engine.cc timing.cc charpool.cc services.cc protocols .cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc FingerPrintResul ts.cc service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc tr aceroute.cc portreasons.cc nse_main.cc nse_nsock.cc nse_fs.cc nse_nmaplib.cc nse _debug.cc nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_openssl.cc nse_ssl_cert.cc > makefile.dep In file included from nse_openssl.cc:11: /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled. gmake: *** [makefile.dep] Error 1 *** Error code 1 Stop in /usr/ports/security/nmap. ------------------------------ < Cut here > ------------------------------ When I start the build-process agin (make) it again stops with an error related to "md2": ------------------------------ < Cut here > ------------------------------ . . . c++ -c -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"amd64-portbld-freebsd7.3\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 nse_bit.cc -o nse_bit.o c++ -c -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"amd64-portbld-freebsd7.3\" -DNMAPDATADIR=\"/usr/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. gmake[1]: *** [nse_openssl.o] Error 1 gmake[1]: Leaving directory `/usr/ports/security/nmap/work/nmap-5.21' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/security/nmap. ------------------------------ < Cut here > ------------------------------ My machine is running FreeBSD 7.3, portstree cvsup-ed as per today, platform AMD64. I've got openssl installed from the ports: # pkg_info -rx openssl-1.0.0 Information for openssl-1.0.0_1: Depends on: # Any idea what's going on here and why I can't compile nmap? Thanks much in advance for your help. -ewald