Re: [gnome-db] HOWTO compile postgres provider



On Mon, 2001-12-31 at 23:24, Juan Andrés Bentancour wrote:
> Hi All,
> 
> When I compile libgda-0.2.93 from tarball only make the
> gda-default-server, never compile at gda-postgres directory to make the
> binary file.
> If I do make at providers/gda-postgre-server/ , I got this error:
> 
> [andres engine gda-postgres-server]$ make
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
> -I/usr/include/gnome-xml -I/usr/include/gconf/1 -I/usr/include
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-1.0
> -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include -I/usr/include/gnome-xml    -I../../lib/gda-common
> -I../../lib/gda-common        -I../../lib/gda-server
> -I../../lib/gda-server      -g -O2 -c gda-postgres-command.c
> In file included from gda-postgres.h:28,
>                  from gda-postgres-command.c:19:
> /usr/include/libpq-fe.h:27:26: postgres_ext.h: No existe el fichero o el
> directorio
> make: *** [gda-postgres-command.o] Error 1
> 
> What am i doing wrong? 
> 
you must activate the postgres provider at configure time:

./configure --with-postgres=yes

thus, it will get all needed CFLAGS and LIBS options for compiling it.

> Thanks, and happy new year !!!!
> 
happy new year!

cheers
-- 
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/



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