[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion static compiling broken?

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 24 Feb 2015 20:52:29 +0000

Mitch Capper <mitch.capper_at_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*
Received on 2015-02-24 21:53:46 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.