Bug 64248 - pcre header location is unusual
Summary: pcre header location is unusual
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: pcre
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-30 16:25 UTC by Moritz Barsnick
Modified: 2007-04-18 16:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-18 10:32:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Moritz Barsnick 2002-04-30 16:25:31 UTC
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:

Comment 1 Joe Orton 2004-11-17 20:10:55 UTC
This has been fixed for a while.

$ rpm -qf /usr/include/pcre/*.h
pcre-devel-4.5-3
pcre-devel-4.5-3


Comment 2 Joe Orton 2004-11-17 20:11:46 UTC
Doh, I read this entire bug backwards :( Sorry.

Comment 3 Than Ngo 2004-11-18 10:32:40 UTC
it's now fixed in pcre-5.0-1.

Comment 4 Dmitri A. Sergatskov 2005-04-13 15:09:16 UTC
Can we get the fix into FC3 as well? 

Comment 5 Joe Orton 2005-04-13 15:11:34 UTC
No, that would break compatibility. 

Comment 6 Dmitri A. Sergatskov 2005-04-13 15:14:57 UTC
Can we add symlinks
pcre.h -> pcre/pcre.h
pcreposix.h -> pcre/pcreposix.h

?



Comment 7 Moritz Barsnick 2005-04-13 15:25:32 UTC
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?

Comment 8 Dmitri A. Sergatskov 2005-04-13 15:42:21 UTC
I opened the bug 
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154692
against FC3 as an enhancement request.



Note You need to log in before you can comment on or make changes to this bug.