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

Re: SVN Build issue(s)

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-03-20 20:13:54 CET

On Wed, Mar 20, 2002 at 06:44:22AM -0800, Adam W. Montville wrote:
>...
> I have attempted to run the following command:
>
> ./configure --with-apr=<svn_src_tree_root>/apr \
> --with-apr-util=<svn_src_tree_root>/apr-util \
> --enable-maintainer-mode \
> --disable-shared

Following the instructions in INSTALL, there isn't a need to use the
--with-apr and --with-apr-util switches. (Kevin also mentioned this)

>...
> In file included from subversion/bindings/swig/swigutil.c:24:
> subversion/bindings/swig/swigutil.h:33:20: Python.h: No such file or
> directory
> subversion/bindings/swig/swigutil.c:28:20: Python.h: No such file or
> directory
> make: *** [subversion/bindings/swig/swigutil.lo] Error 1
>
> I understand perfectly well what it all means, but I'm wondering how I'm
> supposed to resolve it, especially when I have Python installed on my
> box.

Ah. Looks like we don't have enough tests in our configure script. It
appears you have Python installed, but not a python development package.
You're missing the headers (and probably the .a lib and stuff).

Install a python-devel package to build the swig stuff. If you aren't
interested in building the swig stuff, then something will need to be done
to the configure(.in) script to disable the attempt to build the swig stuff.
There are a couple options: 1) add a --disable-swig (which we also want for
other reasons), and 2) improve configure.in to also check for Python
headers' existence.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 20 20:11:06 2002

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