I want to compile php with postgersql module. but had some problems.
I already install postgresql 7.3.3 database from /usr/ports .
when I try to build apache and recompile PHP with PostgerSQL from WHM, I found those error msg bellow in WHM.
I don't know why I can't recompile PHP in WHM .
can I just compile PHP from source by myself ? anyone did it before ?
checking for PostgreSQL support... yes
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
make: no target to make.
make: don't know how to make install. Stop
if [ "`grep "mod_bwlimited/1.0" /usr/local/apache/libexec/mod_bwlimited.so`" = "" ]; then /usr/local/apache/bin/apxs -c mod_bwlimited.c ;fi
grep: /usr/local/apache/libexec/mod_bwlimited.so: No such file or directory
gcc -funsigned-char -DMOD_SSL=208115 -DEAPI -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_bwlimited.c
gcc -shared -o mod_bwlimited.so mod_bwlimited.o
if [ "`grep "mod_log_bytes/1.2" /usr/local/apache/libexec/mod_log_bytes.so`" = "" ]; then /usr/local/apache/bin/apxs -c mod_log_bytes.c ;fi
grep: /usr/local/apache/libexec/mod_log_bytes.so: No such file or directory
gcc -funsigned-char -DMOD_SSL=208115 -DEAPI -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_log_bytes.c
gcc -shared -o mod_log_bytes.so mod_log_bytes.o
if [ ! -e "/usr/local/apache/libexec/mod_log_bytes.so" ]; then /usr/local/apache/bin/apxs -c mod_log_bytes.c ;fi
gcc -funsigned-char -DMOD_SSL=208115 -DEAPI -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_log_bytes.c
gcc -shared -o mod_log_bytes.so mod_log_bytes.o
if [ ! -e "/usr/local/apache/libexec/mod_bwlimited.so" ]; then /usr/local/apache/bin/apxs -c mod_bwlimited.c ;fi
gcc -funsigned-char -DMOD_SSL=208115 -DEAPI -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_bwlimited.c
gcc -shared -o mod_bwlimited.so mod_bwlimited.o
if [ "`grep "mod_bwlimited/1.0" /usr/local/apache/libexec/mod_bwlimited.so`" = "" ]; then /usr/local/apache/bin/apxs -i -a mod_bwlimited.so;/etc/rc.d/init.d/httpd stop;sleep 4;/etc/rc.d/init.d/httpd startssl;/etc/rc.d/init.d/httpd start ;fi
grep: /usr/local/apache/libexec/mod_bwlimited.so: No such file or directory
[activating module `bwlimited' in /usr/local/apache/conf/httpd.conf]
cp mod_bwlimited.so /usr/local/apache/libexec/mod_bwlimited.so
chmod 755 /usr/local/apache/libexec/mod_bwlimited.so
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak
cp /usr/local/apache/conf/httpd.conf.new /usr/local/apache/conf/httpd.conf
rm /usr/local/apache/conf/httpd.conf.new
/etc/rc.d/init.d/httpd stop: httpd stopped
Syntax error on line 238 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_log_bytes.so into server: Cannot open "/usr/local/apache/libexec/mod_log_bytes.so"
/etc/rc.d/init.d/httpd startssl: httpd could not be started
*** Error code 3
Stop in /usr/local/cpanel/apache.
if [ "`grep "mod_bwlimited/1.0" /usr/local/apache/libexec/mod_bwlimited.so`" = "" ]; then /usr/local/apache/bin/apxs -i -a mod_bwlimited.so;/etc/rc.d/init.d/httpd stop;sleep 4;/etc/rc.d/init.d/httpd startssl;/etc/rc.d/init.d/httpd start ;fi
if [ "`grep "mod_log_bytes/1.2" /usr/local/apache/libexec/mod_log_bytes.so`" = "" ]; then /usr/local/apache/bin/apxs -i -a mod_log_bytes.so ;fi
grep: /usr/local/apache/libexec/mod_log_bytes.so: No such file or directory
[activating module `bytes_log' in /usr/local/apache/conf/httpd.conf]
cp mod_log_bytes.so /usr/local/apache/libexec/mod_log_bytes.so
chmod 755 /usr/local/apache/libexec/mod_log_bytes.so
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak
cp /usr/local/apache/conf/httpd.conf.new /usr/local/apache/conf/httpd.conf
rm /usr/local/apache/conf/httpd.conf.new
if [ "`grep mod_log_bytes /usr/local/apache/conf/httpd.conf`" = "" ]; then /usr/local/apache/bin/apxs -i -a mod_log_bytes.so ;fi
if [ "`grep mod_bwlimited /usr/local/apache/conf/httpd.conf`" = "" ]; then /usr/local/apache/bin/apxs -i -a mod_bwlimited.so ;fi
Attempting to restart httpd
Waiting for httpd to restart....
.
cPanel.net Support Ticket Number:



LinkBack URL
About LinkBacks

Reply With Quote




