Proper way to Rebuild Subversion 1.4.0_1 on FreeBSD 6.1

Here’s some info on the system:

# svn --version
/libexec/ld-elf.so.1: Shared object "libaprutil-1.so.2" not found, required by "svn"

# pkg_info | grep -i apache
apache-2.2.15_9     Version 2.2.x of Apache web server with prefork MPM.
apr-devrandom-gdbm-db42-ldap23-mysql50-1.4.2.1.3.9_1 Apache Portability Library

#  pkg_info subversion-1.4.0_1
Information for subversion-1.4.0_1:

i completely removed apache:

pkg_delete -f apache-2.\*

Then removed these subversion related files:

515 2010-07-10 18:47:59 rm -f /usr/local/lib/libexpat*
516 2010-07-10 18:48:09 rm -f /usr/local/lib/libapr*
517 2010-07-10 18:48:14 rm -f /usr/local/lib/libneon*
518 2010-07-10 18:48:27 rm -f /usr/local/lib/libsvn*

Rebuilt subversion from source, then installed apache from portmaster www/apache22 and did not upgrade openssl or the APR library subversion was using. that fixed it

Detailed commands:

# rm -f /usr/local/lib/libexpat*
# rm -f /usr/local/lib/libapr*
# rm -f /usr/local/lib/libneon*
# rm -f /usr/local/lib/libsvn*

portmaster devel/autoconf262
portmaster devel/automake19
 tar xjvf subversion-1.4.0.tar.bz2
 531  2010-07-10 19:17:07 cd /usr/local/share/aclocal/
  532  2010-07-10 19:17:10 ls
  533  2010-07-10 19:17:43 cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 >> libtool.m4
  534  2010-07-10 19:17:57 cd /usr/ports/distfiles/subversion/~src/subversion-1.4.0
  535  2010-07-10 19:18:47 sh ./autogen.sh
  536  2010-07-10 19:19:37 ./configure WITH_MOD_DAV_SVN=yes WITH_APACHE2_APR=yes
  537  2010-07-10 19:21:13 make
  538  2010-07-10 19:24:17 make install
  539  2010-07-10 19:27:17 ls
  540  2010-07-10 19:28:05 cp subversion/svnsync/svnsync.1 subversion/svnversion/svnsync.1
 541  2010-07-10 19:28:15 cd subversion/
  542  2010-07-10 19:28:17 ls
  543  2010-07-10 19:28:22 cd svnversion
  544  2010-07-10 19:28:24 ls
  545  2010-07-10 19:28:30 cd ..
  546  2010-07-10 19:28:31 ls
  547  2010-07-10 19:28:33 cd ..
  548  2010-07-10 19:28:58 make install
  549  2010-07-10 19:29:36 svn

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.