How to install RapidSVN on Debian distribution?
How to install RapidSVN on Debian distribution?
Hi All,
Could anybody please help me on how to install rapidSVN on Debian? Actually, I'm new to the Linux world especially in terms of installation packages, so any help in regards to my above query shall highlly be appreciated!
I tried to find out ways on how to install RapidSVN with dselect or aptitude etc but no success and i couldn't find any resourceful material that could guide me in this direction.
By the way this is my linux distribution:
Linux version 2.6.19.5vmware (root@eu0163m) (gcc version 3.3.5 (Debian 1:3.3.5-1 3)) #1 SMP Mon Jun 25 16:50:50 CEST 2007
So waiting for your response!
Thanks in advance.
Regards sb.
Could anybody please help me on how to install rapidSVN on Debian? Actually, I'm new to the Linux world especially in terms of installation packages, so any help in regards to my above query shall highlly be appreciated!
I tried to find out ways on how to install RapidSVN with dselect or aptitude etc but no success and i couldn't find any resourceful material that could guide me in this direction.
By the way this is my linux distribution:
Linux version 2.6.19.5vmware (root@eu0163m) (gcc version 3.3.5 (Debian 1:3.3.5-1 3)) #1 SMP Mon Jun 25 16:50:50 CEST 2007
So waiting for your response!
Thanks in advance.
Regards sb.
You'd need to download the source code and build it.
There you will find how to build it on Linux.
You'll probably need to install some more packages that will allow you to build it something like:
You might need more packages since I build alot of software I probably already have some of the requirements.
Then:
I see there is a debian dir in the code but I did not get a chance to build a .deb. Might have a look at it later (but not this weekend).
Code: Select all
wget http://rapidsvn.org/download/release/0.9.6/rapidsvn-0.9.6.tar.gz
tar xjvf rapidsvn-0.9.6.tar.gz
cd rapidsvn-0.9.6
less README
You'll probably need to install some more packages that will allow you to build it something like:
Code: Select all
apt-get install libaprutil1 libaprutil1-dev libsvn-dev wx2.8-headers libwxgtk2.8-dev
Then:
Code: Select all
./configure
make
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
auto-apt can automatically get the necessary packages. Justin the directory and everything should compile and install just fine.
Code: Select all
apt-get install auto-apt
auto-apt run ./configure
auto-apt run make
make install
First of all Thank you to both of you for replying.
Actually i havent started working on this problem as i was stuck with soemthing else, but soon i'll get back into this problem.
So BioTube, you are suggesting that once I'm done with unzipping the archieve, then I should go into that directory and run these commands as mentioned.
I'll look in the README file as well, but just wanted to get a clear picture of what you said (if i have not understood you wrongly!)
Thanks.
Actually i havent started working on this problem as i was stuck with soemthing else, but soon i'll get back into this problem.
So BioTube, you are suggesting that once I'm done with unzipping the archieve, then I should go into that directory and run these commands as mentioned.
Code: Select all
apt-get install auto-apt
auto-apt run ./configure
auto-apt run make
make install
Thanks.
Well, you just run apt-get from anywhere. I only suggested auto-apt since you don't know if you have the dependencies. What it does is monitor the execution of a program and if it refers to a file that's in an noninstalled package, it pauses the program and installs the proper package(s), then resumes the program. This is transparent to the program and ensure there's no problems. Not too sure if it's config-script compatible, but it should be.
Of course you could always just apt-get rapidsvn.
Code: Select all
> apt-cache policy rapidsvn
rapidsvn:
Installed: (none)
Candidate: 0.9.6-0.2
Version table:
0.9.6-0.2 0
500 http://mirror.datafast.net.au testing/main Packages
500 http://mirror.datafast.net.au unstable/main Packages
0.9.4-1 0
500 http://ftp.us.debian.org etch/main Packages
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
Hi Guys,
Here is what i got after running ./configure command:
I read the README file as well but frankly i couldn't make much sense out of it:(. It is also asking to download SVN as well which I already have running and a couple of other things.
Could you please suggest what's currently a problem with the installation after looking at the console messages i put above?
Thanks.
Here is what i got after running ./configure command:
Code: Select all
root@eu1935:/data/www/dev/sbutt/rapidsvn-0.9.6/rapidsvn-0.9.6
> ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc/g++... found (using "-Wall" and "-fexceptions")
checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
Could you please suggest what's currently a problem with the installation after looking at the console messages i put above?
Thanks.
On running your mentioned command, i got this:
Code: Select all
root@eu1935:/data/www/dev/sbutt/rapidsvn-0.9.6/rapidsvn-0.9.6
> apt-get install libaprutil1 libaprutil1-dev libsvn-dev wx2.8-headers libwxgtk2.8-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libaprutil1
runnign this:
give this error:
Code: Select all
auto-apt run ./configure
Code: Select all
...
...
configure: error: APR is required. Try --with-apr-config.
Well you need libapr and the -dev packages too. I was building that on Debian Sid so you might have different versions available to you.
Perhaps try as BioTube mentioned to help with automatic dependency resolution or just use apt-get and install rapidsvn from a Debian repo instead of compiling yourself.
Code: Select all
apt-cache search libapr
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
still no success:
[/code]
Code: Select all
root@eu1935:/data/www/dev/sbutt/rapidsvn-0.9.6/rapidsvn-0.9.6
> apt-cache search libapr
libapache-request-perl - Generic Apache Request Library
libapache-requestnotes-perl - Perl module for passing form and cookie data around
libapache2-request-perl - generic Apache request library
libapr0 - the Apache Portable Runtime
libapr0-dev - development headers for libapr
Code: Select all
apt-get install auto-apt
Reading Package Lists... Done
Building Dependency Tree... Done
auto-apt is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code: Select all
root@eu1935:/data/www/dev/sbutt/rapidsvn-0.9.6/rapidsvn-0.9.6
> auto-apt run ./configure
Entering auto-apt mode: ./configure
Exit the command to leave auto-apt mode.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc/g++... found (using "-Wall" and "-fexceptions")
checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
still no success:
[/code]
Code: Select all
root@eu1935:/data/www/dev/sbutt/rapidsvn-0.9.6/rapidsvn-0.9.6
> apt-cache search libapr
libapache-request-perl - Generic Apache Request Library
libapache-requestnotes-perl - Perl module for passing form and cookie data around
libapache2-request-perl - generic Apache request library
libapr0 - the Apache Portable Runtime
libapr0-dev - development headers for libapr
Code: Select all
apt-get install auto-apt
Reading Package Lists... Done
Building Dependency Tree... Done
auto-apt is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code: Select all
root@eu1935:/data/www/dev/sbutt/rapidsvn-0.9.6/rapidsvn-0.9.6
> auto-apt run ./configure
Entering auto-apt mode: ./configure
Exit the command to leave auto-apt mode.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc/g++... found (using "-Wall" and "-fexceptions")
checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
Code: Select all
apt-get install libapr0 libapr0-dev
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
Ya mzilikazi that worked and now the apr problem is solved. After that the same sort of problem came for Neon package which is resolved myself by installing the package for it. Now i'm stuck with:
No success in finding a solution for it:(. I tried:
but failed.
Code: Select all
configure: error: Subversion headers are required. Try --with-svn-include.
Code: Select all
apt-get install subversion mod_dav_svn
[quote="sbutt"]Ya mzilikazi that worked and now the apr problem is solved. After that the same sort of problem came for Neon package which is resolved myself by installing the package for it. Now i'm stuck with:
Debian packages are often split up into <package> & <package-dev> and you often need to install the <package-dev> in order to compile anything. In this case, libsvn-dev.
Code: Select all
configure: error: Subversion headers are required. Try --with-svn-include.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
No I'm gettign this:
I tried this:
but no success.
Is there any way i can check how many more packages i woudl be needing?
Thanks a lot for your help! really appreciated..
Code: Select all
configure: error: wxWidgets is required. Try --with-wx-config.
Code: Select all
apt-get install libwxgtk2.6-0
Is there any way i can check how many more packages i woudl be needing?
Thanks a lot for your help! really appreciated..
- roseway
- Posts: 1529
- Joined: 2007-12-31 22:50
- Location: Kent, UK
- Has thanked: 3 times
- Been thanked: 4 times
apt-get install wx2.6-headers
sbutt, you seem to be missing an essential point about building from source. Software needs links to various libraries containing supporting code, and in order to make these links, the source code headers for the relevant libraries have to be present in addition to the library binaries.
When you see an error message like the one above, it usually means that the relevant headers are missing and need to be installed. Most often these headers are supplied by a .dev package as in the previous example, but this isn't always the case. In this case the needed package is explicitly called xxxx-headers.
sbutt, you seem to be missing an essential point about building from source. Software needs links to various libraries containing supporting code, and in order to make these links, the source code headers for the relevant libraries have to be present in addition to the library binaries.
When you see an error message like the one above, it usually means that the relevant headers are missing and need to be installed. Most often these headers are supplied by a .dev package as in the previous example, but this isn't always the case. In this case the needed package is explicitly called xxxx-headers.
Eric