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

link error with 1.7.3

From: rupert.thurner <rupert.thurner_at_gmail.com>
Date: Sat, 3 Mar 2012 04:41:19 -0800 (PST)

hi,

is there anything in the subversion build script(s) which enforces a
location "lib/svn", instead of only "lib" ?

opencsw solaris packages have all the libraries in /opt/csw/lib. if we
set the flags to it with:
SVNLIB = $(prefix)/lib
...
CONFIGURE_ARGS = $(DIRPATHS) --libdir=$(SVNLIB) --libexecdir=$
(SVNLIB)
CONFIGURE_ARGS += --disable-mod-activation
CONFIGURE_ARGS += --with-jdk=/usr/jdk/j2sdk1.4.2_02/j2se
CONFIGURE_ARGS += --enable-javahl
CONFIGURE_ARGS += --with-apr=$(bindir)/apr-1-config
CONFIGURE_ARGS += --with-apr-util=$(bindir)/apu-1-config
CONFIGURE_ARGS += --with-apxs=$(prefix)/apache2/sbin/apxs
CONFIGURE_ARGS += --with-gnome-keyring=$(prefix)
CONFIGURE_ARGS += --with-jdk=$(JAVA_HOME)
CONFIGURE_ARGS += --with-sasl=$(prefix)
CONFIGURE_ARGS += --with-serf=$(prefix)
CONFIGURE_ARGS += --with-ssl=$(prefix)
CONFIGURE_ARGS += --with-zlib=$(prefix)

cd subversion/bindings/swig/python/libsvn_swig_py ; /bin/bash /home/
rupert/mgar-sav/pkg/subversion/trunk/work/solaris10-i386/build-isa-
i386/subversion-1.7.3/libtool --mode=install /opt/csw/bin/ginstall -c
libsvn_swig_py-1.la /home/rupert/mgar-sav/pkg/subversion/trunk/work/
solaris10-i386/install-isa-i386/lib/python/opt/csw/lib/
libsvn_swig_py-1.la
libtool: install: warning: relinking `libsvn_swig_py-1.la'
libtool: install: (cd /home/rupert/mgar-sav/pkg/subversion/trunk/work/
solaris10-i386/build-isa-i386/subversion-1.7.3/subversion/bindings/
swig/python/libsvn_swig_py; /bin/bash /home/rupert/mgar-sav/pkg/
subversion/trunk/work/solaris10-i386/build-isa-i386/subversion-1.7.3/
libtool --tag CC --silent --mode=relink /opt/SUNWspro/bin/cc -xO3 -
m32 -xarch=386 -mt -D_LARGEFILE64_SOURCE -DNE_LFS -m32 -xarch=386 -L/
opt/csw/bdb48/lib -L/opt/csw/lib -L/opt/csw/lib -lintl -liconv -L/opt/
csw/bdb48/lib/. -L/opt/csw/lib -L/opt/csw/lib -rpath /opt/csw/lib -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/opt/csw/lib -laprutil-1 -L/opt/csw/lib -lapr-1 -
lsocket -inst-prefix-dir /home/rupert/mgar-sav/pkg/subversion/trunk/
work/solaris10-i386/install-isa-i386/lib/python)
ld: fatal: library -lsvn_client-1: not found
ld: fatal: File processing errors. No output written to .libs/
libsvn_swig_py-1.so.0.0.0
libtool: install: error: relink `libsvn_swig_py-1.la' with the above
command before installing it
gmake[2]: * [install-swig-py-lib] Error 1
gmake[2]: Leaving directory `/home/rupert/mgar-sav/pkg/subversion/
trunk/work/solaris10-i386/build-isa-i386/subversion-1.7.3'
gmake[1]: * [svn-python] Error 2
gmake[1]: Leaving directory `/home/rupert/mgar-sav/pkg/subversion/
trunk'
gmake: * [merge-isa-i386] Error 2

and if we set
SVNLIB = $(prefix)/lib/svn

everything compiles. and it puts the python files in lib/svn/python,
which is a location where we do not want to have them.

rupert.
Received on 2012-03-03 13:41:50 CET

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