[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 21:29:41 CET

Hi,

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

> > Output values, $apr_config and $SVN_APR_INCLUDES, are proper.
> > apr-util works in this stage and it is consistent to other messages around.
> > But after a while, $SVN_APR_INCLUDES gets missed, -I field absent, apr.h
> > undetectable, and APR_INT64_T_FMT unrecognized...?
> > What happens during thousands of lines?
>
> I don't know what happens. SVN_APR_INCLUDES doesn't occur very often
> in the script and doesn't appear to ever get modified once it is set,
> but I'm not an expert on shell programming so perhaps I missed
> something.
>
> You could try printing $SVN_APR_INCLUDES at the place you printed
> $CPPFLAGS, just to confirm it is still set. You could also print
> $ac_cpp to make sure it still uses $CPPFLAGS.

Sorry, I noticed I'd made a little bit absurd mistake.
I've used 'configure' at r12557, which was followed by r12565.
It is because, before the first post, I tried running './configure' at
many revisions to know what revisions and what SWIG versions are problematic.

However, the controversial error occurs and APR_SVN_INCLUDES do not
appear in config.log at both revisions.

At r12565 (or after that), I got a following result:

  checking APR version... 0.9.6
  apr_config: ./apr/apr-config
  SVN_APR_INCLUDES: -I/home/nori1/svnwc/subversion-ruby/apr/include
  configure: Apache Portable Runtime Utility (APRUTIL) library configuration

and

  checking for apr_int64_t Python/C API format string... CPPFLAGS: -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I/home/nori1/svnwc/subversion-ruby/apr/include
  
  configure: error: failed to recognize APR_INT64_T_FMT on this platform

The former is the same, but the latter is different.
There is one '-I'; in $CPPFLAGS an -I is included until the last.
So -I is always present, but APR_INT64_T_FMT is not detected.

> If SVN_APR_INCLUDES is getting reset then I suppose you have to print
> it at various places through the script to find out where it is
> getting changed.

So, SVN_APR_INCLUDES do not get reset. I'm very sorry...

> I guess the other possibility is that it is some sort of bug in the
> shell? Are you using bash as your /bin/sh?

Yes. /bin/sh is a symlink to bash in my system.

Regards,

-- 
|:  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 21:33:18 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.