ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #06116
[Bug 1478588] Re: /usr/bin/apxs broken when apr15u-devel installed
I believe I have fixed these issues.
https://github.com/iuscommunity-
pkg/httpd24u/commit/c23a52076fb5b71c7c295151af71a86d84145046
The build httpd24u-2.4.16-2.ius will move to our testing repos during
tonight's automation. Once it does please test it and confirm if this
fixes your apxs issue.
** Changed in: ius
Status: New => In Progress
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1478588
Title:
/usr/bin/apxs broken when apr15u-devel installed
Status in IUS Community Project:
In Progress
Bug description:
The /usr/bin/apxs Perl script is provided by the httpd24u-devel package, and is needed for building Apache extensions. It uses pkg-config to get the libdir of the apr-1 package, as follows:
my $libdir = `pkg-config --variable=libdir apr-1`;
This returns an empty string if you have apr15u-devel installed, because its pkg-config file is named "apr15u-1.pc" rather than "apr-1.pc". The result is that you get the following error when executing apxs:
cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/bin/apxs line 214.
A workaround for this to symlink the *.pc files, like so:
$ ln -s /usr/lib64/pkgconfig/apr15u-1.pc /usr/lib64/pkgconfig/apr-1.pc
Extra details:
$ uname -a
Linux www.jci.dev 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS release 6.6 (Final)
$ yum list installed | egrep 'apr|httpd'
apr15u.x86_64 1.5.2-1.ius.centos6 @ius
apr15u-devel.x86_64 1.5.2-1.ius.centos6 @ius
apr15u-util.x86_64 1.5.4-3.ius.centos6 @ius
apr15u-util-devel.x86_64 1.5.4-3.ius.centos6 @ius
httpd24u.x86_64 2.4.12-5.ius.centos6 @ius
httpd24u-devel.x86_64 2.4.12-5.ius.centos6 @ius
httpd24u-filesystem.noarch 2.4.12-5.ius.centos6 @ius
httpd24u-tools.x86_64 2.4.12-5.ius.centos6 @ius
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1478588/+subscriptions
References