Re: [gnome-db] alternative instructions to compile libgda on cygwin



* [ Fernando Martins <fmartins hetnet nl>
* Fri, 05 Jul 2002 07:06:33 +0200 ]
> The (repeating) warning was about a redefinition of "alloca" which exists in
> /usr/include/alloca.h and /include/glib-2.0/glib/galloca.h. I've not tried
> to solve it.

Maybe a newer version of glib avoid this warning and many others (the
same happens when compiling mono).

> 
> Is it possible to use autotools to detect cygwin and add the extra includes
> and the CFLAGS option? I've spent a bit browsing a book online about
> autotools but I could not figure it out. There is barely a reference to
> autogen.sh.

We'll have to see what the 'autotools' experts say (if there is any
around :).

> 
> Tomorrow I'll try to configure postgres. I've two questions:
> 1) what should be the directory in ./configure --with-postgres=<directory>?

It's the directory that contains the lib directory in which postgres
libraries reside (ie, <directory>/lib/libpq.so or pq.dll).

> 2)what is the simplest way to check if libgda is communicating correctly
> with postgres? I tried gda-test.exe and I got
> 
> =========================================
> = Testing provider configuration API
> =========================================
> ** Message: ERROR: Error opening directory
> '/usr/local/lib/libgda/providers': No such file or directory
> 
> What does it mean?

It's the directory where the provider plugins are installed.

-- 
Gonzalo Paniagua Javier <gonzalo gnome-db org>
http://www.gnome-db.org/~gonzalo/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]