免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3241 | 回复: 1
打印 上一主题 下一主题

[FreeBSD] freebsd8.2安装MYSQL出错后,如何处理? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-06-03 16:41 |只看该作者 |倒序浏览
本帖最后由 燧人氏 于 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

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-10-05 06:20:00操作系统版块每日发帖之星
日期:2015-10-05 06:20:00
2 [报告]
发表于 2011-06-03 18:53 |只看该作者
如果要加参数的话 ,建议在 make 命令之后加。。那样的话如果编译不通过,也容易查找问题所在。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP