Image

Imageniccicam wrote in Imagelinux

Compiling PHP4.0.4pl1 on RaQ4i

I'm trying to compile PHP 4.0.4pl1 on my RaQ4i. It's a PostgreSQL setup from the original plain vanilla install. When I run configure for the PHP install however;

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-gettext --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml --disable-debug --with-db3 --with-interbase=shared --with-pgsql=shared --with-ldap --with-imap

during the "Configuring extensions" section it dies on the following error:
..."checking for Berkeley DB2 support... no
checking for db_create in -ldb... no
checking for db_create in -ldb-3... no
configure: error: cannot find necessary library

I'm assuming this is something to do with PostgreSQL? I've followed all the installation instructions to the letter with a few additional pointers from some helpful peeps. I'm not familiar with PHP or SQL at this point and would appreciate any suggestions on how I can fix this problem.