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

Re: Install Issue

From: Guido Larrain <larrainguido_at_gmail.com>
Date: Wed, 28 Aug 2013 16:16:01 -0300

Everything was kind of fine except when i was trying to build and then
install svn i'm getting another error now :(

here is what i did...

1- *./configure --prefix=/svndata/svnserver --without-berkeley-db
--with-apr=/svndata/svnserver --with-apr-util=/svndata/svnserver
--with-neon=/svndata/svnserver --without-apache
--with-apxs=/www/apache/bin/apxs CFLAGS="-L/usr/lib64 -fPIC"*
*<< this one went OK! >>*

2- *make*
*<< i got this msg >>*
/svndata/svnserver/build-1/libtool --silent --mode=link gcc
-L/www/openldap-2.4.36/libraries -static -o test/serf_get
libserf-0.latest/serf_get.lo /svndata/svnserver/lib/
libaprutil-1.la -lldap -llber -lpq -lsqlite3 -lexpat
 /svndata/svnserver/lib/libapr-1.la -lrt -lcrypt -lpthread -lz -lssl
-lcrypto
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make[1]: *** [test/serf_get] Error 1
make[1]: Leaving directory `/svndata/subversion-1.5.6/serf'
make: *** [external-all] Error 1

3- *make install*
*<< everything went fine until i got this at the end >>*
./subversion/libsvn_subr/libsvn_subr-1.la /svndata/svnserver/lib/
libaprutil-1.la -lldap -llber -lpq -lsqlite3 -lexpat /svndata/svnserver/lib/
libapr-1.la -lrt -lcrypt -lpthread
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make: *** [subversion/svnadmin/svnadmin] Error 1

i read somewhere that i need to specified where expat is located. Something
like --with-expat=/usr/local/include:/usr/local/lib:expat

Can someone tell me if that true? also is that necessary or it can be
excluded?

Thanks!

2013/8/28 Guido Larrain <larrainguido_at_gmail.com>

> yeap... i saw that early this morning... now i'm trying
> with openldap-2.4.36
>
> i'll let you know how it went. thanks!!
>
>
> 2013/8/28 Ryan Schmidt <subversion-2012c_at_ryandesign.com>
>
>>
>> On Aug 28, 2013, at 06:31, Guido Larrain wrote:
>>
>> > That's correct... but the thing is i only need the libraries from
>> openldap...
>> >
>> > so i've been trying with this command to create only a build as a client
>> >
>> > ./configure --prefix=/www/openldap-2.3.43 --disable-slapd
>> --disable-slurpd
>> >
>> > which finished successfully, then i ran this...
>> >
>> > make depend
>> >
>> > here is the result of the execution…
>>
>> > ../../include/ldap_pvt_thread.h:64:7: error: missing binary operator
>> before token "("
>>
>> > I really appreciate if some can help me with this matter. Thanks in
>> advance!
>>
>> I Googled this error message and was quickly led to this page:
>>
>>
>> http://icephoenix.us/linuxunix/build-openldap-2-3-x-from-sources-on-ubuntu/
>>
>> It says this is a bug in openldap that's fixed in version 2.4.15 and
>> later, or if you want to stay with 2.3.x you can apply a patch that they
>> have a link to.
>>
>>
>
>
> --
> Guido
>

-- 
Guido
Received on 2013-08-28 21:16:39 CEST

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.