i insatlled postgresql 8.1.0 frmo source...the server and client work fine
i can psql and work
im trying to install chessd which needs postgresql
while ./configure it cant find libpq libraries
i cant find any option for ./configure that will make it look in /usr/local/pgsql/lib/ so i make a symbolic link /lib/pqsql.so to the actual file and ./configure worked
now make cant find files in /usr/include/postgresql (folder doesnt even exist), all the files installed went in /usr/local/pgsql/
what do i do?!
Code:
In file included from gamedb.h:30,
from adminproc.c:32:
dbsql.h:23:52: error: /usr/include/postgresql/libpq/libpq-fs.h: No such file or directory
dbsql.h:24:46: error: /usr/include/postgresql/libpq-fe.h: No such file or directory
In file included from gamedb.h:30,
from adminproc.c:32:
dbsql.h:61: error: syntax error before 'PGresult'
dbsql.h:66: error: syntax error before '*' token
dbsql.h:71: error: syntax error before '*' token
dbsql.h:77: error: syntax error before '*' token
dbsql.h:82: error: syntax error before '*' token
dbsql.h:88: error: syntax error before '*' token
In file included from globals.h:28,
from adminproc.c:33:
playerdb.h:272: error: syntax error before 'PGresult'
make[2]: *** [adminproc.lo] Error 1
make[2]: Leaving directory `/home/guest/nuke/chessd-chrysallis-0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/guest/nuke/chessd-chrysallis-0.1'
make: *** [all-recursive-am] Error 2