You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Garrett Rooney <ro...@electricjellyfish.net> on 2002/05/08 20:03:05 UTC
problem building apr-util with old apr headers on the system
hi,
in the process of upgrading the freebsd apr port to a more recent
snapshot, i ran into a problem where i was picking up old apr headers,
which broke the build for apr-util.
it seems like i can work around the problem by simply changing the
order of the INCLUDES line in the Makefile.in's in apr-util.
replacing
INCLUDES = @APR_INCLUDES@ @APRUTIL_INCLUDES@ @APRUTIL_PRIV_INCLUDES@
with
INCLUDES = @APR_INCLUDES@ @APRUTIL_PRIV_INCLUDES@ @APRUTIL_INCLUDES@
lets the build complete. the problem is that @APRUTIL_INCLUDES@ has
-I/usr/local/include in it, since we're using a version of expat
that's installed in /usr/local. unfortunately, the old apr headers
are also in /usr/local/include, thus the problem.
is there any reason not to simply switch the order of these includes?
thanks,
-garrett
--
garrett rooney Remember, any design flaw you're
rooneg@electricjellyfish.net sufficiently snide about becomes
http://electricjellyfish.net/ a feature. -- Dan Sugalski
Re: problem building apr-util with old apr headers on the system
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On Wed, May 08, 2002 at 03:02:06PM -0700, Justin Erenkrantz wrote:
> On Wed, May 08, 2002 at 02:03:05PM -0400, Garrett Rooney wrote:
> > hi,
> >
> > in the process of upgrading the freebsd apr port to a more recent
> > snapshot, i ran into a problem where i was picking up old apr headers,
> > which broke the build for apr-util.
>
> I just committed a fix based on your suggestion (taking it one
> step further and placing it before APR_INCLUDES).
great!
> Can you please try it out? -- justin
as far as i can tell it's working fine. i just built a newly checked
out apr-util on a system that has an older version installed and it
seems to have worked fine.
thanks,
-garrett
--
garrett rooney Remember, any design flaw you're
rooneg@electricjellyfish.net sufficiently snide about becomes
http://electricjellyfish.net/ a feature. -- Dan Sugalski
Re: problem building apr-util with old apr headers on the system
Posted by Justin Erenkrantz <je...@apache.org>.
On Wed, May 08, 2002 at 02:03:05PM -0400, Garrett Rooney wrote:
> hi,
>
> in the process of upgrading the freebsd apr port to a more recent
> snapshot, i ran into a problem where i was picking up old apr headers,
> which broke the build for apr-util.
I just committed a fix based on your suggestion (taking it one
step further and placing it before APR_INCLUDES).
Can you please try it out? -- justin