php-developer-list | 2000111
Date: 11/10/00
- Next message: Morten Rnseth: "Re: [PHP-DEV] PHP 4.0 Bug #7740 Updated: Will not compile properly"
- Previous message: gwu <email protected>: "Re: [PHP-DEV] PHP 4.0 Bug #7711 Updated: undefined symbol __ns_name_unpack@ <email protected>"
- In reply to: Michael Widenius: "RE: [PHP-DEV] 4.0.4"
- Next in thread: Björn Schotte: "Re: [PHP-DEV] 4.0.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Monty,
Michael Widenius wrote:
> >>>>> "Andi" == Andi Gutmans <andi <email protected>> writes:
>
> Andi> This sounds very strange. I am also sending this mail to
> the MySQL guys.
> Andi> Maybe they have some insight on this.
> Andi> The bug URL is http://bugs.php.net/?id=7504
> Andi> At 03:33 PM 11/2/00 -0500, Mike Robinson wrote:
>
> >> > Are there any key issues/bugs
> >> > which are open?
> >>
> >> #7504, mysql related.
> >>
> >> I removed....
> >>
> >> #define MYSQL_UNIX_ADDR "/tmp/mysql.sock"
> >>
> >> from around line 5 or 6 in ext/mysql/libmysql/mysql_version.h,
> >> recompiled, and the problem went away. Mysql support was broken
> >> while that line existed.
>
> I don't know anything about the above.
>
> Mike, What was the compiler error you get while compiling?
from libmysql.c:14:
mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined
...
In file included from mysql.h:53, from net.c:18:
mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined
/usr/src/php4-200010261145/php_config.h:1321:1:
warning: this is the location of the previous definition
...
In file included from mysql.h:53, from password.c:27:
mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined
/usr/src/php4-200010261145/php_config.h:1321:1:
warning: this is the location of theprevious definition
...
from php_mysql.c:57:
/usr/src/php4-200010261145/ext/mysql/libmysql/mysql_version.h:14:41:
warning: "MYSQL_UNIX_ADDR" redefined
/usr/src/php4-200010261145/php_config.h:1321:1:
warning: this is the location of the previous definition
PHP compiled and installed, but all scripts accessing mysql
stopped making connections to the server.
(Redhat 7.0, MySql-3.22.30 from RPMs)
This apparently has been fixed in CVS. Current snapshots work without
problems, and the offending line seems to have been removed from
'ext/mysql/libmysql/mysql_version.h'.
If you need more info please LMK.
Regards
Mike Robinson
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Morten Rnseth: "Re: [PHP-DEV] PHP 4.0 Bug #7740 Updated: Will not compile properly"
- Previous message: gwu <email protected>: "Re: [PHP-DEV] PHP 4.0 Bug #7711 Updated: undefined symbol __ns_name_unpack@ <email protected>"
- In reply to: Michael Widenius: "RE: [PHP-DEV] 4.0.4"
- Next in thread: Björn Schotte: "Re: [PHP-DEV] 4.0.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

