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

Re: subversion swig-python

From: Jon Scott Stevens <jon_at_latchkey.com>
Date: 2005-02-04 17:50:37 CET

Well, here is part of the problem...

For some reason, my CFLAGS are not being passed to 'make swig-py' while
for the rest of the build they are.

Sorry for all the text, but here it is...as you can see -L/sw/lib is in
there during the building of the libs...

/usr/local/src/subversion/subversion-1.1.3/ac-helpers/install-sh -c -d
/usr/local/lib
cd subversion/bindings/swig/python/libsvn_swig_py ; /bin/sh
/usr/local/src/subversion/subversion-1.1.3/libtool --mode=install
/usr/local/src/subversion/subversion-1.1.3/ac-helpers/install-sh -c
libsvn_swig_py-1.la /usr/local/lib/libsvn_swig_py-1.la
libtool: install: warning: relinking `libsvn_swig_py-1.la'
(cd
/usr/local/src/subversion/subversion-1.1.3/subversion/bindings/swig/
python/libsvn_swig_py; /bin/sh
/usr/local/src/subversion/subversion-1.1.3/libtool --mode=relink gcc -g
-O2 -g -O2 -multiply_defined suppress -L/sw/lib
-L/usr/local/src/subversion/subversion-1.1.3/apr-util/xml/expat/lib
-rpath /usr/local/lib -L/usr/local/lib -Wl,-framework -Wl,Python -o
libsvn_swig_py-1.la swigutil_py.lo -lswigpy
../../../../../subversion/libsvn_subr/libsvn_subr-1.la
../../../../../subversion/libsvn_delta/libsvn_delta-1.la
/usr/local/src/subversion/subversion-1.1.3/apr-util/libaprutil-0.la
-ldb-4.2
/usr/local/src/subversion/subversion-1.1.3/apr-util/xml/expat/lib/
libexpat.la -liconv
/usr/local/src/subversion/subversion-1.1.3/apr/libapr-0.la -lresolv
-lpthread -lintl)
gcc -r -keep_private_externs -nostdlib -o
.libs/libsvn_swig_py-1.0.0.0.dylib-master.o swigutil_py.lo && gcc
-dynamiclib -flat_namespace -undefined suppress -o
.libs/libsvn_swig_py-1.0.0.0.dylib
.libs/libsvn_swig_py-1.0.0.0.dylib-master.o
-L/usr/local/src/subversion/subversion-1.1.3/subversion/libsvn_subr/
.libs -L/usr/local/src/subversion/subversion-1.1.3/apr/.libs
-L/usr/local/src/subversion/subversion-1.1.3/apr-util/xml/expat/lib/
.libs -L/usr/local/src/subversion/subversion-1.1.3/apr-util/.libs
-L/sw/lib
-L/usr/local/src/subversion/subversion-1.1.3/apr-util/xml/expat/lib
-L/usr/local/lib /usr/local/lib/libswigpy.dylib
/usr/local/lib/libsvn_subr-1.dylib /usr/local/lib/libsvn_delta-1.dylib
/usr/local/apr/lib/libaprutil-0.dylib /sw/lib/libdb-4.2.dylib
/usr/local/apr/lib/libexpat.dylib /sw/lib/libiconv.dylib
/usr/local/apr/lib/libapr-0.dylib -lresolv -lpthread
/sw/lib/libintl.dylib -lc -framework Python -install_name
/usr/local/lib/libsvn_swig_py-1.0.dylib -compatibility_version 1
-current_version 1.0
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset

But when the other libs are built further down, it isn't...is this a
bug in the libtool that is included with Subversion?

/usr/local/src/subversion/subversion-1.1.3/ac-helpers/install-sh -c -d
/usr/local/lib/svn-python/libsvn
cd subversion/bindings/swig/python ; /bin/sh
/usr/local/src/subversion/subversion-1.1.3/libtool --mode=install
/usr/local/src/subversion/subversion-1.1.3/ac-helpers/install-sh -c
_client.la /usr/local/lib/svn-python/libsvn/_client.la
libtool: install: warning: relinking `_client.la'
(cd
/usr/local/src/subversion/subversion-1.1.3/subversion/bindings/swig/
python; /bin/sh /usr/local/src/subversion/subversion-1.1.3/libtool
--mode=relink gcc -bundle -Wl,-F/Library/Frameworks -Wl,-framework
-Wl,Python -L/usr/local/lib -rpath /usr/local/lib/svn-python/libsvn
-avoid-version -module -o _client.la svn_client.lo -lswigpy
../../../../subversion/bindings/swig/python/libsvn_swig_py/
libsvn_swig_py-1.la
../../../../subversion/libsvn_client/libsvn_client-1.la
../../../../subversion/libsvn_subr/libsvn_subr-1.la
/usr/local/src/subversion/subversion-1.1.3/apr/libapr-0.la -lresolv
-lpthread -lintl)

*** Warning: linker path does not have real file for library -lintl.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libintl and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libSystem.B.dylib

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module _client. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru .libs/_client.a svn_client.o
ranlib .libs/_client.a
creating _client.la
(cd .libs && rm -f _client.la && ln -s ../_client.la _client.la)
/usr/local/src/subversion/subversion-1.1.3/ac-helpers/install-sh -c
.libs/_client.lai /usr/local/lib/svn-python/libsvn/_client.la
/usr/local/src/subversion/subversion-1.1.3/ac-helpers/install-sh -c
.libs/_client.a /usr/local/lib/svn-python/libsvn/_client.a
ranlib /usr/local/lib/svn-python/libsvn/_client.a
chmod 644 /usr/local/lib/svn-python/libsvn/_client.a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 4 17:54:21 2005

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.