免费注册 查看新帖 |

Chinaunix

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

mysql ./configure编译问题,make一直出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-13 15:30 |只看该作者 |倒序浏览
看了论坛里的帖子http://bbs.chinaunix.net/archiver/?tid-83729.htmlhttp://chinaunix.net/forum/viewt ... p;highlight=proftpd
说一下我选的版本,我的系统是solaris8 sparc
mysql-3.23.55.tar.gz
gcc-3.2.2-sol8-sparc-local.gz
make-3.80-sol8-sparc-local.gz
gzip-1.3.5-sol8-sparc-local
tar-1.13.tar.gz
另外我还装了一些相关的软件
ncurses-5.3-sol8-sparc-local.gz(一定要)
autoconf-2.57-sol8-sparc-local.gz (精华贴中说要装的)
automake-1.7.2-sol8-sparc-local.gz (精华贴中说要装的)
bison-1.875-sol8-sparc-local.gz (精华贴中说要装的)
zlib-1.1.4-sol8-sparc-local.gz(这是sun网站上要求安装的)
这些软件都是安装好的,
解压mysql-3.23.55.tar.gz后
./configure --prefix=/usr/local/mysql提示如下的错
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extra/Makefile
config.status: creating mysys/Makefile
config.status: creating isam/Makefile
config.status: creating strings/Makefile
config.status: creating regex/Makefile
config.status: creating heap/Makefile
config.status: creating bdb/Makefile
config.status: creating myisam/Makefile
config.status: creating myisammrg/Makefile
config.status: creating man/Makefile
config.status: creating os2/Makefile
config.status: creating os2/include/Makefile
config.status: creating os2/include/sys/Makefile
config.status: creating readline/Makefile
config.status: error: cannot find input file: readline/Makefile.in
提示找不到 readline/Makefile.in
然后make则提示
# make
cd include; make link_sources
make[1]: Entering directory `/avalon/mysql-3.23.55/include'
make[1]: *** No rule to make target `link_sources'.  Stop.
make[1]: Leaving directory `/avalon/mysql-3.23.55/include'

之后我将gcc的版本改为2.95.3提示仍是这个,于是在./configure时加入
#CC=gcc CFLAGS="-O6" CXX=gcc CXXFLAGS="-O6 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gbk --with-extra-charsets=all
结果提示的错误还是config.status: error: cannot find input file: readline/Makefile.in
make 也如此
看坛子里的朋友最终都搞定了,怎么我的服务器总是报错,很郁闷,请各位朋友大家帮忙分析下,帮我解决下这个头痛的问题,折腾了几天了

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2006-11-14 09:23 |只看该作者
你干嘛非得这么费事自己编呢,www.sunfreeware.com上不是有打好包的吗?

论坛徽章:
0
3 [报告]
发表于 2006-11-14 11:02 |只看该作者
嗯,mysql.com上有可以直接下载的tar包,解开就可以用

论坛徽章:
0
4 [报告]
发表于 2006-11-14 15:31 |只看该作者
呵呵,朋友别见笑,也是想学学编译,也下载了pkg直接安装的,不过想了解多些solaris
希望就提出的问题给点意见,thanks

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
5 [报告]
发表于 2006-11-15 09:49 |只看该作者
这样呀,建议你找点好装的学,别一开始就搞这么麻烦的。。。
看提示你的mysql少文件?config.status: error: cannot find input file: readline/Makefile.in

论坛徽章:
0
6 [报告]
发表于 2006-11-15 15:31 |只看该作者
我来顶一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP