Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-15 Thread Lionel Elie Mamane
On Mon, Dec 12, 2011 at 10:32:26AM +0100, Lionel Elie Mamane wrote: > On Mon, Dec 12, 2011 at 09:46:37AM +0100, Fridrich Strba wrote: >> On 12/12/11 08:14, Lionel Elie Mamane wrote: >>> This also means that by our "we have to build everything we ship" >>> rule, we have to internalise, according to

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Stephan Bergmann
On 12/09/2011 11:19 PM, Lionel Elie Mamane wrote: Well, as a system lib I understand it can be installed nearly anywhere: - The "one click installer" puts it in /Library/PostgreSQL/${VERSION}/lib - fink and MacPorts put it *by default* in /sw/opt/postgresql/${VERSION}/bin /opt/local

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Lionel Elie Mamane
On Mon, Dec 12, 2011 at 04:22:44PM +0100, Fridrich Strba wrote: > I have impression I fixed it with the CPPFLAGS in the > configure_command. Yes, I wrote after too quick a glance, indeed the right -I for libpq-fe.h was there. However, the right -I and -L for internal OpenSSL were missing, I added

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Fridrich Strba
I have impression I fixed it with the CPPFLAGS in the configure_command. But maybe not. The best would be to check the latest latest latest checkout, since I was moving that territory quite a lot. Cheers F. On 12/12/11 15:56, Lionel Elie Mamane wrote: > On Mon, Dec 12, 2011 at 01:49:21PM +0100,

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Lionel Elie Mamane
On Mon, Dec 12, 2011 at 03:56:01PM +0100, Lionel Elie Mamane wrote: > On Mon, Dec 12, 2011 at 01:49:21PM +0100, Alex Thurgood wrote: >> Le 12/12/2011 09:57, Lionel Elie Mamane a écrit : Does it mean that the --without-system-postgresql is working now? >>> On my machine (Debian GNU/Linux amd6

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Lionel Elie Mamane
On Mon, Dec 12, 2011 at 01:49:21PM +0100, Alex Thurgood wrote: > Le 12/12/2011 09:57, Lionel Elie Mamane a écrit : >>> Does it mean that the --without-system-postgresql is working now? >> On my machine (Debian GNU/Linux amd64), it build and runs (can >> connect to database and retrieve data). I c

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Lionel Elie Mamane
On Mon, Dec 12, 2011 at 01:34:11PM +0100, Fridrich Strba wrote: > On 12/12/11 10:32, Lionel Elie Mamane wrote: >>> We bundle OpenSSL with LibreOffice, >> We do? Oh, great, I had missed that. > OK, so what I did now is following: > 1) We build the static library with ssl and ldap support on all > p

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Fridrich Strba
Any chance you can come to irc so that we sort it out? Cheers Fridrich On 12/12/11 13:56, Alex Thurgood wrote: > Le 12/12/2011 13:34, Fridrich Strba a écrit : > > Hi Fridrich, > > >> OK, so what I did now is following: >> 1) We build the static library with ssl and ldap support on all >> plat

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Alex Thurgood
Le 12/12/2011 13:34, Fridrich Strba a écrit : Hi Fridrich, OK, so what I did now is following: 1) We build the static library with ssl and ldap support on all platforms currently. 2) I patched the postgresql configury so that it has an option --with-mozldap. This one is used when we use intern

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Alex Thurgood
Le 12/12/2011 09:57, Lionel Elie Mamane a écrit : Hi all, Which suggests --without-system-postgresql is broken, need to check that out. Works, at least on Debian GNU/Linux. Does it mean that the --without-system-postgresql is working now? On my machine (Debian GNU/Linux amd64), it bu

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Fridrich Strba
Hello, On 12/12/11 10:32, Lionel Elie Mamane wrote: >> We bundle OpenSSL with LibreOffice, > We do? Oh, great, I had missed that. OK, so what I did now is following: 1) We build the static library with ssl and ldap support on all platforms currently. 2) I patched the postgresql configury so that

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Lionel Elie Mamane
On Mon, Dec 12, 2011 at 09:46:37AM +0100, Fridrich Strba wrote: > On 12/12/11 08:14, Lionel Elie Mamane wrote: >> I did that because it seemed the easiest thing to do at first >> sight. However, we are losing the advantage of that, and thus I >> propose we switch to dynamic linking, and bundling t

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Lionel Elie Mamane
On Sun, Dec 11, 2011 at 09:11:50PM +0100, Fridrich Strba wrote: > On 11/12/11 15:17, Lionel Elie Mamane wrote: >>> Which suggests --without-system-postgresql is broken, need to >>> check that out. >> Works, at least on Debian GNU/Linux. > Does it mean that the --without-system-postgresql is work

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-12 Thread Fridrich Strba
On 12/12/11 08:14, Lionel Elie Mamane wrote: > I did that because it seemed the easiest thing to do at first > sight. However, we are losing the advantage of that, and thus I > propose we switch to dynamic linking, and bundling the lib on > platforms / situations that need it. Where are we actuall

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-11 Thread Lionel Elie Mamane
On Thu, Dec 08, 2011 at 06:45:30PM +0100, Lionel Elie Mamane wrote: > On Thu, Dec 08, 2011 at 04:19:04PM +, Michael Meeks wrote: >> * postgresql fun. non-internal >> + Windows - run-time DLL dependency a pain (Lionel) >> + ship DLL ourselves ? > This is not a question mark,

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-11 Thread Fridrich Strba
On 11/12/11 15:17, Lionel Elie Mamane wrote: Which suggests --without-system-postgresql is broken, need to check that out. Works, at least on Debian GNU/Linux. Does it mean that the --without-system-postgresql is working now? If not, first thing to check (on other platforms then x86 would be

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-11 Thread Fridrich Strba
On 09/12/11 23:10, Thorsten Behrens wrote: And with attached patch, also a plain --enable-ext-postgresql-sdbc builds - Norbert, want to double-check& commit? Sorry, I added that all-static-lib to the target unconditionally, since that is not harming anything. I did not read this e-mail. I wou

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-11 Thread Lionel Elie Mamane
On Sat, Dec 10, 2011 at 01:53:20AM +0200, Tor Lillqvist wrote: >> Stephan Bergmann wrote: libpq.5.dylib (compatibility version 5.0.0, current version 5.3.0) >>> That way it won't be found at runtime. If it is a lib from the >>> system, it should have an absolute path (like the ones be

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-11 Thread Lionel Elie Mamane
On Sun, Dec 11, 2011 at 03:09:41PM +0100, Lionel Elie Mamane wrote: > Which suggests --without-system-postgresql is broken, need to check > that out. Works, at least on Debian GNU/Linux. -- Lionel ___ LibreOffice mailing list LibreOffice@lists.freedes

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-11 Thread Lionel Elie Mamane
On Sat, Dec 10, 2011 at 11:05:02AM +0100, Alexander Thurgood wrote: > Le 09/12/11 23:10, Thorsten Behrens a écrit : >> And with attached patch, also a plain --enable-ext-postgresql-sdbc >> builds - Norbert, want to double-check & commit? > So I built yesterday using : > --with-ext-postgresql-sdb

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-10 Thread Fridrich Strba
On 10/12/11 11:05, Alexander Thurgood wrote: So I built yesterday using : --with-ext-postgresql-sdbc --with-system-postgresql Would you mind to try --without-system-postgresql (and fix eventual breakage). That might actually help making a nice extension that would run on a system that does n

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-10 Thread Alexander Thurgood
Le 09/12/11 23:10, Thorsten Behrens a écrit : Hi Thorsten, >> > And with attached patch, also a plain --enable-ext-postgresql-sdbc > builds - Norbert, want to double-check & commit? > So I built yesterday using : --with-ext-postgresql-sdbc --with-system-postgresql and I get a connector OXT

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-09 Thread Norbert Thiebaud
On Fri, Dec 9, 2011 at 5:53 PM, Tor Lillqvist wrote: >> Well, as a system lib I understand it can be installed nearly anywhere > > Er... huh? Isn't the very definition of a system library one that is > installed in a fixed known location, as part of the operating system? Or at least there be a me

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-09 Thread Tor Lillqvist
> Well, as a system lib I understand it can be installed nearly anywhere Er... huh? Isn't the very definition of a system library one that is installed in a fixed known location, as part of the operating system? --tml ___ LibreOffice mailing list LibreO

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-09 Thread Lionel Elie Mamane
On Fri, Dec 09, 2011 at 02:24:15PM +0100, Stephan Bergmann wrote: > On 12/09/2011 10:44 AM, Alexander Thurgood wrote: >>otool -L >>/Users/Shared/LO/master/connectivity/unxmacxi.pro/lib/postgresql-sdbc-impl.uno.dylib >>/Users/Shared/LO/master/connectivity/unxmacxi.pro/lib/postgresql-sdbc-impl.uno.d

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-09 Thread Thorsten Behrens
Norbert Thiebaud wrote: > the connector can now be built on MacOSX using system postgresql. > (fixed a couple of WaE.. nothing serious) > And with attached patch, also a plain --enable-ext-postgresql-sdbc builds - Norbert, want to double-check & commit? Cheers, -- Thorsten diff --git a/postgresq

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-09 Thread Stephan Bergmann
On 12/09/2011 10:44 AM, Alexander Thurgood wrote: otool -L /Users/Shared/LO/master/connectivity/unxmacxi.pro/lib/postgresql-sdbc-impl.uno.dylib /Users/Shared/LO/master/connectivity/unxmacxi.pro/lib/postgresql-sdbc-impl.uno.dylib: @__OOO/postgresql

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-09 Thread Lionel Elie Mamane
On Fri, Dec 09, 2011 at 10:35:51AM +0100, Alexander Thurgood wrote: > Le 09/12/11 01:52, Lionel Elie Mamane a écrit : >> Now that I think of it, since libpq is in a path like >> /Library/PostgreSQL/9.1/lib/libpq.5.dylib, how is it supposed to be >> found by the dynamic linker at runtime? > If I c

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-09 Thread Alexander Thurgood
Hi Lionel, Le 09/12/11 01:52, Lionel Elie Mamane a écrit : > Try: otool -L /path/to/your/postgresql-sdbc-impl.uno.dylib If that's > indeed the problem, you can solve it with the DYLD_LIBRARY_PATH > envvar, but then, how do we fix it for *all* our users (that have an > ABI-compatible libpq install

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-09 Thread Alexander Thurgood
Hi, Le 09/12/11 01:52, Lionel Elie Mamane a écrit : > Now that I think of it, since libpq is in a path like > /Library/PostgreSQL/9.1/lib/libpq.5.dylib, how is it supposed to be > found by the dynamic linker at runtime? That's probably the problem, > unless that directory is added to the equivalen

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-08 Thread Lionel Elie Mamane
On Thu, Dec 08, 2011 at 11:03:08PM +0100, Alex Thurgood wrote: > Le 08/12/2011 21:04, Norbert Thiebaud a écrit : >> the connector can now be built on MacOSX using system postgresql. >> (fixed a couple of WaE.. nothing serious) > What was the size of your Mac OSX pg connector ? > Did you actually

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-08 Thread Norbert Thiebaud
On Thu, Dec 8, 2011 at 4:03 PM, Alex Thurgood wrote: > Le 08/12/2011 21:04, Norbert Thiebaud a écrit : > > Hi Norbert, > > >> As a follow-up: >> >> the connector can now be built on MacOSX using system postgresql. >> (fixed a couple of WaE.. nothing serious) > > > What was the size of your Mac OSX

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-08 Thread Fridrich Strba
On 08/12/11 18:45, Lionel Elie Mamane wrote: - knock up our own Makefile for the subpart we need: more fragile wrt to new versions of PostgreSQL (may need to update that makefile); but possibly still the easiest solution. Ok, I checked the released sources. The good news is that there

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-08 Thread Alex Thurgood
Le 08/12/2011 21:04, Norbert Thiebaud a écrit : Hi Norbert, As a follow-up: the connector can now be built on MacOSX using system postgresql. (fixed a couple of WaE.. nothing serious) What was the size of your Mac OSX pg connector ? Did you actually test it ? Mine turned out to be 300kb, wh

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-08 Thread Lionel Elie Mamane
On Thu, Dec 08, 2011 at 02:04:16PM -0600, Norbert Thiebaud wrote: > the connector can now be built on MacOSX using system postgresql. > (fixed a couple of WaE.. nothing serious) Great, thanks. -- Lionel ___ LibreOffice mailing list LibreOffice@lists.f

Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-08 Thread Norbert Thiebaud
As a follow-up: the connector can now be built on MacOSX using system postgresql. (fixed a couple of WaE.. nothing serious) Norbert ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

[Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-08 Thread Lionel Elie Mamane
On Thu, Dec 08, 2011 at 04:19:04PM +, Michael Meeks wrote: > * postgresql fun. non-internal > + postgresql have a strict API stability (Norbert) Norbert was saying they have a strict *ABI* stability, properly managing sonames and all that. I'm not sure if MS Windows has a mechanism that