Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.49BETA1 configure failure #158

Closed
ohauer opened this issue Jun 9, 2015 · 3 comments
Closed

6.49BETA1 configure failure #158

ohauer opened this issue Jun 9, 2015 · 3 comments

Comments

@ohauer
Copy link

ohauer commented Jun 9, 2015

I tested a nmap-6.49BETA1 build in an isolated build jail (FreeBSD pouderie).

The following configure arg will fail
--with-openssl=/usr --without-localdirs --without-zenmap --without-ndiff --with-libpcre=/usr/local --with-liblua=included --without-nmap-update --prefix=/usr/local
...
checking if AF_INET6 IPPROTO_RAW sockets include the packet header... no
checking for a Python interpreter with version >= 2.4... none
configure: error: in /wrkdirs/usr/ports/security/nmap/work/nmap-6.49BETA1': configure: error: --with-ndiff requires Python 2.x with x>=4 Seeconfig.log' for more details
===> Script "configure" failed unexpectedly.

6.47 builds fine, it seems the culprit comes from the changes in configure.ac to test if python is available and if not ignore --without-ndiff.

@G10h4ck
Copy link
Contributor

G10h4ck commented Jun 10, 2015

Pushed a quick fix here please test and review it ;)
https://gitlab.com/g10h4ck/nmap-gsoc2015/commits/hotfix/158

@dmiller-nmap
Copy link

@G10h4ck Looks like a good approach. Change the condition to elif ... fi instead of else if ... fi fi and commit it. Thanks!

@ohauer
Copy link
Author

ohauer commented Jun 11, 2015

Thanks, changing s/else/elif/ fixed fixed the the issue fir me.
Will push BETA1 on the weekend into the FreeBSD ports tree so it gets wider testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants