Description of Problem: The location of the pcre headers pcre.h and pcreposix.h, as delivered with the package pcre-devel, is a bit unusual. You place the headers in %{_includedir}/pcre/ instead of %{_includedir}/. I have so far only come across software which searches for "pcre.h", non which requires "pcre/pcre.h" or provides a proper search macro for autoconf. I keep having to patch the autoconf stuff of those programs for them to compile. According to http://rpmfind.net/, at least no other Linux pcre package (e.g. in other distributions) uses these paths. I very much see the reason for separate header paths, especially with many header files, but not in this case. It's a bit strict, and furthermore, ot makes RedHat just this little bit more incompatible to everything else (if that's ever a reason). Version-Release number of selected component (if applicable): 3.9-x (any package version of pcre in RedHat) How Reproducible: always Steps to Reproduce: 1. check RedHat's pcre-devel package contents 2. 3. Actual Results: pcre.h and pcreposix.h are located in /usr/include/prce/. Expected Results: pcre.h and pcreposix.h should be located in /usr/include/. Additional Information:
This has been fixed for a while. $ rpm -qf /usr/include/pcre/*.h pcre-devel-4.5-3 pcre-devel-4.5-3
Doh, I read this entire bug backwards :( Sorry.
it's now fixed in pcre-5.0-1.
Can we get the fix into FC3 as well?
No, that would break compatibility.
Can we add symlinks pcre.h -> pcre/pcre.h pcreposix.h -> pcre/pcreposix.h ?
Re comment #5 and comment #6: I have built my own package "compat-pcre" (or something like this) which provides only these symbolic links. :) Perhaps this package is a candidate for FC3 Extras? Or shall I just provide it to everyone who asks?
I opened the bug https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154692 against FC3 as an enhancement request.