Can't build PHP 5.3.6 with MySQL 5.5.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello!

I'm trying to build PHP 5.3.6 in a server with MySQL 5.5.10, and I get this error:

/usr/include/mysql/mysql/psi/mysql_thread.h:100: error: syntax error before "pthread_rwlock_t"
/usr/include/mysql/mysql/psi/mysql_thread.h:100: warning: no semicolon at end of struct or union
/usr/include/mysql/mysql/psi/mysql_thread.h:107: error: syntax error before '}' token
/usr/include/mysql/mysql/psi/mysql_thread.h: In function `inline_mysql_rwlock_init':
/usr/include/mysql/mysql/psi/mysql_thread.h:683: error: dereferencing pointer to incomplete type

Full build log is available at: http://pastebin.com/g0kWwzye

This only happens in CentOS-4 box with GCC v3.4.6; I can build PHP 5.3.6 with MySQL 5.5.10 in CentOS-5 without problems. Anyone knows how fix this problem? thanks!!

Cheers,
--
Santi Saez
http://powerstack.org

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux