Nmap Development mailing list archives
Re: could not locate nse_main.lua
From: David Fifield <david () bamsoftware com>
Date: Mon, 10 May 2010 17:11:05 -0600
On Mon, May 10, 2010 at 11:37:02AM -0400, usr0815 () Safe-mail net wrote:
After checkout of SVN and fresh make install:Starting Nmap 5.30BETA1 ( http://nmap.org ) at 2010-05-10 17:09 CEST Unable to find nmap-services! Resorting to /etc/services NSE: failed to initialize the script engine: could not locate nse_main.lua QUITTING!Found out that the requestet env from nmap.cc:2826if (!foundsomething && (dirptr = getenv("NMAPDIR"))) {can't find $NMAPDIR. After env NMAPDIR=/PATH/TO/FOLDER/WITH/nse_main.lua it's working.
I'm glad you figured it out. Setting the environment variable should only be required in unusual circumstances though. How did you configure the build? David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- could not locate nse_main.lua usr0815 (May 10)
- Re: could not locate nse_main.lua David Fifield (May 10)