Can't build PHP 5.3.6 with MySQL 5.5.10 on CentOS-4

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



Hello,

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

/usr/include/mysql/my_config_i386.h:610:1: warning: "PACKAGE_NAME" redefined
/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/NBfB5PzZ

This only happens on CentOS-4 with GCC 3.4.6, I can build PHP 5.3.6 with 5.5.10 in CentOS-5 without problems.

Also, there is no problem building with MySQL 5.5.8 and previous versions. The problem **only occurs with MySQL 5.5.9 or MySQL 5.5.10** and any PHP version on C4.

Anyone knows how to fix this problem? thanks!!

Cheers,

--
Santi Saez
http://powerstack.org

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux