php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18116 doesn't build with the installed mysql
Submitted: 2002-07-02 13:30 UTC Modified: 2002-07-02 14:02 UTC
From: cynic@php.net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0CVS-2002-07-02 OS: FreeBSD 4.6-STABLE
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: cynic@php.net
New email:
PHP Version: OS:

 

 [2002-07-02 13:30 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-02 13:39 UTC] sniper@php.net
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)

 [2002-07-02 14:02 UTC] cynic@php.net
huh, what a prick am i.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 03:01:27 2024 UTC