Nmap Development mailing list archives
RE: static linked ncat - can't find openssl
From: "Rob Nicholls" <robert () robnicholls co uk>
Date: Thu, 21 Nov 2013 20:24:19 -0000
I just read the instructions at https://secwiki.org/w/Nmap/Ncat_Portable and they do suggest to stick the files where you've put them, but I think those instructions may predate the creation of the nmap-win32-aux repository. I suspect you might be able to check out the nmap-win32-aux directory and then replace the lib and include files in C:\nmap-win32-aux\OpenSSL\" instead of putting them in "C:\nmap\mswin32\OpenSSL\ ". Rob
-----Original Message----- From: dev [mailto:dev-bounces () nmap org] On Behalf Of Rob Nicholls Sent: 21 November 2013 20:18 To: robdewhirst () gmail com Cc: nmap-dev () insecure org Subject: RE: static linked ncat - can't find openssl Hi Rob, You probably need to check out some additional files: http://nmap.org/book/inst-windows.html "Some of Nmap's dependencies on Windows are inconvenient to build. For this reason, precompiled binaries of the dependencies are stored in Subversion, in the directory /nmap-mswin32-aux. When building from source, whether from a source code release or from Subversion, check out /nmap-mswin32-aux as described below." If you stick the files in a directory adjacent to the nmap source code, I
think
the projects are configured to use the include files that are part of the
nmap-
win32-aux. For example, if you've checked out the code to "C:\nmap\" you should have these additional dependencies checked out to "C:\nmap- mswin32-aux\" and this includes "OpenSSL\include\openssl". Hopefully it'll work after that. Otherwise you may need to manually edit Nmap's projects within Visual C++ to include the OpenSSL files you've
placed
in the different directory. Rob-----Original Message----- From: dev [mailto:dev-bounces () nmap org] On Behalf Of Dewhirst, Rob Sent: 21 November 2013 17:36 To: nmap-dev () insecure org Subject: static linked ncat - can't find openssl I am following the instructions at: https://secwiki.org/w/Nmap/Ncat_Portable Everything works fine until I try to build ncat and VS C++ says it can'tfind theopenssl lib and include files after I moved them to c:\nmap\mswin32\OpenSSL ------ Rebuild All started: Project: nbase, Configuration: Static Win32------ [...]nbase.vcxproj -> C:\nmap\nbase\.\nbase.lib ------ Skipped Rebuild All: Project: liblua, Configuration: Release Win32------Project not selected to build for this solution configuration ------ Rebuild All started: Project: nsock, Configuration: Static Win32------engine_epoll.c engine_kqueue.c engine_poll.c engine_select.c c:\nmap\nsock\src\nsock_ssl.h(70): fatal error C1083: Cannot open include file: 'openssl/ssl.h': No such file or directory error.c filespace.c c:\nmap\nsock\src\nsock_ssl.h(70): fatal error C1083: Cannot open include file: 'openssl/ssl.h': No such file or directory [...] c:\nmap\ncat\util.h(140): fatal error C1083: Cannot open include file: 'openssl/ssl.h': No such file or directory Generating Code... ========== Rebuild All: 1 succeeded, 2 failed, 1 skipped ========== I am pretty sure I have them in the right location: c:\nmap\mswin32\OpenSSL\include\openssl>dir ssl.h Volume in drive C has no label. Volume Serial Number is 9C14-D2A1 Directory of c:\nmap\mswin32\OpenSSL\include\openssl 11/21/2013 11:17 AM 93,660 ssl.h _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- static linked ncat - can't find openssl Dewhirst, Rob (Nov 21)
- RE: static linked ncat - can't find openssl Rob Nicholls (Nov 21)
- RE: static linked ncat - can't find openssl Rob Nicholls (Nov 21)
- RE: static linked ncat - can't find openssl Rob Nicholls (Nov 21)