Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Install Subversion 1.4 in Dapper with SSL and Berkeley DB Support

  1. #11
    Join Date
    Apr 2006
    Beans
    15
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Install Subversion 1.4 in Dapper with SSL and Berkeley DB Support

    Quote Originally Posted by crouton View Post
    Just as an aside, the FSFS system is much better than the Berkely DB. Unless they've done an about-face since 1.2, there are a lot of reasons to stick with FSFS.
    They did actually do an about-face in 1.4 with regard to BDB.

    A common problem with previous versions of Subversion is that crashed server processes could leave BerkeleyDB-based repositories in an unusable "wedged" state, requiring administrators to manually intervene and bring back online. (Note: this is not due to bugs in BerkeleyDB, but due to the unorthodox way in which Subversion uses it!)

    Subversion 1.4 can now be compiled against BerkeleyDB 4.4, which has a new "auto-recovery" feature. If a Subversion server process crashes and leaves the repository in an inconsistent state, the next process which attempts to access the repository will notice the problem, grab exclusive control of the repository, and automatically recover it. In theory (and in our testing), this new feature makes BerkeleyDB-based repositories just as wedge-proof as FSFS repositories.
    Last edited by gadgetgirl; December 13th, 2006 at 08:51 PM.

  2. #12
    Join Date
    Apr 2005
    Beans
    75

    Re: Install Subversion 1.4 in Dapper with SSL and Berkeley DB Support

    for edgy try installing the packages at this location

    http://higepon.blogspot.com/2006/12/...untu-edgy.html
    Last edited by desheikh; January 1st, 2007 at 02:29 PM.

  3. #13
    Join Date
    Jan 2007
    Location
    San Diego, CA
    Beans
    Hidden!
    Distro
    Ubuntu 6.10 Edgy

    Re: Install Subversion 1.4 in Dapper with SSL and Berkeley DB Support

    Or...

    http://packages.debian.org/testing/devel/subversion

    Edited...

    Nevermind, that does not seem to work as well. Plus, it's a test release.
    Last edited by crisisfrog; January 19th, 2007 at 03:50 AM. Reason: libsvn1 not available

  4. #14
    Join Date
    Feb 2006
    Beans
    19

    Re: Install Subversion 1.4 in Dapper with SSL and Berkeley DB Support

    Look here
    http://tux.oclug.on.ca/pipermail/ocl...ay/038916.html

    Quote Originally Posted by ndrake View Post
    I also get errors when it tries to copy the apr stuff when doing the sudo checkinstall. I'm using Edgy too. Here are the actual messages:

    Code:
    mkdir /usr/local/apr/include/apr-0
    cp -p /home/ndrake/src/subversion-1.4.2/apr/include/*.h /usr/local/apr/include/apr-0;
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_allocator.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_allocator.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_atomic.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_atomic.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_compat.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_compat.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_dso.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_dso.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_env.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_env.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_errno.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_errno.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_file_info.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_file_info.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_file_io.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_file_io.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_fnmatch.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_fnmatch.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_general.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_general.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_getopt.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_getopt.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_global_mutex.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_global_mutex.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_hash.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_hash.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_inherit.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_inherit.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_lib.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_lib.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_mmap.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_mmap.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_network_io.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_network_io.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_poll.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_poll.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_pools.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_pools.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_portable.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_portable.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_proc_mutex.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_proc_mutex.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_ring.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_ring.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_shm.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_shm.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_signal.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_signal.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_strings.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_strings.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_support.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_support.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_tables.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_tables.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_thread_cond.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_thread_cond.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_thread_mutex.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_thread_mutex.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_thread_proc.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_thread_proc.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_thread_rwlock.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_thread_rwlock.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_time.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_time.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_user.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_user.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_version.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_version.h': No such file or directory
    cp: setting permissions for `/usr/local/apr/include/apr-0/apr_want.h': No such file or directory
    cp: preserving ACL for `/usr/local/apr/include/apr-0/apr_want.h': No such file or directory
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/ndrake/src/subversion-1.4.2/apr'
    make: *** [external-install] Error 1
    
    ****  Installation failed. Aborting package creation.
    I should also note that I'm attempting this with Subversion 1.4.2.

    EDIT: One other thing. If I do
    Code:
    sudo make install
    inside of the apr subdirectory, the mkdir and cp commands work fine.

  5. #15
    Join Date
    Jul 2006
    Location
    Phoenix
    Beans
    11
    Distro
    Ubuntu 6.06

    Re: Install Subversion 1.4 in Dapper with SSL and Berkeley DB Support

    Quote Originally Posted by rapido View Post
    I'm not sure that you will HAVE to rebuild Apache2. Here is a snippet from the release notes on tigris.org.



    I would simply try it. I'm guessing that out of the box with this install, Apache2 will not see the new library ( which is in /usr/local/lib ). This library was built with the Apache Portable Runtime as packaged by tigris.org. That would need to be made available to Apache2 to gain Subversion 1.4 benefit.

    If all else fails you may WANT to rebuild, to upgrade all related components to 1.4. In which case, follow the longer version of the install guide, first reading the INSTALL file looking for anything Apache related. There is an entire section devoted in the INSTALL file related to Apache.
    You don't have to rebuild apache2, but you will want to install apache2-threaded-dev and run the auto-apt configure line with --with-apxs2=/usr/lib/apxs2, --enable-dav, and --enable-so

    Code:
    sudo apt-get install apache2-threaded-dev
    sudo auto-apt run ./configure --with-ssl --enable-dav --enable-so  --with-berkeley-db=/usr --with-apxs2=/usr/bin/apxs2
    I ran into some conflicts installing the subversion deb file, so I used
    Code:
    sudo dpkg -i --force-all subversion_1.4.2-1_i386.deb
    also the new subversion install will add
    the following lines to your /etc/apache2/httpd.conf
    Code:
    LoadModule dav_svn_module /usr/lib/apache2/modules/mod_dav_svn.so
    LoadModule authz_svn_module /usr/lib/apache2/modules/mod_authz_svn.so
    If you installed libapache2-svn before, then these lines are redundant.
    You will receive a couple of "module XYZ_mod is already loaded" warnings when you stop and start apache. They also appear in /etc/apache2/mods-enabled/dav_svn.load. It is safe to remove the entries in httpd.conf.

  6. #16
    Join Date
    Jun 2005
    Beans
    141

    Re: Install Subversion 1.4 in Dapper with SSL and Berkeley DB Support

    Quote Originally Posted by gadgetgirl View Post
    They did actually do an about-face in 1.4 with regard to BDB.
    From my reading of http://svnbook.red-bean.com/nightly/...asics.backends it seems that not much has changed.

    The only real argument against FSFS is its relative immaturity compared to Berkeley DB. Unlike Berkeley DB, which has years of history, its own dedicated development team and, now, Oracle's mighty name attached to it, [32] FSFS is a much newer bit of engineering. Prior to Subversion 1.4, it was still shaking out some pretty serious data integrity bugs which, while only triggered in very rare cases, nonetheless did occur. That said, FSFS has quickly become the back-end of choice for some of the largest public and private Subversion repositories, and promises a lower barrier to entry for Subversion across the board.
    I think it is a great idea that there are two choices for back-end storage, but my personal leaning is towards FSFS. Cross-platform portability and cross-operating system portability are very, very nice.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •