[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cannot configure

From: Kobayashi Noritada <nori1_at_dolphin.c.u-tokyo.ac.jp>
Date: 2005-01-28 18:17:54 CET

Hi,

From: Philip Martin <philip@codematters.co.uk>
Subject: Re: Cannot configure
Date: Fri, 28 Jan 2005 16:41:01 +0000

> >> > * /usr/include/apr-0/apr.h (system)
> >> > * $HOME/include/apr-0/apr.h (installed with subversion previously)
> >> > * $HOME/svnwc/subversion-ruby/apr/include/apr.h (build dir)
> >>
> >> Is there a value for SVN_APR_INCLUDES in config.log?
> >
> > No...
>
> I don't understand that. It's present on my machine if I make
> configure fail, I wonder why it's not present on your machine?
>
> > configure:3034: result: 0.9.5
> > configure:3378: result: 0.9.6
>
> That also looks a bit odd, apr and aprutil have different version
> numbers: 0.9.5 and 0.9.6. I'm going to guess you have aprutil in your
> Subversion source tree (because of the "reconfig" bit), and that you
> used "--with-apr=..." to get an already installed apr. That's not a
> good idea in general, but it should not cause the INT64 problem.

0.9.5 is from system apr-util and 0.9.6 is from builddir apu-util.
It is due to "--with-apr=..." as you mention.
Since I found "--with-apr=..." is not the cause, I'll not use it from now.

> You don't have SVN_APR_INCLUDES in config.log and configure doesn't
> tell us where it found APR, so it looks like we have to edit the
> configure script itself. Search for "lld" and add a debugging line to
> print CPPFLAGS as shown below:
>
> _ACEOF
> echo "CPPFLAGS: $CPPFLAGS" # add this line
> if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
> $EGREP "MaTcHtHiS \"lld\" EnDeNd" >/dev/null 2>&1; then
>
> There are probably three separate bits of code that look like the
> above, so modify all three. Then rerun configure and it should print
> the flags that are getting passed to cpp.

Thanks.
I tried and found an output as follows:

CPPFLAGS: -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE

Hmm..., Only -D's are seen.

-- 
|:  Noritada KOBAYASHI
|:  Dept. of General Systems Studies,
|:  Graduate School of Arts and Sciences, Univ. of Tokyo
|:  E-mail: nori1@dolphin.c.u-tokyo.ac.jp (preferable)
|:          nori@esa.c.u-tokyo.ac.jp
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 28 18:19:09 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.