/php-4.3.0/ext/mysql/php_mysql.c: In function `_close_mysql_link':
/php-4.3.0/ext/mysql/php_mysql.c:257: `SIGPIPE' undeclared (first use in this function)
/php-4.3.0/ext/mysql/php_mysql.c:257: (Each undeclared identifier is reported only once
/php-4.3.0/ext/mysql/php_mysql.c:257: for each function it appears in.)
/php-4.3.0/ext/mysql/php_mysql.c:257: `SIG_IGN' undeclared (first use in this function)
/php-4.3.0/ext/mysql/php_mysql.c:257: warning: assignment makes pointer from integer without a cast
/php-4.3.0/ext/mysql/php_mysql.c: In function `_close_mysql_plink':
/php-4.3.0/ext/mysql/php_mysql.c:272: `SIGPIPE' undeclared (first use in this function)
/php-4.3.0/ext/mysql/php_mysql.c:272: `SIG_IGN' undeclared (first use in this function)
/php-4.3.0/ext/mysql/php_mysql.c:272: warning: assignment makes pointer from integer without a cast
make: *** [ext/mysql/php_mysql.lo] Error 1
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Version Linux (x86, libc6) Standard 4.0.17 14.7M gezogen, in usr/local/mysql entpackt, script/mysql_install_db ausgefüht, mysqlaccess.conf editiert, Mysql gestartet.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wie ich bereits sagte, aktuelle MySQL Libary (mysql-devel, mysql-shared-compat) installieren, und den Pfad richtig angeben. --with-mysql=/usr/local/mysql ist falsch für jene Art der Installation. Wenn man RPMs benutzt, dann ist --with-mysql=/usr richtig.
An deinen ./configure Fehler konnte man sehen, dass PHP die bundled Libary verwenden wollte. Dadurch wurde der Fehler verursacht.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
hm, achso ... überlesen, hehe ;) Also wenn er die Verzeichnisstruktur im tar.gz nach /usr/local/mysql verschoben hatte, sollten es eigentlich klappen. Das Archiv enthält auch die Libarys.