PHP 4.2.3 selber Compilieren -> MySQL Probleme

Bash, Shell, PHP, Python, Perl, CGI
Post Reply
fstruwe
Posts: 30
Joined: 2002-07-09 11:44
Location: Herringhausen.com
Contact:
 

PHP 4.2.3 selber Compilieren -> MySQL Probleme

Post 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
floschi
Userprojekt
Userprojekt
Posts: 3247
Joined: 2002-07-18 08:13
Location: München
Contact:
 

Re: PHP 4.2.3 selber Compilieren -> MySQL Probleme

Post by floschi »

Sind die mysql-libs installiert (oder evtl. mysql-dev) ?
fstruwe
Posts: 30
Joined: 2002-07-09 11:44
Location: Herringhausen.com
Contact:
 

Re: PHP 4.2.3 selber Compilieren -> MySQL Probleme

Post 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
Post Reply