]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Ask for more information if we don't find pcap_loop.
authorGuy Harris <[email protected]>
Sat, 3 Mar 2012 21:32:11 +0000 (13:32 -0800)
committerGuy Harris <[email protected]>
Sat, 3 Mar 2012 21:32:51 +0000 (13:32 -0800)
I give up.

People keep reporting that the configure process for tcpdump fails to
find pcap_loop, and the config.log file they send us says there's no
pcap_parse in libpcap, which suggests that something went wrong in the
build process for libpcap; perhaps they don't have Bison and the
configure script got confused and failed to cause the parser to be named
"pcap_parse", or something such as that, or perhaps Bison was recently
"improved" in a fashion that breaks that, but I've never been able to
reproduce this on any of the Linux distribution installations to which
*I* have access.

I therefore ask them to send the config.log output and make output for
libpcap; *not one of the reporters of this problem* has bothered to send
that information, so we're stuck.  Perhaps they don't care enough (in
which case, why did they bother asking us about it?), or perhaps they're
annoyed that we asked them a further question rather than Just Fixing
The Problem(TM) (in which case, all I have to say is "welcome to the
Wonderful World Of Computer Software(TM) - get used to it").

So let's just ask for all that information.  (I would not be surprised
if this doesn't suffice and that they *still* just send us the tcpdump
config.log output, but at least I'll be able to tell them that they
should have Read The Fine Error Message(TM).)

aclocal.m4
configure

index 9570de5309afd0f67a0d5ee24591c3b1f7feb4cc..a1611ef9ae6560a83673b5059d849f9c039038f8 100644 (file)
@@ -445,7 +445,13 @@ AC_DEFUN(AC_LBL_LIBPCAP,
        [
            AC_MSG_ERROR(
 [Report this to [email protected], and include the
-config.log file in your report])
+config.log file in your report.  If you have downloaded libpcap from
+tcpdump.org, and built it yourself, please also include the config.log
+file for libpcap, and the output of the make process for libpcap, as
+this could be a problem with the libpcap that was built, and we will
+not be able to determine why this is happening, and thus will not be
+able to fix it, without that information, as we have not been able to
+reproduce this problem ourselves.])
        ])
 
     dnl
index f481d333d3f9fe5786962ab03d1e4d2353198c77..6d3de79ab5e93461013e782d92b7c058f971a15d 100755 (executable)
--- a/configure
+++ b/configure
@@ -7554,9 +7554,21 @@ if test $ac_cv_func_pcap_loop = yes; then
 else
 
            { { echo "$as_me:$LINENO: error: Report this to [email protected], and include the
-config.log file in your report" >&5
+config.log file in your report.  If you have downloaded libpcap from
+tcpdump.org, and built it yourself, please also include the config.log
+file for libpcap, and the output of the make process for libpcap, as
+this could be a problem with the libpcap that was built, and we will
+not be able to determine why this is happening, and thus will not be
+able to fix it, without that information, as we have not been able to
+reproduce this problem ourselves." >&5
 echo "$as_me: error: Report this to [email protected], and include the
-config.log file in your report" >&2;}
+config.log file in your report.  If you have downloaded libpcap from
+tcpdump.org, and built it yourself, please also include the config.log
+file for libpcap, and the output of the make process for libpcap, as
+this could be a problem with the libpcap that was built, and we will
+not be able to determine why this is happening, and thus will not be
+able to fix it, without that information, as we have not been able to
+reproduce this problem ourselves." >&2;}
    { (exit 1); exit 1; }; }
 
 fi