PHP5 instalation on SuSE 10.2

PHP5 instalation on SuSE 10.2

am 24.04.2007 14:23:18 von marcin.stanislawski

HI

I've got a problem during instalation php on SuSE I try to do this code
in shell

sh ./configure --enable-versioning
--with-layout=GNU
--with-config-file-scan-dir=/usr/local/etc/php
--enable-libxml
--with-gd
--with-mysql

all is ok but last report lines are:

checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!

What I should do??

Apache2 and MySQL5 is corectly installed, I check it

Thx in advance

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP5 instalation on SuSE 10.2

am 26.04.2007 03:08:55 von dmagick

marcin.stanislawski@gmail.com wrote:
> HI
>
> I've got a problem during instalation php on SuSE I try to do this code
> in shell
>
> sh ./configure --enable-versioning
> --with-layout=GNU
> --with-config-file-scan-dir=/usr/local/etc/php
> --enable-libxml
> --with-gd
> --with-mysql
>
> all is ok but last report lines are:
>
> checking for specified location of the MySQL UNIX socket... no
> checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
> configure: error: Cannot find MySQL header files under yes.

You're not sending us what you're putting as the configure line.

--with-mysql=yes does not include mysql. It tells configure to try and
find mysql under the directory called 'yes' - which ain't gonna work.

Make sure you have the mysql-devel or mysql-dev (whatever suse calls it)
rpm installed, then try again.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP5 instalation on SuSE 10.2

am 26.04.2007 06:58:57 von marcin.stanislawski

Thanks Chris this is the point...
mysql-dev is no instaled, Thx so much...:)

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php