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

Re: subversion 1.9.2 could not be built "all-static" on FreeBSD 10+

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 18 Oct 2015 08:08:45 +0000

Lev Serebryakov wrote on Sat, Oct 17, 2015 at 23:32:53 +0300:
> Hello Users,
>
> I could not build subversion 1.9.2 with "--enable-all-static" on FreeBSD.
> "configure" script forms wron arguments to ${CC} in this case and fails to
> find any library.
>
> Here is couple of lines from config.log for 1.9.2:
>
> configure:6130: checking for sqlite3_close in -lsqlite3
> configure:6155: cc -o conftest -Werror=unknown-warning-option -O2 -pipe -fpic -DPIC -fstack-protector -fno-strict-aliasing -I/usr/local/include -fstack-protector -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lsqlite3 >&5
> cc: error: unknown argument: '-R/usr/local/lib'
> cc: error: unknown argument: '-R/usr/local/lib'
> configure:6155: $? = 1

I assume you're building the 1.9.2 tarball, correct? Does the problem
also occur if you build from a checkout of the 1.9.2 tag? (You'll need
to run autogen.sh before configure.)

> And here are SAME lines from 1.8.14:
>
> configure:5956: checking for sqlite3_close in -lsqlite3
> configure:5981: cc -o conftest -Werror=unknown-warning-option -O2 -pipe -fpic -DPIC -fstack-protector -fno-strict-aliasing -I/usr/local/include -fstack-protector -L/usr/local/lib -L/usr/local/lib conftest.c -lsqlite3 >&5
> configure:5981: $? = 0
>
> As you can see, 1.9.2 adds "-R" which is NOT supported on FreeBSD 10+!
>
> I could not find proper place to patch this issue :-(
Received on 2015-10-18 10:09:13 CEST

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.