Home page logo

nmap-dev logo Nmap Development mailing list archives

"make install" doesn't work without calling "make" first
From: Jacek Wielemborek <wielemborekj1 () gmail com>
Date: Wed, 11 Sep 2013 19:10:46 +0200


I was recently playing with Nmap's build infrastructure and I noticed
something I find not quite right - when you do ./configure and try to
run make install right away, you'll see that there's no rule to build
liblua/liblua.a and make install fails. While it's a pretty minor bug
(if any at all), I thought I'd let you know here to make sure there's
no possible related bug it could cause. I kind of got used to projects
running "make all" for me if I try to do make install without calling
"make" first.

[d33tah-pc][~/workspace/ncat/luaexec-lookup] $ sudo make install
Makefile:418: makefile.dep: No such file or directory
g++ -MM -I./liblinear -I./liblua -I./libdnet-stripped/include
-I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2
charpool.cc FingerPrintResults.cc FPEngine.cc FPModel.cc idle_scan.cc
MACLookup.cc main.cc nmap.cc nmap_dns.cc nmap_error.cc NmapOps.cc
NmapOutputTable.cc nmap_tty.cc osscan2.cc osscan.cc output.cc
payload.cc portlist.cc portreasons.cc protocols.cc scan_engine.cc
service_scan.cc services.cc Target.cc TargetGroup.cc targets.cc
tcpip.cc timing.cc traceroute.cc utils.cc xml.cc nse_main.cc
nse_utility.cc nse_nsock.cc nse_dnet.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
make: *** No rule to make target `liblua/liblua.a', needed by `nmap'.  Stop.

Jacek Wielemborek
Sent through the dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]