ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Problem building wireshark-1.2.0 (and wireshark-1.0.8) when tryi

From: Mark Ryden <markryde@xxxxxxxxx>
Date: Wed, 15 Jul 2009 09:26:56 +0300
Hello,
I try to build wireshark-1.0.8 and wireshark-1.2.0 on
Red Hat Enterprise Linux ES release 4 (Nahant).
It is important to me to have the libpcre library (for matches).

So I ran
./configire --with-pcre=/usr/include/pcre

but I get these errors (both under wireshark-1.0.8 and wireshark-1.2.0)
...
...
checking whether to use libpcre for regular expressions in dfilters... yes
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
configure: error: libpcre header not found in directory specified in --with-pcre



I want to add that I **do** have the header file /usr/include/pcre/pcre.h !

(it is a part of the pcre-devel library which is installed on this machine).

Any ideas what can be the problem ?

Regards,
Mark