Advertisement
santisaez

Can't build PHP with MySQL 5.5.9 on CentOS-4 (PowerStack)

Mar 24th, 2011
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.75 KB | None | 0 0
  1. /bin/sh /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/libtool --silent --preserve-dup-deps --mode=compile cc  -Iext/mysqli/ -I/home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/ -DPHP_ATOM_INC -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/include -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/main -I/home/santi/powerstack/BUILD/php-5.3.6 -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/ext/date/lib -I/home/santi/powerstack/BUILD/php-5.3.6/ext/date/lib -I/home/santi/powerstack/BUILD/php-5.3.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/enchant -I/usr/include/freetype2 -I/usr/include/imap -I/home/santi/powerstack/BUILD/php-5.3.6/ext/mbstring/oniguruma -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/ext/mbstring/oniguruma -I/home/santi/powerstack/BUILD/php-5.3.6/ext/mbstring/libmbfl -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/ext/mbstring/libmbfl -I/home/santi/powerstack/BUILD/php-5.3.6/ext/mbstring/libmbfl/mbfl -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/TSRM -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/Zend -I/home/santi/powerstack/BUILD/php-5.3.6/main -I/home/santi/powerstack/BUILD/php-5.3.6/Zend -I/home/santi/powerstack/BUILD/php-5.3.6/TSRM -I/home/santi/powerstack/BUILD/php-5.3.6/build-cgi/    -I/usr/include -O2 -g -march=i386 -mcpu=i686 -fno-strict-aliasing  -prefer-pic -c /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo
  2. In file included from /usr/include/mysql/my_config.h:16,
  3.                  from /usr/include/mysql/my_global.h:76,
  4.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/php_mysqli_structs.h:61,
  5.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:33:
  6. /usr/include/mysql/my_config_i386.h:610:1: warning: "PACKAGE_NAME" redefined
  7. In file included from /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/TSRM/tsrm_config.h:1,
  8.                  from /home/santi/powerstack/BUILD/php-5.3.6/TSRM/tsrm_config_common.h:13,
  9.                  from /home/santi/powerstack/BUILD/php-5.3.6/TSRM/tsrm_virtual_cwd.h:27,
  10.                  from /home/santi/powerstack/BUILD/php-5.3.6/main/php.h:411,
  11.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:29:
  12. /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/include/../main/php_config.h:2097:1: warning: this is the location of the previous definition
  13. In file included from /usr/include/mysql/my_config.h:16,
  14.                  from /usr/include/mysql/my_global.h:76,
  15.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/php_mysqli_structs.h:61,
  16.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:33:
  17. /usr/include/mysql/my_config_i386.h:611:1: warning: "PACKAGE_STRING" redefined
  18. In file included from /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/TSRM/tsrm_config.h:1,
  19.                  from /home/santi/powerstack/BUILD/php-5.3.6/TSRM/tsrm_config_common.h:13,
  20.                  from /home/santi/powerstack/BUILD/php-5.3.6/TSRM/tsrm_virtual_cwd.h:27,
  21.                  from /home/santi/powerstack/BUILD/php-5.3.6/main/php.h:411,
  22.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:29:
  23. /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/include/../main/php_config.h:2100:1: warning: this is the location of the previous definition
  24. In file included from /usr/include/mysql/my_config.h:16,
  25.                  from /usr/include/mysql/my_global.h:76,
  26.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/php_mysqli_structs.h:61,
  27.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:33:
  28. /usr/include/mysql/my_config_i386.h:612:1: warning: "PACKAGE_TARNAME" redefined
  29. In file included from /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/TSRM/tsrm_config.h:1,
  30.                  from /home/santi/powerstack/BUILD/php-5.3.6/TSRM/tsrm_config_common.h:13,
  31.                  from /home/santi/powerstack/BUILD/php-5.3.6/TSRM/tsrm_virtual_cwd.h:27,
  32.                  from /home/santi/powerstack/BUILD/php-5.3.6/main/php.h:411,
  33.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:29:
  34. /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/include/../main/php_config.h:2103:1: warning: this is the location of the previous definition
  35. In file included from /usr/include/mysql/my_config.h:16,
  36.                  from /usr/include/mysql/my_global.h:76,
  37.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/php_mysqli_structs.h:61,
  38.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:33:
  39. /usr/include/mysql/my_config_i386.h:613:1: warning: "PACKAGE_VERSION" redefined
  40. In file included from /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/TSRM/tsrm_config.h:1,
  41.                  from /home/santi/powerstack/BUILD/php-5.3.6/TSRM/tsrm_config_common.h:13,
  42.                  from /home/santi/powerstack/BUILD/php-5.3.6/TSRM/tsrm_virtual_cwd.h:27,
  43.                  from /home/santi/powerstack/BUILD/php-5.3.6/main/php.h:411,
  44.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:29:
  45. /home/santi/powerstack/BUILD/php-5.3.6/build-cgi/include/../main/php_config.h:2106:1: warning: this is the location of the previous definition
  46. In file included from /usr/include/mysql/my_pthread.h:833,
  47.                  from /usr/include/mysql/my_sys.h:44,
  48.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/php_mysqli_structs.h:77,
  49.                  from /home/santi/powerstack/BUILD/php-5.3.6/ext/mysqli/mysqli.c:33:
  50. /usr/include/mysql/mysql/psi/mysql_thread.h:100: error: syntax error before "pthread_rwlock_t"
  51. /usr/include/mysql/mysql/psi/mysql_thread.h:100: warning: no semicolon at end of struct or union
  52. /usr/include/mysql/mysql/psi/mysql_thread.h:107: error: syntax error before '}' token
  53. /usr/include/mysql/mysql/psi/mysql_thread.h: In function `inline_mysql_rwlock_init':
  54. /usr/include/mysql/mysql/psi/mysql_thread.h:683: error: dereferencing pointer to incomplete type
  55. /usr/include/mysql/mysql/psi/mysql_thread.h:683: error: dereferencing pointer to incomplete type
  56. /usr/include/mysql/mysql/psi/mysql_thread.h:691: error: dereferencing pointer to incomplete type
  57. /usr/include/mysql/mysql/psi/mysql_thread.h: In function `inline_mysql_rwlock_destroy':
  58. /usr/include/mysql/mysql/psi/mysql_thread.h:715: error: dereferencing pointer to incomplete type
  59. /usr/include/mysql/mysql/psi/mysql_thread.h:717: error: dereferencing pointer to incomplete type
  60. /usr/include/mysql/mysql/psi/mysql_thread.h:718: error: dereferencing pointer to incomplete type
  61. /usr/include/mysql/mysql/psi/mysql_thread.h:721: error: dereferencing pointer to incomplete type
  62. /usr/include/mysql/mysql/psi/mysql_thread.h: In function `inline_mysql_rwlock_rdlock':
  63. /usr/include/mysql/mysql/psi/mysql_thread.h:750: error: dereferencing pointer to incomplete type
  64. /usr/include/mysql/mysql/psi/mysql_thread.h:752: error: dereferencing pointer to incomplete type
  65. /usr/include/mysql/mysql/psi/mysql_thread.h:758: error: dereferencing pointer to incomplete type
  66. /usr/include/mysql/mysql/psi/mysql_thread.h: In function `inline_mysql_rwlock_wrlock':
  67. /usr/include/mysql/mysql/psi/mysql_thread.h:806: error: dereferencing pointer to incomplete type
  68. /usr/include/mysql/mysql/psi/mysql_thread.h:808: error: dereferencing pointer to incomplete type
  69. /usr/include/mysql/mysql/psi/mysql_thread.h:814: error: dereferencing pointer to incomplete type
  70. /usr/include/mysql/mysql/psi/mysql_thread.h: In function `inline_mysql_rwlock_tryrdlock':
  71. /usr/include/mysql/mysql/psi/mysql_thread.h:862: error: dereferencing pointer to incomplete type
  72. /usr/include/mysql/mysql/psi/mysql_thread.h:864: error: dereferencing pointer to incomplete type
  73. /usr/include/mysql/mysql/psi/mysql_thread.h:870: error: dereferencing pointer to incomplete type
  74. /usr/include/mysql/mysql/psi/mysql_thread.h: In function `inline_mysql_rwlock_trywrlock':
  75. /usr/include/mysql/mysql/psi/mysql_thread.h:889: error: dereferencing pointer to incomplete type
  76. /usr/include/mysql/mysql/psi/mysql_thread.h:891: error: dereferencing pointer to incomplete type
  77. /usr/include/mysql/mysql/psi/mysql_thread.h:897: error: dereferencing pointer to incomplete type
  78. /usr/include/mysql/mysql/psi/mysql_thread.h: In function `inline_mysql_rwlock_unlock':
  79. /usr/include/mysql/mysql/psi/mysql_thread.h:910: error: dereferencing pointer to incomplete type
  80. /usr/include/mysql/mysql/psi/mysql_thread.h:911: error: dereferencing pointer to incomplete type
  81. /usr/include/mysql/mysql/psi/mysql_thread.h:913: error: dereferencing pointer to incomplete type
  82. make: *** [ext/mysqli/mysqli.lo] Error 1
  83. error: Bad exit status from /var/tmp/rpm-tmp.97659 (%build)
  84.  
  85.  
  86. RPM build errors:
  87.    Bad exit status from /var/tmp/rpm-tmp.97659 (%build)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement