Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 80

Thread: SVN repository on bluehost

  1. #21
    Join Date
    Nov 2008
    Posts
    13

    Default

    Quote Originally Posted by davemac View Post
    Finally, with some great help from someone on this post, I have finally got SVN working on Bluehost on a 64 bit box.
    This works great. thanks.

  2. #22
    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

  3. #23
    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...

  4. #24

    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.

  5. #25
    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

  6. #26
    Join Date
    Apr 2009
    Posts
    1

    Default

    Quote Originally Posted by helpmepro1 View Post
    i have installed sucsessfuly on 64 bit host
    I had been having some trouble installing on 64bit, but your instructions worked perfectly. Thanks for sharing and saving me a ton of time.

  7. #27
    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. #28
    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. #29
    Join Date
    Jun 2009
    Posts
    2

    Default you wanted multiple users

    look i'v fond solution for me
    url

  10. #30
    Join Date
    Jun 2009
    Location
    Hamburg, Germany
    Posts
    1

    Post

    I get this error while trying to "make" subversion-1.6.2. I followed Flintpaper's guide for installing with the latest versions. How can I fix this, or am I doing something wrong somewhere?

    Code:
    In file included from /usr/include/apr-1/apr_file_io.h:29,
                     from ./subversion/include/svn_io.h:33,
                     from ./subversion/include/svn_base64.h:28,
                     from subversion/libsvn_subr/cache-memcache.c:22:
    /usr/include/apr-1/apr_file_info.h:137: error: redefinition of typedef 'apr_ino_t'
    /home3/zzzzzz/include/apr-1/apr.h:287: error: previous declaration of 'apr_ino_t' was here
    make: *** [subversion/libsvn_subr/cache-memcache.lo] Error 1

Posting Permissions

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