Bug #18116: doesn't build with the installed mysql

From: Date: Tue, 02 Jul 2002 17:30:29 +0000
Subject: Bug #18116: doesn't build with the installed mysql
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12834@lists.php.net to get a copy of this message
From: cynic@php.net Operating system: FreeBSD 4.6-STABLE PHP version: 4.0CVS-2002-07-02 PHP Bug Type: Compile Failure Bug description: doesn't build with the installed mysql > ./configure --with-mysql=/usr/local ... > make gcc -Iext/ctype/ -I/usr/home/roman/install/php4/ext/ctype/ -DPHP_ATOM_INC -I/usr/home/roman/install/php4/include -I/usr/home/roman/install/php4/main -I/usr/home/roman/install/php4 -I/usr/home/roman/install/php4/Zend -I/usr/local/include/mysql -I/usr/home/roman/install/php4/ext/xml/expat -I/usr/home/roman/install/php4/TSRM -g -O2 -c /usr/home/roman/install/php4/ext/ctype/ctype.c -o ext/ctype/ctype.o && echo > ext/ctype/ctype.lo gcc -Iext/mysql/ -I/usr/home/roman/install/php4/ext/mysql/ -DPHP_ATOM_INC -I/usr/home/roman/install/php4/include -I/usr/home/roman/install/php4/main -I/usr/home/roman/install/php4 -I/usr/home/roman/install/php4/Zend -I/usr/local/include/mysql -I/usr/home/roman/install/php4/ext/xml/expat -I/usr/home/roman/install/php4/TSRM -g -O2 -c /usr/home/roman/install/php4/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.o && echo > ext/mysql/php_mysql.lo /usr/home/roman/install/php4/ext/mysql/php_mysql.c:57: redefinition of `ushort' /usr/include/sys/types.h:56: `ushort' previously declared here *** Error code 1 Stop in /usr/home/roman/install/php4. ./configure --with-mysql allows the make to succeed -- Edit bug report at http://bugs.php.net/?id=18116&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18116&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18116&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18116&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18116&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18116&r=support Expected behavior: http://bugs.php.net/fix.php?id=18116&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18116&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18116&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18116&r=globals

« previous php.bugs (#12834) next »