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

apr linkage error building subversion 1.4.3 on Linux

From: Jerome Benezech <jbenezech_at_yahoo.com>
Date: 2007-06-06 13:38:32 CEST

Hi all,

I'm trying to build subversion 1.4.3 on GNU/Linux,
without apache (svnserve only).
I downloaded and installed apr and apr-util in my user
directory (not /usr/local).
I ran the autogen script for subversion and the
configure script like this:

[~/svn/subversion-1.4.3]# ./configure --prefix=/home2
/damien/svn
-with-apr=/home2/damien/svn/bin/apr-1-config
--with-apr-util=/home2/damien/svn/bin/apu-1-config
--with-ssl

When running the make, I get the following error
related to apr linkage:

cd subversion/libsvn_subr && /bin/sh
/home2/damien/svn/subversion-1.4.3/libtool --tag=CC
--silent --mode=link gcc -g -O2 -g -O2 -pthread
-rpath /home2/damien/svn/lib -o libsvn_subr-1.la
auth.lo cmdline.lo compat.lo config.lo config_aut
h.lo config_file.lo config_win.lo constructors.lo
ctype.lo date.lo dso.lo error.lo hash.lo io.lo
kitchensink.lo lock.lo md5.lo nls.lo opt.lo path.lo
pool.lo prompt.lo quoprint.lo simple_providers.lo
sorts.lo ssl_client_cert_providers.lo
ssl_client_cert_pw_providers.lo
ssl_server_trust_providers.lo stream.lo subst.lo sv
n_base64.lo svn_string.lo target.lo time.lo user.lo
username_providers.lo utf.lo utf_validate.lo
validate.lo version.lo xml.lo
/home2/damien/svn/lib/libaprutil-1.la -lexpat
/home2/damien/svn/lib/libapr-1.la -luuid -lrt -lcrypt
-lpthread -ldl -lz
grep: /usr/local/apr/lib/libapr-1.la: No such file or
directory
/bin/sed: can't read /usr/local/apr/lib/libapr-1.la:
No such file or directory
libtool: link: `/usr/local/apr/lib/libapr-1.la' is not
a valid libtool archive
make: *** [subversion/libsvn_subr/libsvn_subr-1.la]
Error 1

Somehow, the make is looking in the default /usr/local
directory for apr library which is actually installed
in /home2/damien/svn/lib

Did I do something wrong a some point or is this a
subversion build problem ? How to I get around it ?

Any help greatly appreciated.

Jerome

Jerome Benezech
jbenezech@yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 6 13:38:55 2007

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.