Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: compiling only ncat and nothing else
From: David Fifield <david () bamsoftware com>
Date: Tue, 1 May 2012 12:35:31 -0700

On Tue, May 01, 2012 at 11:08:35AM -0800, Britton Kerin wrote:
Hi guys,

I have an embedded target with very little disk space (75 meg)
and I'd like to build nmap for it.  The normal './configure ; make'
incantation ends up with an out-of-disk-space error.

I then tried this:

   $ ./configure --prefix=$HOME/local
   [snip output]
   make nmap
   $ make ncat
   Makefile:375: makefile.dep: No such file or directory
   g++ -MM -I/usr/include/lua5.1 -I./libdnet-stripped/include
-I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H
-DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\";
-DNMAP_PLATFORM=\"i686-pc-linux-gnu\"
-DNMAPDATADIR=\"/home/bkerin/local/share/nmap\" -D_FORTIFY_SOURCE=2
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 FingerPrintResults.cc
service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc
nmap_dns.cc traceroute.cc portreasons.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: Nothing to be done for `ncat'.

"make: Nothing to be done for `ncat'." is because there is a directory
called "ncat". You would get the same output if you did "make docs" or
"make mswin32". You need "make ncat_build" instead. Take a look at the
contents of Makefile.in.

Also, the general solution to this problem is to use a cross-compiler on
a system with more disk space.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

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