Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-27 Thread Alan Hourihane
On 04/27/12 19:38, Alan Hourihane wrote: > Just to note that subversion should also be using "apr-1-config --libs" > to determine what libraries libapr needs as well. > > It doesn't seem to be doing it here, and the build fails here too. Does > subversion's configure script do the above ? > > Mmm,

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-27 Thread Alan Hourihane
Just to note that subversion should also be using "apr-1-config --libs" to determine what libraries libapr needs as well. It doesn't seem to be doing it here, and the build fails here too. Does subversion's configure script do the above ? Alan.

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-26 Thread Alan Hourihane
On 04/26/12 08:41, Daniel Shahaf wrote: > Alan Hourihane wrote on Thu, Apr 26, 2012 at 08:24:52 +0100: >> On 04/26/12 04:38, Daniel Shahaf wrote: >>> Alan Hourihane wrote on Wed, Apr 25, 2012 at 23:41:24 +0100: Yes, it doesn't work as you are checking /usr first, yet it should be pkg-conf

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-26 Thread Daniel Shahaf
Alan Hourihane wrote on Thu, Apr 26, 2012 at 08:24:52 +0100: > On 04/26/12 04:38, Daniel Shahaf wrote: > > Alan Hourihane wrote on Wed, Apr 25, 2012 at 23:41:24 +0100: > >> Yes, it doesn't work as you are checking /usr first, yet it should be > >> pkg-config first (or only) > > Can't be "only"

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-26 Thread Alan Hourihane
On 04/26/12 04:38, Daniel Shahaf wrote: > Alan Hourihane wrote on Wed, Apr 25, 2012 at 23:41:24 +0100: >> Yes, it doesn't work as you are checking /usr first, yet it should be >> pkg-config first (or only) > Can't be "only" pkg-config, as that would break the build on systems > that don't have

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-25 Thread Daniel Shahaf
Alan Hourihane wrote on Wed, Apr 25, 2012 at 23:41:24 +0100: > Yes, it doesn't work as you are checking /usr first, yet it should be > pkg-config first (or only) Can't be "only" pkg-config, as that would break the build on systems that don't have it.

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-25 Thread Nico Kadel-Garcia
On Wed, Apr 25, 2012 at 7:02 PM, Philip Martin wrote: > Alan Hourihane writes: > > > Just to note that I'm passing --with-sqlite=/usr on the configure line > too. > > Specifying a path and using pkg-config are incompatible. > > > This is why the RPM setup tools are best used with a restricted bui

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-25 Thread Philip Martin
Alan Hourihane writes: > Just to note that I'm passing --with-sqlite=/usr on the configure line too. Specifying a path and using pkg-config are incompatible. -- Philip

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-25 Thread Philip Martin
Alan Hourihane writes: > Yes, it doesn't work as you are checking /usr first, yet it should be > pkg-config first (or only) > > This is what I get > > configure: checking sqlite library > checking sqlite3.h usability... yes > checking sqlite3.h presence... yes > checking for sqlite3.h...

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-25 Thread Alan Hourihane
On 04/25/12 23:34, Philip Martin wrote: > Alan writes: > >> It seems that subversion just tries linking explicitly with -lsqlite3 >> during configure, yet sqlite3 itself may be linked against other >> libraries which need to be pulled in. And this can fail on some systems. >> >> The configure scri

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-25 Thread Alan Hourihane
On 04/25/12 23:34, Philip Martin wrote: > Alan writes: > >> It seems that subversion just tries linking explicitly with -lsqlite3 >> during configure, yet sqlite3 itself may be linked against other >> libraries which need to be pulled in. And this can fail on some systems. >> >> The configure scri

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

2012-04-25 Thread Philip Martin
Alan writes: > It seems that subversion just tries linking explicitly with -lsqlite3 > during configure, yet sqlite3 itself may be linked against other > libraries which need to be pulled in. And this can fail on some systems. > > The configure script should use "pkg-config --libs sqlite3" to obt