Compile mysql-5.0.22 and php-4.4.2 with Buildroot (uClibc-0.9.28, gcc-4.0.0, binutils-2.16.1)

quoc vuong nqv104 at yahoo.com
Sun Aug 13 00:10:07 PDT 2006


I want to compile and install mysql-5.0.22(./configure --prefix=/usr/local/mysql)
  and php-4.4.2
  (./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache2/bin/apxs, I installed http-2.2.2)
   by Buildroot, but compiling unsuccessful because of having the following errors:
   
  - MySQL:
  if gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DDATADIR="\"/usr/local/mysql/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/usr/local/mysql/etc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -O3 -DDBUG_OFF -MT default.o -MD -MP -MF ".deps/default.Tpo" -c -o default.o default.c; \
  then mv -f ".deps/default.Tpo" ".deps/default.Po"; else rm -f ".deps/default.Tpo"; exit 1; fi
  default.c: In function 'search_default_file_with_ext':
  default.c:577: internal compiler error: in get_indirect_ref_operands, at tree-ssa-operands.c:1449Please submit a full bug report, with preprocessed source if appropriate.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.
  make[2]: *** [default.o] Error 1
  make[2]: Leaving directory `/root/mysql-5.0.22/mysys'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/root/mysql-5.0.22'
  make: *** [all] Error 2
   
  - PHP:
  /bin/sh /root/php-4.4.2/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/apache2/include -Isapi/apache/ -I/root/php-4.4.2/sapi/apache/ -DPHP_ATOM_INC -I/root/php-4.4.2/include -I/root/php-4.4.2/main -I/root/php-4.4.2 -I/root/php-4.4.2/ext/xml/expat -I/root/php-4.4.2/TSRM -I/root/php-4.4.2/Zend -g -O2 -prefer-non-pic -c /root/php-4.4.2/sapi/apache/sapi_apache.c -o sapi/apache/sapi_apache.lo
  /root/php-4.4.2/sapi/apache/sapi_apache.c: In function 'apache_php_module_main':
  /root/php-4.4.2/sapi/apache/sapi_apache.c:45: error: 'NOT_FOUND' undeclared (first use in this function)
  /root/php-4.4.2/sapi/apache/sapi_apache.c:45: error: (Each undeclared identifier is reported only once
  /root/php-4.4.2/sapi/apache/sapi_apache.c:45: error: for each function it appears in.)
  make: *** [sapi/apache/sapi_apache.lo] Error 1
  ~/php-4.4.2 #
   
   Can you help me? I need your help. Thank you very much

 		
---------------------------------
Get your email and more, right on the  new Yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/uclibc/attachments/20060813/f613cabc/attachment.htm 


More information about the uClibc mailing list