LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 803|回复: 6

新安装的debian源码安装mysql时出现错误

[复制链接]
发表于 2005-10-27 21:29:46 | 显示全部楼层 |阅读模式

  1. checking for string.h... yes
  2. checking for memory.h... yes
  3. checking for strings.h... yes
  4. checking for inttypes.h... yes
  5. checking for stdint.h... yes
  6. checking for unistd.h... yes
  7. checking dlfcn.h usability... yes
  8. checking dlfcn.h presence... yes
  9. checking for dlfcn.h... yes
  10. checking how to run the C++ preprocessor... /lib/cpp
  11. configure: error: C++ preprocessor "/lib/cpp" fails sanity check
  12. See `config.log' for more details.
复制代码

多谢!
发表于 2005-10-27 22:30:03 | 显示全部楼层
没有装cpp,不过为什么要从源码安装呢?直接apt不行吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-27 22:33:56 | 显示全部楼层
装了cpp,存在/lib/cpp,系统中cpp有两个版本的3.3和4

觉得从源码安装比较好定制一点啊。

另外,mysq是5.0.15的。
回复 支持 反对

使用道具 举报

发表于 2005-10-27 22:41:26 | 显示全部楼层
楼主的mysql现在安装正常吗?
要是还没行的话,看看config.log,这个文件会告诉你一些信息的
看来c的编译器从3升级到4之后问题多多
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-28 13:11:07 | 显示全部楼层
还没有呢,呆会下午回家搞个gcc3试试吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-28 20:30:42 | 显示全部楼层
用 gcc3试了一下还是不行哦,

把config.log帖出来那位大哥给我看看哈。。。


  1. #define HAVE_UNISTD_H 1
  2. #define MACHINE_TYPE "i686"
  3. #define NDB_VERSION_BUILD 15
  4. #define NDB_VERSION_MAJOR 4
  5. #define NDB_VERSION_MINOR 1
  6. #define NDB_VERSION_STATUS ""
  7. #define PACKAGE "mysql"
  8. #define PACKAGE_BUGREPORT ""
  9. #define PACKAGE_NAME ""
  10. #define PACKAGE_STRING ""
  11. #define PACKAGE_TARNAME ""
  12. #define PACKAGE_VERSION ""
  13. #define PROTOCOL_VERSION 10
  14. #define STDC_HEADERS 1
  15. #define SYSTEM_TYPE "pc-linux-gnu"
  16. #define VERSION "4.1.15"
  17. #endif
  18. #ifdef __cplusplus
  19. #include <stdlib.h>

  20. configure: exit 1
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-29 22:08:08 | 显示全部楼层
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表