Date: Tue, 1 Jun 2010 08:27:38 -0400 From: Jerry <freebsd.user@seibercom.net> To: freebsd-questions@freebsd.org Subject: Re: nmap -> error during compile Message-ID: <20100601082738.3a86c519@scorpio> In-Reply-To: <20100601114108.GB35222@aurora.oekb.co.at> References: <20100601114108.GB35222@aurora.oekb.co.at>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <a@jenisch.at> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100601082738.3a86c519>