Nmap Development mailing list archives
Re: "make install" doesn't work without calling "make" first
From: Jacek Wielemborek <wielemborekj1 () gmail com>
Date: Wed, 11 Sep 2013 19:25:00 +0200
2013/9/11 Jacek Wielemborek <wielemborekj1 () gmail com>:
Hi, 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\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"x86_64-unknown-linux-gnu\" -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. Yours, Jacek Wielemborek
Also, this kind of lines caught my attention: lua_clean: -cd $(LIBLUADIR) && $(MAKE) clean Wouldn't "make -C $(LIBLUADIR) clean" be a better choice here? _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- "make install" doesn't work without calling "make" first Jacek Wielemborek (Sep 11)
- Re: "make install" doesn't work without calling "make" first Jacek Wielemborek (Sep 11)