Ethereal-dev: Re: [Ethereal-dev] configure does not look in /usr/include/pcre for pcre.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Thomas Anders <thomas.anders@xxxxxxxxxxxxx>
Date: Fri, 22 Oct 2004 09:59:26 +0200
Guy Harris wrote:
I guess the question I was really asking is "is this another mess similar to the one induced by Red Hat's brilliant idea of installing libpcap's pcap.h in /usr/include/pcap, rather than in /usr/include where it's installed on most other OSes, or is the standard location for it /usr/include/pcre, so that the Ethereal configure script is wrong and has always been wrong?"

I.e., where is pcre.h installed by the standard PCRE distribution from www.pcre.org and, if it's in "/usr/include" and/or "/usr/local/include", did the creators of your system decide it should've been installed in its own subdirectory - which, arguably, it should have been, just as pcap.h arguably should have been, but trying to improve this *after the fact* just requires configure scripts to go through more crap to cope with the "improved" location as well as the standard one?

At least on SuSE Linux and Debian Woody pcre.h is in /usr/include
which I'd consider the appropriate location.

Users/Admins wo decided to introduce their own location are always
free to invoke "env CFLAGS=-I/my/path ./configure ..." to make
configure find /my/path/pcre.h (eventually CPPFLAGS is needed as
well, depending on the actual test -- I haven't tried).

No need to change Ethereal's configure, I think.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)