[Modcplusplus-devel] 1.5.1 fails to compile on Gentoo (missing include)
Brought to you by:
gr84b8,
johnksterling
|
From: Michael S. <ms...@ca...> - 2005-05-25 11:16:00
|
for some reason the local 'include' does not get included on Gentoo and
the build fails.
I've added the following patch to my ebuild to make it work:
--- configure.in.orig 2005-05-25 12:16:13.000000000 +0200
+++ configure.in 2005-05-25 12:14:27.000000000 +0200
@@ -27,7 +27,7 @@
cxxflags=`$withval -q CXXFLAGS`
extra_cppflags=`$withval -q EXTRA_CPPFLAGS`
extra_cflags=`$withval -q EXTRA_CFLAGS`
- INCLUDES="-I$apache_inc -I$apr_inc -I$apu_inc"
+ INCLUDES="-I../include -I$apache_inc -I$apr_inc -I$apu_inc"
HTTPD_DIR=`$withval -q PREFIX`
CONF_DIR=`$withval -q SYSCONFDIR`
MODULES_DIR=`$withval -q LIBEXECDIR`
The ebuild can be checked-out here:
http://sipx-wiki.calivia.com/svn/sipx-ebuilds/www-apache/mod_cplusplus/
Mike
|