From: Date: December 7 2000 1:18pm Subject: =?gb2312?B?UmU6INTac29sYXJpcyA4IGZvciB4ODax4NLrbXlzcWwtMy4yMy4yOLXEzso=?= =?gb2312?B?zOI=?= List-Archive: http://lists.mysql.com/mysql/58306 Message-Id: <01fd01c06047$d481e140$5e00a8c0@waytech> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Hi, I do not know the answer myself but am only translating into English in case someone can help you. My Chinese isn't that good but I think I get the general idea. Hope you can understand English ok. One thing I can suggest. Did you follow the instructions in the mysql manual about installing on a Solaris machine? ----- Original Message ----- From: "emailsys" To: Sent: Wednesday, December 06, 2000 23:05 Subject: 在solaris 8 for x86编译mysql-3.23.28的问题 > 在solaris 8 for x86编译mysql-3.23.28,gcc和make环境都已经正确安装,运行 ./configure --with-low-memory编译的过程,出现一下错误信息: System is as above. " 'make' installs correctly but 'configure' produces the following error" > checking return type of sprintf... configure: error: can not run test program while cross compiling > > 查看configure文件相关编译代码如下: "The configure script is as follows:" > > echo $ac_n "checking "return type of sprintf"""... $ac_c" 1>&6 > echo "configure:2335: checking "return type of sprintf"" >&5 > > #check the return type of sprintf > if test "$cross_compiling" = yes; then > { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } > else > cat > conftest.$ac_ext < > 请问时候可以通过在config.cache假如代码来忽略这个错误?还是有其它的解决方法 ?谢谢指教! This is a little bit more difficult to understand but something like: "Is there a way to ignore the error in this code or is it something else entirely?" > 请给我发送一封邮件,谢谢! > emailsys@stripped > Try to write English in future, if you can. This is an English list and I don't think there are too many people who know Chinese. Cheers Rolf