Hi,
I'm trying to build the swig bindings on MacOS X (10.2.3 with swig
1.3.16 from fink, db4.1 from fink, subversion r4353). Everything is
fine (normal make check passes, I've make installed everything else)
until:
% make swig-py-ext
[snip
build/lib.darwin-6.3-PowerMacintosh-2.2/svn/_client.so
build/lib.darwin-6.3-PowerMacintosh-2.2/svn/_delta.so
build/lib.darwin-6.3-PowerMacintosh-2.2/svn/_fs.so ]
gcc -L/sw/lib -bundle -bundle_loader /sw/bin/python
build/temp.darwin-6.3-PowerMacintosh-2.2/svn_ra.o -L/usr/local/apr/lib
-L/Users/willu/src/subversion/subversion/libsvn_client/.libs
-L/Users/willu/src/subversion/subversion/libsvn_delta/.libs
-L/Users/willu/src/subversion/subversion/libsvn_fs/.libs
-L/Users/willu/src/subversion/subversion/libsvn_ra/.libs
-L/Users/willu/src/subversion/subversion/libsvn_repos/.libs
-L/Users/willu/src/subversion/subversion/libsvn_wc/.libs
-L/Users/willu/src/subversion/subversion/libsvn_subr/.libs
-L/Users/willu/src/subversion/subversion/bindings/swig/.libs -L/sw/lib
-L/sw/lib -lsvn_ra-1 -lswigpy -o
build/lib.darwin-6.3-PowerMacintosh-2.2/svn/_ra.so
ld: build/temp.darwin-6.3-PowerMacintosh-2.2/svn_ra.o illegal reference
to symbol: _svn_ra_dav_init defined in indirectly referenced dynamic
library /usr/local/lib/libsvn_ra_dav-1.0.dylib
ld: build/temp.darwin-6.3-PowerMacintosh-2.2/svn_ra.o illegal reference
to symbol: _svn_ra_local_init defined in indirectly referenced dynamic
library /usr/local/lib/libsvn_ra_local-1.0.dylib
ld: build/temp.darwin-6.3-PowerMacintosh-2.2/svn_ra.o illegal reference
to symbol: _svn_ra_svn_init defined in indirectly referenced dynamic
library /usr/local/lib/libsvn_ra_svn-1.0.dylib
error: command 'gcc' failed with exit status 1
make: *** [swig-py-ext] Error 1
Two small questions:
i) is building .so files correct for swig on MacOS X?
ii) is building libraries starting with _ correct, or is a prefix
missing here?
leading the to the big question:
Anyone know how to make this work?
Thanks for any help,
Will :-}
P.S. I really want the swig bindings for a pre-commit hook for Issue
#667. svnlook doesn't give me quite the information I'm after.
--
Dr William Uther National ICT Australia
Phone: +61 2 9385 6926 School of Computer Science and
Engineering
Email: willu@cse.unsw.edu.au University of New South Wales
Jabber: willu@drobo.cse.unsw.edu.au Sydney, Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 12 05:52:37 2003