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

Re: Subversion and OS X 10.4

From: Jeremy Pereira <jeremyp_at_jeremyp.net>
Date: 2006-09-01 13:32:57 CEST

On 1 Sep 2006, at 00:41, Blake Winton wrote:

> Hello,
>
> I've been trying to get the Subversion bindings for Python working
> with my Framework Python under Mac OS X 10.4. I would also like to
> have my own repository, available under http(s)://latte.ca/svn/
> using the WebDAV interface.
>
> I've gone back and forth, trying to get this all working, with no
> success. The most recent error (after installing Apache 2, and
> disabling the default Apache that came with OS X, and after
> compiling and configuring subversion three or four times (some
> with ./autogen.sh because a webpage recommended it, some without
> because some email said not to, some with an old apxs from
> DarwinPorts, some without, etc, etc) was make swig-py complaining
> about missing symbols. That led me to a page which said that I
> needed to compile neon myself, which I tried to, but apparently got
> version 26 instead of version 25.5.

I've had a go at this myself to see if I have any problems, but it
all seemed to work.

I built Apache 2.0.58, Berkeley DB 4.3.29, swig 1.3.29 and Subversion
1.3.1 from source on an Intel Mac with OS X 10.4.7 and using the gcc
supplied with XCode 2.4 (gcc 4.0.1), there are no fink or Darwinports
distributions hanging around. I built Neon and APR from the versions
included in the Subversion distribution. Everything is installed in /
usr/local.

My Apache config string is:

./configure --prefix=/usr/local/apache2 --enable-dav --enable-dav-fs
--enable-ssl --enable-so

My Swig config string is:

./configure --with-python=/usr/bin/python

(Don't know if I strictly need the --with-python switch, since it's
the default location)

My Subversion config string is:

./configure PYTHON=/usr/bin/python \
        --with-apxs=/usr/local/apache2/bin/apxs \
        --with-berkeley-db=/usr/local/BerkeleyDB.4.3 \
        --with-ssl --with-editor=vi \
        --with-swig=/usr/local/bin/swig

Again, don't know if I need the PYTHON=... bit

I got the below warnings in the subversion configuration which I
thought was quite amusing...

configure: WARNING: Detected SWIG version 1.3.29
configure: WARNING: This is not compatible with Subversion
configure: WARNING: Subversion can use SWIG version 1.3.24 or later

During make swig-py I got some further warnings:

libtool: link: warning: `/usr/lib/gcc/i686-apple-
darwin8/4.0.1/../../..//libiconv.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i686-apple-
darwin8/4.0.1/../../..//libiconv.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i686-apple-
darwin8/4.0.1/../../..//libiconv.la' seems to be moved

but no missing symbols and the dylibs have built OK

I haven't actually tested the swig bindings because I know nothing
about Python programming. If you'd like to give me a small Python
script that exercises the swig libraries, I'll see if they work
properly.

>
> So, I'm kind of tired and disillusioned at the whole process, and
> I'm asking for help. Is there a set of steps I can follow to get
> all of the following:
> 1) Subversion installed.
> 2) The Python bindings installed into my Framework Python.
> 3) A repository which I can access from http://latte.ca/svn/
>
> (And to think I bought a Mac because I was tired of the endless
> adminstration I had to do on my FreeBSD box.)
>
> Thank you all for any help you may be able to provide,
> Blake.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 1 13:34:33 2006

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