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

Empty rpath when attempting make swig-py

From: jason mazzotta <jazzdman_at_gmail.com>
Date: Sat, 16 Nov 2013 23:53:36 -0500

Hi,
    I am trying to build the swig python bindings for subversion on Mac OS
X. I downloaded source for subversion from here:

http://opensource.apple.com/release/os-x-109/

I ran configure as follows:

./configure --prefix=/usr --with-swig --enable-swig-bindings=python

Make works. But then, when I run:

make swig-py

I get the following error from libtool

cd subversion/bindings/swig/python/libsvn_swig_py && /bin/sh
/Users/fred/sandbox/subversion-52/subversion/libtool --tag=CC --silent
--mode=link gcc -g -O2 -rpath -bundle -undefined dynamic_lookup
-Wl,-F. -o libsvn_swig_py-1.la swigutil_py.lo
../../../../../subversion/libsvn_client/libsvn_client-1.la../../../../../subversion/libsvn_wc/
libsvn_wc-1.la ../../../../../subversion/libsvn_ra/libsvn_ra-1.la../../../../../subversion/libsvn_delta/
libsvn_delta-1.la
../../../../../subversion/libsvn_subr/libsvn_subr-1.la-L/usr/lib
-R/usr/lib -laprutil-1 -lldap -llber -llber -lexpat -liconv
  -lsqlite3 -lldap -llber -llber -L/usr/lib -R/usr/lib -lapr-1
-lpthread -framework Security -framework CoreFoundation -framework
CoreServices

libtool: link: only absolute run-paths are allowed

make: *** [subversion/bindings/swig/python/libsvn_swig_py/
libsvn_swig_py-1.la] Error 1

I think this is because -rpath doesn't have anything after it. I looked at
the swig-py target in the Makefile and found the following:

swig-py: autogen-swig-py copy-swig-py

I can't find the target autogen-swig-py in the Makefile. Can anyone tell
me where I can find this target defined? Is there somewhere else I should
look to find why -rpath is empty above?

I am not subscribed to the subversion users e-mail list. I would
appreciate being Cc:ed in any responses.

Thank you,

Jason Mazzotta
Received on 2013-11-18 07:28:23 CET

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