freebsd8.2安装MYSQL出错后,如何处理?
本帖最后由 燧人氏 于 2011-06-03 16:44 编辑
3.1 安装mysql 5.5.4 m3
cd /usr/ports/databases/mysql55-serveree Makefile
在第30行下面加上下面的参数
--enable-thread-safe-client \
--disable-dtrace \
--enable-assembler \
--enable-assembler \
--with-big-tables \
--with-ssl \
--with-embedded-server \
--with-local-infile \
--with-plugins=partition,innobase,myisammrg
然后执行下面一步,出错了。
#make install clean
报错信息:
Error when bootstrapping CMake:
Cannot find appropriate Makefile processor on this system.
Please specify one using environment variable MAKE.
---------------------------------------------
Log of errors: /usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
===> Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-2.8.4/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1
Stop in /usr/ports/devel/cmake.
*** Error code 1
Stop in /usr/ports/databases/mysql55-server.
*** Error code 1
Stop in /usr/ports/databases/mysql55-server.
/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmake_bootstrap.log 日志内容如下
Try: cc
Line: cc -O2 -pipe -fno-strict-aliasing cmake_bootstrap_79915_test.c -o cmake_bootstrap_79915_test
---------- file -----------------------
#ifdef __cplusplus
# error "The CMAKE_C_COMPILER is set to a C++ compiler"
#endif
#include<stdio.h>
#if defined(__CLASSIC_C__)
int main(argc, argv)
int argc;
char* argv[];
#else
int main(int argc, char* argv[])
#endif
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果要加参数的话 ,建议在 make 命令之后加。。那样的话如果编译不通过,也容易查找问题所在。