-
Notifications
You must be signed in to change notification settings - Fork 88
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
autogen.sh fails to find libpcap even though it is installed #58
Comments
Hi @milti , Could you check:
You can then compare against the paths listed there: https://github.com/pellegre/libcrafter/blob/master/libcrafter/configure.ac#L49 I suspect this might also be linked to tracebox/tracebox#65 (comment) |
thnx for the advice and link. ill be sure to check that out |
ive been able to make some progress, but am now facing this issue: .... it does look to be the same issue as your reference. any suggestions so that i can install libcrafter? |
question: is libcrafter restricted to libpcap0.8 libpcap0.8-dev ???? my installation version is libpcap1.9.1 |
Hi @milti , This should not be the case. elif test -f $withval/include/pcap.h -a \
-f $withval/include/net/bpf.h -a \
-f $withval/lib/libpcap.a; then by elif test -f $withval/include/pcap.h -a -f $withval/include/net/bpf.h -a -f $withval/lib/libpcap.a; then There seems to be an issue with the linebreak escape in that script which prevents the --with-libpcap argument from working. |
made the edit, but still the same issue, here is the output: libcrafter $ ./autogen.sh --with-libpcap=/System/Volumes/Data/usr/local/Cellar/libpcap/1.9.1/include/ now im seeing the issue reported on tracebox issues page that you referenced earlier. pls know, if i could use libtins i would, as esteban suggested in an email, but there are R pkgs that have the dependency on the crafter library and i think there is something in apache drill that is the same :/ |
im running macOS catalina: autogen.sh is failing on finding libpcap:
,,,:libcrafter ...$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './ltmain.sh'
....
hecking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for size_t... yes
checking for libpcap... no
configure: error: libpcap not found
any suggestions on correcting?
The text was updated successfully, but these errors were encountered: