when trying to compile (./configure;make, i get:
make[2]: Entering directory `/home/kalle/stuff/pmc-0.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/pgsql -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -Wunused -c interface.c
In file included from interface.c:16:
callbacks.h:2:22: libpq-fe.h: No such file or directory
In file included from interface.c:16:
callbacks.h:154: parse error before "PGconn"
callbacks.h:154: warning: no semicolon at end of struct or union
callbacks.h:163: parse error before '}' token
callbacks.h:163: warning: type defaults to `int' in declaration of `DBConn'
callbacks.h:163: warning: data definition has no type or storage class
make[2]: *** [interface.o] Error 1
make[2]: Leaving directory `/home/kalle/stuff/pmc-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kalle/stuff/pmc-0.2'
make: *** [all-recursive-am] Error 2
i'm a postgresql newbie.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
when trying to compile (./configure;make, i get:
make[2]: Entering directory `/home/kalle/stuff/pmc-0.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/pgsql -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -Wunused -c interface.c
In file included from interface.c:16:
callbacks.h:2:22: libpq-fe.h: No such file or directory
In file included from interface.c:16:
callbacks.h:154: parse error before "PGconn"
callbacks.h:154: warning: no semicolon at end of struct or union
callbacks.h:163: parse error before '}' token
callbacks.h:163: warning: type defaults to `int' in declaration of `DBConn'
callbacks.h:163: warning: data definition has no type or storage class
make[2]: *** [interface.o] Error 1
make[2]: Leaving directory `/home/kalle/stuff/pmc-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kalle/stuff/pmc-0.2'
make: *** [all-recursive-am] Error 2
i'm a postgresql newbie.
Please install development package for postgresql.
Then run ./configure ... carefully read the message
and run make again ...
Thank you to try my app.