+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 78

Thread: SVN repository on bluehost

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    7

    Default I may have figured it out.

    When configuring Subversion, I entered

    ./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl LDFLAGS="-L/lib64"

    It worked. SVN is now up and running.

    I read this post to figure it out

  2. #2
    Join Date
    Jul 2006
    Location
    Melbourne, Australia
    Posts
    3

    Default Here's what finally worked for me

    Finally, with some great help from someone on this post, I have finally got SVN working on Bluehost on a 64 bit box.

    Here's the commands I used. Replace zzzzz with your username:

    Code:
    mkdir _src
    cd _src
    wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
    wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.gz
    tar -xzvf subversion-1.4.6.tar.gz
    tar -xzvf subversion-deps-1.4.6.tar.gz
    cd subversion-1.4.6
    cd apr
    ./configure --enable-shared --prefix=$HOME
    make && make install
    cd ../apr-util
    ./configure --enable-shared --prefix=$HOME \
         --with-expat=builtin --with-apr=$HOME \
         --without-berlekey-db
    make && make install
    cd ../neon
    EXTRA_CFLAGS="-L/usr/lib64 -fPIC"
    CFLAGS="-L/usr/lib64 -fPIC"
    ./configure --prefix=/home/zzzzz/system --enable-shared
    make && make install
    cd ..
    ./configure --prefix=/home/zzzzz/system --with-expat=builtin
    make && make install
    Then you need to edit .bash_profile to add /system/bin to your path. From your home folder:

    Code:
    nano -w .bash_profile
    replace:

    Code:
    PATH=$PATH:$HOME/bin
    with:

    Code:
    PATH=$PATH:$HOME/bin:$HOME/system/bin
    You will need to logout of your session, and then log in again. Subversion should now be working.

  3. #3

    Default

    Hi there,

    I'm aaaaaaaalmost 100% successfull with SVN+bluehost

    I would really appreciate if you could give me any tips of how to reach my goal

    My case:
    - SVN installed
    - Repository created and imported content from a dump file (<- i almost died here)
    - I can update the content with success (another pain here with windows)

    The thing is: when i change a file, and commit, with success, it doesn't really commit!
    When i check in the server the file is unchanged

    what could that be?
    what step am i missing?
    what's killing me is that i know it must be a detail!

    i don't know if i get happy or worried that i get no erros, as i can update and commit correctly (in theory)

  4. #4
    Join Date
    Jul 2007
    Posts
    4

    Default svn installation failed

    I was following the instructions in the previous post from davemac, but I got an error on the last make & make install

    ----------------------------------------------------------------------
    /usr/bin/install -c -m 644 expat.h /home/alttwois/system/include/apr-1
    make[3]: Leaving directory `/home/alttwois/_src/subversion-1.5.4/apr-util/xml/expat/lib'
    make[2]: Leaving directory `/home/alttwois/_src/subversion-1.5.4/apr-util/xml/expat'
    /bin/sh /home/alttwois/_src/subversion-1.5.4/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /home/alttwois/system/lib
    libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /home/alttwois/lib
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/alttwois/_src/subversion-1.5.4/apr-util'
    make: *** [external-install] Error 1

    There were also a number of earlier warnings, such as
    configure: WARNING: Unrecognized options: --with-expat

    Any suggestions?

    Thanks, Tara

  5. #5
    Join Date
    Mar 2009
    Posts
    1

    Default svnserve: command not found

    Everything works fine, right up through the very last step...

    When I try to import my source tree, or even do a "list" of my created repository, I get "bash: svnserve: command not found"

    Here's the command I'm using from the root source directory...
    Code:
    svn import . svn+ssh://domain.com/home7/username/repos/wpmu
    If i just ssh in, I can type "svnserve" and it finds the binary fine, which I take to mean that my path variables are set fine. So why doesn't it work? Any ideas?

    p.s. Is there any chance we could get Bluehost to install SVN site-wide? Dreamhost has it...

  6. #6

    Default

    Huh. I didn't even know I was on a 64bit box. Thanks for the link to the tutorial.
    I now have svn on my box.

  7. #7
    Join Date
    May 2009
    Posts
    1

    Default

    I guess --with-expat is an option for apr-util only so this can be ignored.
    Indeed previously apr-util was successfully installed so we just want to skip this error-causing step.
    Edit Makefile,
    find the line "VN_EXTERNAL_PROJECT_SUBDIRS =" and change to:
    VN_EXTERNAL_PROJECT_SUBDIRS = apr neon serf
    then:
    make install

    Quote Originally Posted by TaraAthan View Post
    /bin/sh /home/alttwois/_src/subversion-1.5.4/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /home/alttwois/system/lib
    libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /home/alttwois/lib
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/alttwois/_src/subversion-1.5.4/apr-util'
    make: *** [external-install] Error 1

    There were also a number of earlier warnings, such as
    configure: WARNING: Unrecognized options: --with-expat

    Any suggestions?

    Thanks, Tara

  8. #8
    Join Date
    May 2009
    Posts
    1

    Default

    Here's a more recent update of the script, with the latest versions of each of the programs. I had to add the sqlite3 dependency to get a successful install. After that, it was flawless.

    Unfortunately, I don't have write permission to ~/.bash_profile or ~/.bashrc, so I can't modify my $PATH to get svnserve to work properly. I've got a ticket in with bluehost to hopefully either modify the file for me or give me rights.


    Code:
    cd ~
    mkdir src
    cd ~/src
    wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.3.4.tar.gz
    wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.3.3.tar.gz
    wget http://subversion.tigris.org/downloads/subversion-1.6.2.tar.gz
    wget http://www.webdav.org/neon/neon-0.28.4.tar.gz
    wget http://www.sqlite.org/sqlite-amalgamation-3.6.14.2.tar.gz
    tar -xzf apr-util-1.3.4.tar.gz
    tar -xzf apr-1.3.3.tar.gz
    tar -xzf subversion-1.6.2.tar.gz
    tar -xzf neon-0.28.4.tar.gz
    tar -xzf sqlite-amalgamation-3.6.14.2.tar.gz
    cd ~/src/apr-1.3.3
    ./configure --prefix=$HOME LDFLAGS="-L/lib64"
    make
    make install
    cd ~/src/apr-util-1.3.4
    ./configure --prefix=$HOME --with-apr=$HOME LDFLAGS="-L/lib64"
    make
    make install
    cd ~/src/neon-0.28.4
    ./configure --enable-shared --prefix=$HOME LDFLAGS="-L/lib64"
    make
    make install
    cd ~/src/subversion-1.6.2
    ./configure --prefix=$HOME --without-berkeley-db --with-ssl --with-sqlite="~/src/sqlite-3.6.14.2/sqlite3.c" LDFLAGS="-L/lib64"
    make
    make install

  9. #9
    Join Date
    Jun 2009
    Posts
    2

    Default you wanted multiple users

    look i'v fond solution for me
    url

  10. #10
    Join Date
    Mar 2009
    Posts
    1

    Default

    i have installed sucsessfuly on 64 bit host

    Code:
    Here's the commands I used. Replace zzzzz with your username:
    
    mkdir _src
    cd _src
    wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
    wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.gz
    tar -xzvf subversion-1.4.6.tar.gz
    tar -xzvf subversion-deps-1.4.6.tar.gz
    cd subversion-1.4.6
    cd apr
    ./configure --enable-shared --prefix=$HOME
    make && make install
    
    cd ../apr-util
    ./configure --enable-shared --prefix=$HOME \
    --with-expat=builtin --with-apr=$HOME \
    --without-berlekey-db LDFLAGS="-L/lib64"
    
    make && make install
    cd ../neon
    EXTRA_CFLAGS="-L/usr/lib64 -fPIC"
    CFLAGS="-L/usr/lib64 -fPIC"
    ./configure --prefix=/home/zzzzz/system --enable-shared
    make && make install
    
    cd ..
    ./configure --prefix=/home/zzzzz/system --with-expat=builtin  LDFLAGS="-L/lib64"
    make && make install
    
    Then you need to edit 
    
    .bash_profile to add /system/bin to your path.
    From your home folder:
    
    nano -w .bash_profile
    
    add:
    :$HOME/system/bin
    
    after:
    PATH=$PATH:$HOME/bin
    
    so you get:
    PATH=$PATH:$HOME/bin:$HOME/system/bin
    
    You will need to logout of your session, and then log in again. Subversion should now be working.
    
    
    ----
    Or install git
    an other trend today is Git! 
    you can get the latest version from http://git-scm.com/
    
    wget http://kernel.org/pub/software/scm/git/git-1.6.2.1.tar.gz
    
    tar -xzvf git-1.6.2.1.tar.gz
    cd git-1.6.2.1
    ./configure --prefix=$HOME  LDFLAGS="-L/lib64"
    make && make install

+ Reply to Thread

Posting Permissions

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