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

Re: test failures on OS X 10.4.11 with Python 2.5.1

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2008-01-01 22:09:51 CET

On Jan 1, 2008, at 11:39, Phil Schumm wrote:

> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning ../../../../
> subversion/bindings/swig/python/libsvn_swig_py/.libs/
> libsvn_swig_py-1.dylib cputype (18, architecture ppc) does not
> match cputype (7) for specified -arch flag: i386 (file not loaded)

This type of error usually means you are attempting to compile a
piece of software as a universal binary, but one of its dependencies
is not compiled as a universal binary.

> I have no idea whether any of these are expected, or whether they
> are related to the terminal error. Any suggestions for how to go
> about diagnosing (and hopefully correcting) this problem would be
> very much appreciated.

> P.S. In case it's helpful, here's my configure invocation:
> $ ./configure --without-berkeley-db --with-ssl --with-zlib
> PYTHON=/Library/Frameworks/Python.frame
> work/Versions/2.5/ --with-apxs=/usr/local/apache2/bin/apxs --with-
> apr=/usr/local/apache2 --with-apr-
> util=/usr/local/apache2 --with-neon=/usr/local --with-swig=/usr/
> local --enable-swig-bindings=python
> -prefix=/usr/local CFLAGS=-I/usr/local/include
> The CFLAGS setting is because I have gettext installed on the
> machine, and, without it, "make swig-py" complains that it can't
> find libintl.h. Alternatively, I have also tried just disabling
> gettext support entirely (i.e., with --disable-nls). This seems to
> have no effect on the error described above.

I think it would be simpler if you just install the MacPorts package
manager and use it to install Subversion and whatever bindings you want.


sudo port install subversion
sudo port install subversion-python25bindings

If you have any questions about MacPorts, come on over to the
macports-users mailing list.


(I will tell you before you get started, however, that you should
remove (or move aside) /usr/local before trying to use MacPorts,
otherwise MacPorts-installed software will inadvertently start using
things in /usr/local which will cause strange and exciting problems.)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 1 22:10:39 2008

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.