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

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

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Sat, 17 Oct 2015 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

 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 :-(

-- 
Best regards,
 Lev                          mailto:lev_at_FreeBSD.org
Received on 2015-10-17 22:33:10 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.