ID:               16743
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         MySQL related
 Operating System: RedHat Linux 7.2
 PHP Version:      4.2.0
 New Comment:

Works fine by now ;-)


Previous Comments:
------------------------------------------------------------------------

[2002-04-26 21:04:56] [EMAIL PROTECTED]

reclassified.


------------------------------------------------------------------------

[2002-04-26 21:04:38] [EMAIL PROTECTED]

Fixed in CVS. Fix will be in PHP 4.2.1.

--Jani


------------------------------------------------------------------------

[2002-04-23 03:42:50] [EMAIL PROTECTED]

Sorry for the german messages ;-)

Making all in mysql
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/php-4.2.0/ext/mysql«
make[3]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/php-4.2.0/ext/mysql«
gcc -I. -I/usr/src/php-4.2.0/ext/mysql -I/usr/src/php-4.2.0/main
-I/usr/src/php-4.2.0 -I/usr/src/php-4.2.0/Zend -I/usr//include
-I/usr//include/mysql -I/usr/src/php-4.2.0/ext/xml/expat 
-I/usr/src/php-4.2.0/TSRM -g -O2  -c php_mysql.c && touch php_mysql.lo
php_mysql.c:55: redefinition of `ushort'
/usr/include/sys/types.h:151: `ushort' previously declared here
make[3]: *** [php_mysql.lo] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/php-4.2.0/ext/mysql«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/php-4.2.0/ext/mysql«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/php-4.2.0/ext«
make: *** [all-recursive] Fehler 1

------------------------------------------------------------------------

[2002-04-23 02:53:22] [EMAIL PROTECTED]

The commandlines I've used for configure are:

./configure --prefix=/usr/server/php
--with-config-file-path/usr/server/config/--without-pear
--with-openssl=/usr/ --enable-bcmath --with-mysql=/usr/


After changing the source code of ext/mysql/php_mysql.c in line 55 it
worked then ;-)

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16743&edit=1

Reply via email to