rpm -qa grep -i php
rpm -qa grep -i mysql
Make sure you have the devel packages installed, along with pkg-config.
- bob
On Wed, 2004-08-18 at 13:27 -0700, Rich wrote:
> Hi --
>
> Sorry if this is a *dumb* question, but I am not having any luck
> getting configure to detect php and mySQL on my Mandrake-10 test
> system. I have looked through past user archives and did not find
> anything that looked particularly helpful. Here are some specifics:
>
> [root@cc001032 rlib-1.1.9]# uname -a
> Linux cc001032.secureinfoimaging.com 2.6.3-7mdk #1 Wed Mar 17 15:56:42
> CET 2004 i686 unknown unknown GNU/Linux
>
> I have tried a variety of configure command variations to no avail.
> Currently I am using:
>
> ./configure --prefix=/usr --enable-php --enable-mysql --with-php-
> extension-dir=/usr/lib/php/extensions/ --with-php-config=/etc/php.ini
> --with-mysql=/usr/share/mysql
>
> for php:
> [root@cc001032 rlib-1.1.9]# whereis php
> php: /etc/php /etc/php.ini /usr/lib/php
>
> for mysql
> [root@cc001032 rlib-1.1.9]# whereis mysql
> mysql: /usr/bin/mysql /usr/lib/mysql /usr/share/mysql
>
> Config output:
> <snip>
> checking for mysql_config... no
> *** WARNING: MYSQL NOT FOUND IN PATH. RLIB WILL NOT BE COMPILED WITH
> SUPPORT FOR IT
> <snip>
> checking for php-config... no
> *** WARNING: PHP NOT FOUND IN PATH. RLIB WILL NOT BE COMPILED WITH
> SUPPORT FOR IT
> <snip>
> rlib-1.1.9:
>
> prefix: /usr
> compiler: gcc
> Memory debugging: no
> Warning Fun: no
> Crash detection: yes
> UTF8 disabled: no
>
> INPUTS:
> MYSQL: no
> POSTGRE: no
> ODBC: no
>
> OUTPUTS:
> PDF: yes
> HTML: Always
> CSV: Always
> TEXT: Always
>
> BINDINGS:
> PHP: no
> PHP entension dir:
> PYTHON: no
> PYTHON version: 2.2
> PYTHON entension dir:
> JAVA: no
> PERL: no
> PERL entension dir:
>
> Music: Incubus
>
> Having Problems: rli...@li...
> Want to contribute: rli...@li...
>
>
> What am I overlooking?
>
> -- Rich
>
|