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.
http://www.macports.org/
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.
http://lists.macosforge.org/mailman/listinfo/macports-users/
(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