系统:RedHat AS 5.5 (32位)
MYSQL:5.5.15
Coreseek:4.0.1_betaMYSQL 5.5.15 已经安装好,密码为空。正常登陆。
GO
安装CMAKE 成功
GO
在MYSQL 源码(mysql-5.5.15.tar.gz)内编译make 到30%时提出错误并中断安装:
---------------------------------------------------------------------------------------
[ 29%] Built target GenError
Scanning dependencies of target sphinx
[ 29%] Building CXX object storage/sphinx/CMakeFiles/sphinx.dir/ha_sphinx.cc.o
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc: In member function ‘bool CSphSEQuery::ParseField(char*)’:
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:1709: 警告:在有符号和无符号整数表达式间比较
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc: In member function ‘int ha_sphinx::Connect(const char*, ushort)’:
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2096: 错误:‘GETHOSTBYNAME_BUFF_SIZE’ 在此作用域中尚未声明
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2099: 错误:‘buff2’ 在此作用域中尚未声明
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2099: 错误:‘my_gethostbyname_r’ 在此作用域中尚未声明
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2102: 错误:‘my_gethostbyname_r_free’ 在此作用域中尚未声明
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2113: 错误:‘my_gethostbyname_r_free’ 在此作用域中尚未声明
make[2]: *** [storage/sphinx/CMakeFiles/sphinx.dir/ha_sphinx.cc.o] 错误 1
make[1]: *** [storage/sphinx/CMakeFiles/sphinx.dir/all] 错误 2
make: *** [all] 错误 2
------------------------------------------------------------------------------------------
在线求解,我已经重装四五遍,次次都是这个错误。