Bug #18116 Updated: doesn't build with the installed mysql
| From: | sniper@php.net | Date: | Tue, 02 Jul 2002 17:39:52 +0000 |
| Subject: | Bug #18116 Updated: doesn't build with the installed mysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12835@lists.php.net to get a copy of this message | ||
ID: 18116
Updated by: sniper@php.net
Reported By: cynic@php.net
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: FreeBSD 4.6-STABLE
PHP Version: 4.0CVS-2002-07-02
New Comment:
Again, are you 100% sure your checkout is up-to-date?
And you have done './cvsclean ; ./buildconf' ?
If so, check config.log if ushort is even checked.
(in the mysql checks)
Previous Comments:
------------------------------------------------------------------------
[2002-07-02 13:30:29] cynic@php.net
> ./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 this bug report at http://bugs.php.net/?id=18116&edit=1