Nmap Development mailing list archives

nmap-4.75 : make still fails with --without-liblua


From: Simon Zilliken <simon () zilliken name>
Date: Tue, 9 Sep 2008 17:57:08 +0200

Hello there,

make makefile.dep fails if --without-liblua is set, complaining about missing 
header files:

nse_main.h:5:19: error: lua.h: No such file or directory
nse_main.h:6:22: error: lualib.h: No such file or directory
nse_main.h:7:23: error: lauxlib.h: No such file or directory

This is because -DNOLUA is prepended to CXXFLAGS only, not CPPFLAGS. A 
possible solution would be to add CXXFLAGS to the makefile.dep rule in 
Makefile.in, line 261:

makefile.dep:
        $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(SRCS) > $@

Greatings,
Simon Zilliken

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


Current thread: