Nmap Development mailing list archives

compiling only ncat and nothing else


From: Britton Kerin <britton.kerin () gmail com>
Date: Tue, 1 May 2012 11:08:35 -0800

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'.

So I guess building just some programs in unsupported?

Is there any way to do a more compact build or build just ncat or something?

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


Current thread: