Got error message when using SVN client

April 1, 2007 on 5:52 pm | In SVN |

Can’t set position pointer in file ‘/path/to/repos/db/revs/0′: Invalid argument

This message stuck me quite a few days.

The solution is:

Using –with-apr  and –with-apr-util when compiling  SVN  AND the paths pointing to  apache’s  package, namely like this

./configure --with-apxs=/usr/local/apache2/bin/apxs \
–with-apr=/source/httpd-2.2.4/srclib/apr \
–with-apr-util=/source/httpd-2.2.4/srclib/apr-util

updated by May 21, 2007
######################################################
if you got error massage like this:

no XML parser was found: expat or libxml 2.x required
configure failed for neon

you can do this first:
./configure --with-apxs=/usr/local/apache2/bin/apxs

then re-configure again.

I don’t know why, it is really weird.
######################################################

Notice that folder /source is for my case, you have to change it to your folder where the Apache’s source resides

Please don’t forget 

make clean

before you

make it again.

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Since May 6,2007 We have Visitors
dog ramps

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^