php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10573 MySQL Support Fails to compile
Submitted: 2001-05-01 05:07 UTC Modified: 2001-06-03 20:33 UTC
From: poobah at unclescrotor dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: RH Linux 6.2 kernel 2.2.16
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: poobah at unclescrotor dot com
New email:
PHP Version: OS:

 

 [2001-05-01 05:07 UTC] poobah at unclescrotor dot com
Running MySQL 3.23.31 on RH 6.2 kernel 2.2.16 apache 1.3.14

Configuration:

./configure --with-mysql --with-apxs --with-imap --with-pgsql --enable-ftp --enable-exif --with-gd

Posts these warnings during compile:


In file included from mysql.h:55,
                 from libmysql.c:14:
mysql_version.h:15: warning: `MYSQL_UNIX_ADDR' redefined
/home/php-4.0.5/main/php_config.h:1369: warning: this is the location of the previous definition
In file included from mysql.h:55,
                 from net.c:18:
mysql_version.h:15: warning: `MYSQL_UNIX_ADDR' redefined
/home/php-4.0.5/main/php_config.h:1369: warning: this is the location of the previous definition
In file included from mysql.h:55,
                 from password.c:27:
mysql_version.h:15: warning: `MYSQL_UNIX_ADDR' redefined
/home/php-4.0.5/main/php_config.h:1369: warning: this is the location of the previous definition
In file included from /home/jpetrovs/php-4.0.5/ext/mysql/libmysql/mysql.h:55,
                 from php_mysql.c:57:
/home/php-4.0.5/ext/mysql/libmysql/mysql_version.h:15: warning: `MYSQL_UNIX_ADDR' redefined
/home/php-4.0.5/TSRM/../main/php_config.h:1369: warning: this is the location of the previous definition

--------------------------
After doing a Make Install I can't attach to MySQL databases.  I revert back to the 4.04pl (compliled the same way) and all is well.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-03 20:33 UTC] sniper@php.net
This should be fixed in PHP 4.0.6R. Please try the 
latest release candidate from:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 23 01:00:02 2025 UTC