I’m trying to upgrade my subversion server (I have it hosted with Dreamhost)
This is what I run:
- wget http://subversion.tigris.org/downloads/subversion-1.5.2.tar.bz2
- wget http://subversion.tigris.org/downloads/subversion-deps-1.5.2.tar.bz2
- tar -xjf subversion-1.5.2.tar.bz2
- tar -xjf subversion-deps-1.5.2.tar.bz2
- cd subversion-1.5.2
- ./configure –prefix=/usr/bin –with-libs=/usr/bin/openssl –with-ssl
But I’m unable to continue any further because of this error:
- checking for C compiler default output file name…
- configure: error: C compiler cannot create executables
- See `config.log‘ for more details.
- configure failed for neon
Since I’m no expert with Linux, I’m not sure how to proceed.
So the question is: what is the best way to upgrade (given the constraints of being with this hosted provider).
Update:
Contents of config.log can be seen here (don’t know the best way to show files here at SO)
Update:
I seem to have been looking at the wrong config.log file.
I probably should have been looking at subversion.1.5.2/neon/config.log
If you’re using openssl with SVN then you need to configure SVN with
When I’ve done this in the past I’ve had issues building other binaries that use this lib if I don’t specify the
-fPICflag. So it’s best to run make with that parameter (if you have that issue). You may also have to point make at your build binary as well.. so your make call will look something like this:Don’t forget to build openssl with
CC='gcc -fPIC'too!Good luck!