You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mitch Capper <mi...@gmail.com> on 2015/02/24 20:13:11 UTC

Subversion static compiling broken?

I am sorry if missing something but I seem unable to properly compile
subverison statically.  After trying various configure options it continues
to fail with urls with:

   1. # ./subversion/svn/svn checkout http://bing
   2. svn: E170000: Unrecognized URL scheme for 'http://bing'
   3. # ./subversion/svn/svn checkout svn://bing
   4. svn: E170000: Unrecognized URL scheme for 'svn://bing'

However removing the --enable-all-static fixes the problem (but obviously
doesn't statically compile).

full configure commands and results:

http://pastebin.com/cgtsPbrz

I have tried versions 1.7 to 1.9 without luck.

Looking to deploy to several different machines without the same existing
library set (thus the static linking) as the client tool is only needed and
is fine to be self contained.

Thanks,
~Mitch

Re: Subversion static compiling broken?

Posted by Philip Martin <ph...@wandisco.com>.
Mitch Capper <mi...@gmail.com> writes:

> I am sorry if missing something but I seem unable to properly compile
> subverison statically.  After trying various configure options it continues
> to fail with urls with:
>
>    1. # ./subversion/svn/svn checkout http://bing
>    2. svn: E170000: Unrecognized URL scheme for 'http://bing'
>    3. # ./subversion/svn/svn checkout svn://bing
>    4. svn: E170000: Unrecognized URL scheme for 'svn://bing'
>
> However removing the --enable-all-static fixes the problem (but obviously
> doesn't statically compile).
>
> full configure commands and results:
>
> http://pastebin.com/cgtsPbrz
>
> I have tried versions 1.7 to 1.9 without luck.
>
> Looking to deploy to several different machines without the same existing
> library set (thus the static linking) as the client tool is only needed and
> is fine to be self contained.

You are using --enable-runtime-module-search which causes the FS and RA
modules to be dynamically loaded at runtime and the static binary
doesn't load any. 

Static linking on Linux is not recommended, libc relies on shared
libraries for NSS to work properly.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*