From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 12:28:01 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 EA1E41065673 for ; Tue, 1 Jun 2010 12:28:01 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by mx1.freebsd.org (Postfix) with ESMTP id 988668FC1D for ; Tue, 1 Jun 2010 12:28:01 +0000 (UTC) Received: by ywh6 with SMTP id 6so3620060ywh.16 for ; Tue, 01 Jun 2010 05:27:58 -0700 (PDT) Received: by 10.150.236.15 with SMTP id j15mr6344410ybh.233.1275395278218; Tue, 01 Jun 2010 05:27:58 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id v21sm57123978ybk.13.2010.06.01.05.27.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 05:27:57 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 092E8E54856 for ; Tue, 1 Jun 2010 08:27:55 -0400 (EDT) Date: Tue, 1 Jun 2010 08:27:38 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100601082738.3a86c519@scorpio> In-Reply-To: <20100601114108.GB35222@aurora.oekb.co.at> References: <20100601114108.GB35222@aurora.oekb.co.at> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/tDA73d=Ydm+FQ6UhmQq6rEU"; protocol="application/pgp-signature" Subject: Re: nmap -> error during compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 12:28:02 -0000 --Sig_/tDA73d=Ydm+FQ6UhmQq6rEU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 1 Jun 2010 13:41:08 +0200 Ewald Jenisch articulated: > Hi, >=20 > Upon compiling nmap (5.21_1) from scratch I got the following error: >=20 > ------------------------------ < Cut here > > ------------------------------ >=20 > # make > =3D=3D=3D> 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 >=20 > Stop in /usr/ports/security/nmap. >=20 > ------------------------------ < Cut here > > ------------------------------ >=20 > When I start the build-process agin (make) it again stops with an > error related to "md2": >=20 >=20 > ------------------------------ < Cut here > > ------------------------------ >=20 >=20 > . > . > . > 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=3D\"Nmap\" -DNMAP_URL=3D\"http://nmap.org\" > -DNMAP_PLATFORM=3D\"amd64-portbld-freebsd7.3\" > -DNMAPDATADIR=3D\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=3D2 > 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=3D\"Nmap\" -DNMAP_URL=3D\"http://nmap.org\" > -DNMAP_PLATFORM=3D\"amd64-portbld-freebsd7.3\" > -DNMAPDATADIR=3D\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=3D2 > 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 >=20 > Stop in /usr/ports/security/nmap. >=20 > ------------------------------ < Cut here > > ------------------------------ >=20 > My machine is running FreeBSD 7.3, portstree cvsup-ed as per today, > platform AMD64. >=20 > I've got openssl installed from the ports: >=20 > # pkg_info -rx openssl-1.0.0 > Information for openssl-1.0.0_1: >=20 > Depends on: >=20 > # > Any idea what's going on here and why I can't compile nmap? I have had several ports fail because I had openssl installed via the ports system. These were on FreeBSD-8/amd64 systems. I filed two PRs and they were fixed. I might suggest that you do the same here. It does seem rather strange that considering the number of ports that require openssl, there was not more testing done to confirm that the ports version was compatible with ports requiring openssl. --=20 Jerry FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ --Sig_/tDA73d=Ydm+FQ6UhmQq6rEU Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJMBPzJAAoJEEEooh6m7retTL8H/RHvl22l48IVQiiZYm2D1E0/ BAnjnnPCXhu/vmsi9MO7fnUbud30+NEPctiZIdibNt3tM+K5wD52PQCtHRIOTpAw 4grx14A1upTC72ZmsUnd484h4A/7cvFrPP55swzIjK9ExFxLLHdH0pugNDd+7kWG HDKKBe8MY0Mg2Ynoqht4fe+3lyuigV/sfDy/EUObG94Ju1pjAaV/h6lacX1kYCph vS76kctKsdbTnpRJgJAY7L3OyWiKA53UvkkFTRw8HYkF2b83RaS/TBiaBI+WzSe1 nUeqGO1WK3ddc1lJXbVOnUi2D2VK221pBloEq/AJO73EnE/hJ0Sn5X2GHrc84Nw= =X0yK -----END PGP SIGNATURE----- --Sig_/tDA73d=Ydm+FQ6UhmQq6rEU--