[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-01-28 17:41:01 CET

Kobayashi Noritada <nori1@dolphin.c.u-tokyo.ac.jp> writes:

> From: Philip Martin <philip@codematters.co.uk>
> Subject: Re: Cannot configure
> Date: Fri, 28 Jan 2005 15:11:23 +0000
>
>> > Hmm..., I see, it is the problem.
>> >
>> > Few apr.h's exists, but not in include/subversion-1/apr.h.
>> > They are in the following paths:
>> >
>> > * /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?

> Also, APR configuration log part in the config.log is as follows:
>
> configure:2765: Apache Portable Runtime (APR) library configuration
> configure:2793: checking for APR
> configure:2875: result: yes
> configure:3026: checking APR version
> configure:3034: result: 0.9.5
> configure:3112: Apache Portable Runtime Utility (APRUTIL) library configuration
> configure:3140: checking for APR-util
> configure:3222: result: reconfig
> configure:3364: checking APR-UTIL version
> configure:3378: result: 0.9.6
>
> It seems no problem...?

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.

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.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 28 17:42:25 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.