Just got things running on AMD64 with 64 bit SuSE 9.1. Here's how:
1) Make sure all dependencies are installed, opnessl-devel and even the ones for nmapfe (namely gtk-devel). Even if you don't want nmapfe and the configure script says it won't build it, it will... so save yourself some headaches and install gtk-devel.
2) unpack nmap-3.48-with-sql-0.0.3.tar.gz
3) change into the resulting new directory nmap-3.48
4) ./configure
5) Open the README.sql file and make all of the changes suggested to the Makefile with one slight change:
The mysql libraries are in /usr/lib64/mysql so the addition to the LDFLAGS line must read:
-L/usr/lib64/mysql -lmysqlclient -lz
Once I did that it all compiled OK. I run nmapsql from the local build directory because I also have the *very* speedy nmap 3.70 installed and I don't want to loose that. Remember that access.sql still goes in the documented location ~/access.sql.
Happy nmapping!
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Just got things running on AMD64 with 64 bit SuSE 9.1. Here's how:
1) Make sure all dependencies are installed, opnessl-devel and even the ones for nmapfe (namely gtk-devel). Even if you don't want nmapfe and the configure script says it won't build it, it will... so save yourself some headaches and install gtk-devel.
2) unpack nmap-3.48-with-sql-0.0.3.tar.gz
3) change into the resulting new directory nmap-3.48
4) ./configure
5) Open the README.sql file and make all of the changes suggested to the Makefile with one slight change:
The mysql libraries are in /usr/lib64/mysql so the addition to the LDFLAGS line must read:
-L/usr/lib64/mysql -lmysqlclient -lz
Once I did that it all compiled OK. I run nmapsql from the local build directory because I also have the *very* speedy nmap 3.70 installed and I don't want to loose that. Remember that access.sql still goes in the documented location ~/access.sql.
Happy nmapping!
Paul