[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 22:33:40 CET

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

> 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

Print $CPP, it should be something like "gcc -E".

> 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.

Does config.log still report "apr.h: No such file or directory"?

Create a file.c containing the two lines

#include <apr.h>
MaTcHtHiS APR_INT64_T_FMT EnDeNd

and you can run the failing command by hand, something like:

$ gcc -E -I /home/nori1/svnwc/subversion-ruby/apr/include file.c | grep 'MaTcHtHiS "lld" EnDeNd'

It's expected to result in one line of output:

MaTcHtHiS "lld" EnDeNd

-- 
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 22:34:51 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.