PDA

View Full Version : Error building php 5



enginaar
03-06-2008, 05:39 AM
Hello,

I'm having trouble to build php 5. I ran #./build php 5 to compile php5 but it gone loop with this error.

make: *** [ext/mysqli/mysqli_api.lo] Error 1
Trying to make php...

it gives error than tries again and again.

#./build php command helped me to get some detailed information. there is an error messages like below about mysqli_api.lo


/mysqli/mysqli_api.c -o ext/mysqli/mysqli_api.lo
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_change_user':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_kill':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_ping':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_prepare':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1376: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1377: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_real_connect':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1453: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1454: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_real_query':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_select_db':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_store_result':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: structure has no member named `last_error'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c: In function `zif_mysqli_use_result':
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: structure has no member named `last_errno'
/usr/local/directadmin/custombuild/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: structure has no member named `last_error'
make: *** [ext/mysqli/mysqli_api.lo] Error 1

smtalk
03-06-2008, 06:23 AM
http://bugs.php.net/bug.php?id=44137