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

Re: error when installing subversion from source

From: Roel Van Reeth <brain99_at_gawab.com>
Date: 2007-09-22 16:28:17 CEST

Hey,
just to let you all know I managed to fix the thing, and how I did that.
Apparantly I did have the missing file, I only misused the find command
while being in a hurry to fix this problem.

After a lot of googling etc, I fixed the problem by adding /usr/local/lib
and /usr/local/apache2/lib to my /etc/ld.so.conf file.
Finally I can start using subversion! :-)

Boris, thanks again for pointing me in the right direction to get this thing
to compile.

Greetings,
Roel

Roel Van Reeth wrote:
> All right, I think this may be related to the first few lines of
> output from make install:
> /usr/bin/install -c -d /usr/local/lib
> cd subversion/libsvn_subr ; /bin/sh /tmp/subversion-1.4.5/libtool
> --mode=install /usr/bin/install -c libsvn_subr-1.la
> /usr/local/lib/libsvn_subr-1.la
> /usr/bin/install -c .libs/libsvn_subr-1.so.0.0.0
> /usr/local/lib/libsvn_subr-1.so.0.0.0
> (cd /usr/local/lib && { ln -s -f libsvn_subr-1.so.0.0.0
> libsvn_subr-1.so.0 || { rm -f libsvn_subr-1.so.0 && ln -s
> libsvn_subr-1.so.0.0.0 libsvn_subr-1.so.0; }; })
> (cd /usr/local/lib && { ln -s -f libsvn_subr-1.so.0.0.0
> libsvn_subr-1.so || { rm -f libsvn_subr-1.so && ln -s
> libsvn_subr-1.so.0.0.0 libsvn_subr-1.so; }; })
> /usr/bin/install -c .libs/libsvn_subr-1.lai
> /usr/local/lib/libsvn_subr-1.la
> /usr/bin/install -c .libs/libsvn_subr-1.a /usr/local/lib/libsvn_subr-1.a
>
> I don't know much about makefiles etc, and I wonder if the {rm -f
> libsvn_subr-1.so.....}
> might have anything to do with my problem? Because when I search for
> libsvn_subr-1.so.0
> it is not found anywhere on my system...
>
> Roel Van Reeth wrote:
>> Thanks, that worked to solve those errors, but now I have another one
>> (see below).
>> Perhaps it would also have worked with the latest apr version
>> (without apache),
>> I don't know.
>>
>> So, now I can run make and it finishes without errors. But when I run
>> 'make install' I
>> get a lot of output with at the end:
>> subversion/svnversion/svnversion . /repos/svn/trunk >
>> /usr/local/include/subversion-1/svn-revision.txt
>> /tmp/subversion-1.4.5/subversion/svnversion/.libs/lt-svnversion:
>> can't load library 'libsvn_subr-1.so.0'
>> make: *** [revision-install] Error 16
>>
>> Any more ideas?
>>
>>
>> Boris Yazlovitsky wrote:
>>> I had a similar (apr related errors) problem building subversion.
>>> it was 'fixed' by building apache2 first and linking to the apr
>>> therein.
>>>
>>>
>>> On 9/18/07, * Roel Van Reeth* <brain99@gawab.com
>>> <mailto:brain99@gawab.com>> wrote:
>>>
>>> Yes, on my first attempts I unpacked subversion-deps along with
>>> subversion.
>>> When that didn't work I manually installed apr and apr-util
>>> (latest versions
>>> from the 0.9.x branch) and neon (0.26.4 or something), which gave
>>> me exactly
>>> the same errors (the ones quoted below).
>>>
>>> After some googling I found that apr_xlate_open seems to be
>>> related to iconv
>>> stuff, so I rebuilt apr-util paying special attention to the
>>> --with-iconv argument,
>>> but that didn't help either.
>>>
>>> As for the OS - it's a custom Linux, based on the 2.6.17.14
>>> <http://2.6.17.14> kernel, actually
>>> running on a Western Digital Mybook World Edition NAS (which I'm
>>> trying to
>>> put to better use). More information can be found on the WD forums
>>> or on a
>>> wikidot wiki about these NAS disks.
>>>
>>>
>>> Skochinski Edward J Civ 412 RANS/ENRSP wrote:
>>> > What O/S and version are you running?
>>> > Did you unpack subversion-deps along with subversion before
>>> running
>>> > ./configure?
>>> >
>>> > -----Original Message-----
>>> > From: Roel Van Reeth [mailto:brain99@gawab.com
>>> <mailto:brain99@gawab.com>]
>>> > Sent: Tuesday, September 18, 2007 7:27 AM
>>> > To: users@subversion.tigris.org
>>> <mailto:users@subversion.tigris.org>
>>> > Subject: error when installing subversion from source
>>> >
>>> > Hi,
>>> > I've been trying to install subversion for quite some time now
>>> (started
>>> > fiddling with it in the weekend) but I keep bumping into errors.
>>> > At first I got zlib required errors; in the end I installed all
>>> > dependencies manually but now I get errors I wouldn't know how
>>> to fix
>>> > :-(
>>> > When running make all goes fine until at a certain point it
>>> complains
>>> > about undefined references to apr stuff
>>> >
>>> >
>>> /tmp/subversion-1.4.5/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
>>> > undefined reference to `apr_xlate_open'
>>> >
>>> /tmp/subversion-1.4.5/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
>>> > undefined reference to `apr_uuid_format'
>>> >
>>>
>>> /tmp/subversion-1.4.5/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so:
>>> > undefined reference to `apr_md5_final'
>>> >
>>>
>>> /tmp/subversion-1.4.5/subversion/libsvn_ra_dav/.libs/libsvn_ra_dav-1.so:
>>>
>>> >
>>> > undefined reference to `apr_xml_quote_string'
>>> >
>>>
>>> /tmp/subversion-1.4.5/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so:
>>> > undefined reference to `apr_md5'
>>> > /tmp/subversion-1.4.5/subversion/libsvn_subr/.libs/libsvn_subr-
>>> 1.so:
>>> > undefined reference to `apr_xlate_conv_buffer'
>>> >
>>> /tmp/subversion-1.4.5/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
>>> > undefined reference to `apr_uuid_get'
>>> > /tmp/subversion-1.4.5
>>> /subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so:
>>> > undefined reference to `apr_md5_init'
>>> >
>>>
>>> /tmp/subversion-1.4.5/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so:
>>> > undefined reference to `apr_md5_update'
>>> >
>>>
>>> /tmp/subversion-1.4.5/subversion/libsvn_ra_svn/.libs/libsvn_ra_svn-1.so:
>>>
>>> >
>>> > undefined reference to `apr_uri_parse'
>>> >
>>> > I hope someone here can help me 'cause it's driving me crazy -
>>> if you
>>> > need more info I'll be happy to provide it.
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>> <mailto:users-unsubscribe@subversion.tigris.org>
>>> > For additional commands, e-mail:
>>> users-help@subversion.tigris.org
>>> <mailto:users-help@subversion.tigris.org>
>>> >
>>> >
>>> >
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>> <mailto:users-unsubscribe@subversion.tigris.org>
>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>> <mailto:users-help@subversion.tigris.org>
>>>
>>>
>>>
>>>
>>> --
>>> http://www.myspace.com/acrylickalchemical
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 22 16:28:39 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.