You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Cyrille <cy...@giquello.com> on 2009/04/09 13:50:33 UTC
Help, subversion 1.6.0 configure error with Berkeley DB
Hello,
Can you help me to find the right syntax for the --with-berkeley-db option.
BerkeleyDB is installed at /usr/local/BerkeleyDB.4.7
# ls /usr/local/BerkeleyDB.4.7
bin docs include lib
Here is my configure command that has a syntax error :
./configure --with-apxs=/usr/local/apache2/bin/apxs
--with-berkeley-db=db.h:/usr/local/BerkeleyDB.4.7/include:/usr/local/BerkeleyDB.4.7/lib:libdb
Thanks
Cyrille
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1614382
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: Help, subversion 1.6.0 configure error with Berkeley DB
Posted by Cyrille <cy...@giquello.com>.
Ok, I've found the right syntax :
./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache2/bin/apxs --with-berkeley-db
=db.h:/usr/local/BerkeleyDB.4.7/include:/usr/local/BerkeleyDB.4.7/lib:db
BUT I add to made a change in the script configure: Removing the -o option for $EGREP
changed line :
<code>
...
if test -n "`echo "$withval" | $EGREP -o ":.*:.*:"`"; then
...
</code>
to :
<code>
...
if test -n "`echo "$withval" | $EGREP ":.*:.*:"`"; then
...
</code>
because the /bin/grep command on my system does not know the -o option.
cyrille
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1614676
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].