RE: [PHP-DEV] "MYSQL_UNIX_ADDR" redefined

From: Date: Wed, 03 Jul 2002 03:08:43 +0000
Subject: RE: [PHP-DEV] "MYSQL_UNIX_ADDR" redefined
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-85758@lists.php.net to get a copy of this message
> Jani Taskinen wrote: > > Your build stuff (gcc 3.1 installation done wrong?) is shitnitz. > > Hm, how come everything else works fine? > this seems to be a problem with the MySQL build, not ours - they need to wrap their MYSQL_UNIX_ADDR definition around an #ifndef so if a previous configure does define it, it won't get redefined and cause warnings. + +#ifndef MYSQL_UNIX_ADDR #define MYSQL_UNIX_ADDR "/tmp/mysql.sock" +#endif in mysql/mysql_version.h (libmysql) should do it. -- james

« previous php.dev (#85758) next »