Board logo

标题: [求助] 升级php5.3 mysql 5.5 错误,,求助 [打印本页]

作者: atunverse    时间: 2012-12-23 06:46     标题: 升级php5.3 mysql 5.5 错误,,求助

我用wget http://down.wdlinux.cn/in/mysql_up55.sh
sh mysql_up55.sh
wget http://down.wdlinux.cn/in/php_up53.sh
sh php_up53.sh
的方法升级,最后都错误啊
mysql-5.5.27/include/my_compiler.h
mysql-5.5.27/include/mysql_com.h
mysql-5.5.27/include/my_dir.h
mysql-5.5.27/include/my_aes.h
mysql-5.5.27/include/my_atomic.h
mysql-5.5.27/include/myisammrg.h
mysql-5.5.27/include/lf.h
mysql-5.5.27/include/t_ctype.h
mysql-5.5.27/include/my_md5.h
mysql-5.5.27/include/heap.h
mysql-5.5.27/COPYING
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- MySQL 5.5.27
-- Packaging as: mysql-5.5.27-Linux-i686
-- Could NOT find Threads  (missing:  Threads_FOUND)
-- Could NOT find Threads  (missing:  Threads_FOUND)
-- Check if the system is big endian
-- Searching 16 bit integer
CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:31 (MESSAGE):
  no suitable type found
Call Stack (most recent call first):
  configure.cmake:529 (TEST_BIG_ENDIAN)
  CMakeLists.txt:257 (INCLUDE)


-- Configuring incomplete, errors occurred!
configure err




php-5.3.17/sapi/nsapi/config.m4
php-5.3.17/sapi/nsapi/nsapi.c
php-5.3.17/php.ini-production
php-5.3.17/php.ini-development
php-5.3.17/buildconf
php-5.3.17/README.SUBMITTING_PATCH
php-5.3.17/pear/
php-5.3.17/pear/Makefile.frag
php-5.3.17/pear/install-pear-nozlib.phar
php-5.3.17/pear/install-pear.txt
php-5.3.17/pear/fetch.php
php-5.3.17/LICENSE
php-5.3.17/README.input_filter
make: *** 没有规则可以创建目标“clean”。 停止。
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
configure err



有什么办法吗
作者: admin    时间: 2012-12-23 10:48

没有C编译环境,安装上就可以
作者: atunverse    时间: 2012-12-23 13:54

本帖最后由 atunverse 于 2012-12-23 14:21 编辑

完成了谢谢哈。。。yum install gcc gcc-c++

如果不能安装就到/etc/yum.conf
注释掉#exclude=kernel*
作者: atunverse    时间: 2012-12-23 14:54

mysql-5.5.27/include/my_md5.h
mysql-5.5.27/include/heap.h
mysql-5.5.27/COPYING
-- MySQL 5.5.27
-- Packaging as: mysql-5.5.27-Linux-i686
-- Could NOT find Threads  (missing:  Threads_FOUND)
-- Could NOT find Threads  (missing:  Threads_FOUND)
-- Check if the system is big endian
-- Searching 16 bit integer
CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:31 (MESSAGE):
  no suitable type found
Call Stack (most recent call first):
  configure.cmake:529 (TEST_BIG_ENDIAN)
  CMakeLists.txt:257 (INCLUDE)



/bin/sh /root/php-5.3.17/libtool --silent --preserve-dup-deps --mode=compile gcc -I"/usr/include" -Iext/iconv/ -I/root/php-5.3.17/ext/iconv/ -DPHP_ATOM_INC -I/root/php-5.3.17/include -I/root/php-5.3.17/main -I/root/php-5.3.17 -I/root/php-5.3.17/ext/date/lib -I/root/php-5.3.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/freetype2 -I/root/php-5.3.17/ext/mbstring/oniguruma -I/root/php-5.3.17/ext/mbstring/libmbfl -I/root/php-5.3.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/php-5.3.17/ext/sqlite3/libsqlite -I/root/php-5.3.17/TSRM -I/root/php-5.3.17/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -prefer-non-pic -c /root/php-5.3.17/ext/iconv/iconv.c -o ext/iconv/iconv.lo
/root/php-5.3.17/ext/iconv/iconv.c: In function ‘zm_startup_miconv’:
/root/php-5.3.17/ext/iconv/iconv.c:254: 错误:‘_libiconv_version’ 未声明 (在此函数内第一次使用)
/root/php-5.3.17/ext/iconv/iconv.c:254: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
/root/php-5.3.17/ext/iconv/iconv.c:254: 错误:所在的函数内只报告一次。)
make: *** [ext/iconv/iconv.lo] 错误 1
make err


。。。新的错误。。。
作者: admin    时间: 2012-12-24 09:24

wget http://down.wdlinux.cn/in/iconv_ins.sh
sh iconv_ins.sh
再安装试试
作者: henglimin    时间: 2013-1-24 16:23

此贴有用收藏了。,
作者: huangcheng101    时间: 2015-5-19 15:14

收藏。。。。。。。。。。。
收藏。。。。。。。。。。。
作者: wongvio    时间: 2015-8-6 17:28

sh iconv_ins.sh 的时候提示:

libiconv-1.14/m4/eilseq.m4
libiconv-1.14/m4/ltsugar.m4
iconv_ins.sh: line 14: ./configure: 权限不够
make: *** 没有指明目标并且找不到 makefile。 停止。
作者: a2254148    时间: 2016-7-11 15:15

sh iconv_ins.sh 的时候提示:

libiconv-1.14/m4/eilseq.m4
libiconv-1.14/m4/ltsugar.m4
iconv_ins.sh: line 14: ./configure: 权限不够
make: *** 没有指明目标并且找不到 makefile。 停止。
怎么办




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2