Compile problem with mysql support - *** [ext/mysql/php_mysql.lo] Error 1
| From: | BotStats \(k�vin\) | Date: | Sat, 08 Nov 2003 21:15:29 +0000 |
| Subject: | Compile problem with mysql support - *** [ext/mysql/php_mysql.lo] Error 1 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31506@lists.php.net to get a copy of this message | ||
Hi,
I used:
./configure --prefix=/usr --disable-static --with-apxs=/usr/local/apache/bin
/apxs --enable-discard-path --with-config-file-path=/usr/local/apache --enab
le-safe-mode --with-openssl --enable-bcmath --with-bz2=/usr/lib/ --with-pic
--enable-calendar --enable-ctype --with-gdbm --with-db3 --enable-dbase --ena
ble-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png --w
ith-gmp --with-mysql=shared,/usr --with-xml=shared,/usr --with-gettext=share
d,/usr --with-mm=/usr --enable-trans-sid --enable-shmop --enable-sockets --w
ith-regex=php --enable-sysvsem --enable-sysvshm --enable-yp --enable-memory-
limit --with-tsrm-pthreads --enable-shared --disable-debug --with-zlib --wit
h-freetype-dir=/usr/local/include/freetype2/freetype/ --with-curl
I tried different "--with-mysql" :
--with-mysql
--with-mysql=/usr
--with-mysql=shared
--with-mysql=/usr/local
...
But I always got this error:
/root/dl/php-4.3.4/ext/mysql/php_mysql.c: In function `_close_mysql_link':
/root/dl/php-4.3.4/ext/mysql/php_mysql.c:288: `SIGPIPE' undeclared (first
use in this function)
/root/dl/php-4.3.4/ext/mysql/php_mysql.c:288: (Each undeclared identifier is
reported only once
/root/dl/php-4.3.4/ext/mysql/php_mysql.c:288: for each function it appears
in.)
/root/dl/php-4.3.4/ext/mysql/php_mysql.c:288: `SIG_IGN' undeclared (first
use in this function)
/root/dl/php-4.3.4/ext/mysql/php_mysql.c:288: warning: assignment makes
pointer from integer without a cast
/root/dl/php-4.3.4/ext/mysql/php_mysql.c: In function `_close_mysql_plink':
/root/dl/php-4.3.4/ext/mysql/php_mysql.c:303: `SIGPIPE' undeclared (first
use in this function)
/root/dl/php-4.3.4/ext/mysql/php_mysql.c:303: `SIG_IGN' undeclared (first
use in this function)
/root/dl/php-4.3.4/ext/mysql/php_mysql.c:303: warning: assignment makes
pointer from integer without a cast
make: *** [ext/mysql/php_mysql.lo] Error 1
Any idea ?
NB: MySQL server & client is installed and they works fine.
Thanks
--
- Kévin