From: Guy Harris Date: Sat, 3 Mar 2012 21:32:11 +0000 (-0800) Subject: Ask for more information if we don't find pcap_loop. X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/a74812fa878b158c9e890fb852934b2bc713b411 Ask for more information if we don't find pcap_loop. 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).) --- diff --git a/aclocal.m4 b/aclocal.m4 index 9570de53..a1611ef9 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -445,7 +445,13 @@ AC_DEFUN(AC_LBL_LIBPCAP, [ AC_MSG_ERROR( [Report this to tcpdump-workers@lists.tcpdump.org, 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 diff --git a/configure b/configure index f481d333..6d3de79a 100755 --- 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 tcpdump-workers@lists.tcpdump.org, 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 tcpdump-workers@lists.tcpdump.org, 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