Bug 187702 - Names incorrect for includes and apr-config
Summary: Names incorrect for includes and apr-config
Alias: None
Product: Fedora
Classification: Fedora
Component: apr
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2006-04-03 00:06 UTC by Paul F. Johnson
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-04-03 07:23:33 UTC
Type: ---

Attachments (Terms of Use)

Description Paul F. Johnson 2006-04-03 00:06:08 UTC
Description of problem:
I'm trying to compile mod_mono for inclusion into FE. The configuration file
looks for /usr/bin/apr-config and /usr/include/apr, however, the current
versions in FC5 and rawhide have changed the names to apr-1-config and
/usr/include/apr-1 which causes the configuration script a multitude of headaches.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Download mod_mono from http://go-mono.com/packages
2. Run the configure script
Actual results:
The script bombs due to apr-config and /usr/include/apr not being named as expected

Expected results:
The configure script should run

Additional info:
If I do ln -s /usr/bin/apr-1-config /usr/bin/apr-config and
/usr/include/apr-1 /usr/include/apr

the configure script works.

Comment 1 Joe Orton 2006-04-03 07:23:33 UTC
That's the difference between APR 1.x and APR 0.9.x - mod_mono needs to be
ported to the former.

Comment 2 Paul F. Johnson 2006-04-03 07:49:34 UTC
Should make for an interesting hour's work...

Out of interest, when apr-2 comes out, will apr-config et al change to apr-2?
I'm still at a loss for the requirement for the name change given the likes of
wx-config and gtk-config both don't use the version number.

Comment 3 Joe Orton 2006-04-03 13:14:48 UTC
It's to allow parallel installation of the apr-0.9 and apr-1.x packages. 
glib/gtk et al deprecated the use of the -config files in the newer major
version, which avoids the problem. (and the equivalent pkg-config files are

Comment 4 Joe Orton 2006-04-03 13:15:55 UTC
Oh, and yes, the number will change to 2 with apr-2.  But you don't know whether
the current mod_mono sources will work with APR 2.x so I don't think it would be
correct to proactively search for that.

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