Page 1 of 1

PHP 4.2.3 selber Compilieren -> MySQL Probleme

Posted: 2003-02-07 21:59
by fstruwe
Hallo,

ich habe auf einem Server VHCS und möchte gerne PHP 4.2.3 selber neu compilieren da ich mit der VHCS libphp4.so kein IMAP eincompiliert wurde.
Dies brauch ich aber für WebMail.

Also so hab ichs bis jetzt gemacht. Eine phpinfo datei erzeugt!

Code: Select all

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc --enable-sigchild --enable-magic-quotes --with-zlib-dir=/usr --with-zlib --enable-bcmath --with-bz2 --enable-dba --enable-ftp --with-gdshared=/usr --enable-mbstring --with-mcrypt=/usr --with-mhash=/usr --with-mysql=/usr --enable-sockets --with-recode=/usr --with-regex=php --enable-sysvsem --enable-sysvshm --enable-tokenizer --with-expat-dir=/usr --enable-shared --enable-memory-limit --with-vhcsenc=shared
--with-imap=yes

hinzugefügt und ENTER gedrückt, dann macht er erstmal neh Weile was und dann kommt das hier


Code: Select all

checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
Aber warum?

ciao
Fabian

Re: PHP 4.2.3 selber Compilieren -> MySQL Probleme

Posted: 2003-02-07 22:23
by floschi
Sind die mysql-libs installiert (oder evtl. mysql-dev) ?

Re: PHP 4.2.3 selber Compilieren -> MySQL Probleme

Posted: 2003-02-07 23:38
by fstruwe
Habe mit Locate schonmal danach suchen lassen.
Gefunden wurden folgende Dateien.

Code: Select all

/usr/lib/libmysqlclient.so.10
/usr/lib/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.la
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient.so.10.0.0
ciao
Fabian