Pillhead
11-07-2001, 08:33 AM
Hi, I just read this thread
http://www.webhostingtalk.com/showthread.php?s=&threadid=15047&highlight=5.6.1
And copied what it said on there and installed perl 5.6.1, but now my cpanel dotn work, it just reports an internal server error, help anyone ? pweeeez
Pillhead
11-07-2001, 10:23 AM
Rite fixed that, I had over looked the all important postgresql module installation, I really thought it would give me more output without it.
Anyway, the postgresql installation wouldnt compile at first for me because it would give this message :-
'please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !'
So to fix this problem, I made up the variables, and what the variables need to contain is :-
a) for the POSTGRES_LIB = the path to the library libpq.so
b) for the POSTGRES_INCLUDE = the include file
libpq-fe.h
To achive this, just export those variables like this :-
a) export POSTGRES_LIB = /usr/lib
b) export POSTGRES_INCLUDE /usr/include/pgsql
That should do it, there the paths that the files are in on my raq4i, if you think yours are different you can find out by doing : -
a) find / | grep libpq.so
b) find / | grep libpq-fe.h
And this will tell you the location of a) the library and b) the include file.
Hope this helps anyone else.