快速业务通道

ubuntu 安装mysql-5.1.41 错误

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-27
ig.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove `libtoolT'': No such file or directory
config.status: executing default commands 看 INSTALL-SOURCE 有这么一段解决方法:
* GNU make, available from http://www.gnu.org/software/make/.
Although some platforms come with their own make
implementations, it is highly recommended that you use GNU
make. It may already be available on your system as gmake. * autoconf 2.58 (or newer), available from
http://www.gnu.org/software/autoconf/. * automake 1.8.1, available from
http://www.gnu.org/software/automake/. * libtool 1.5, available from
http://www.gnu.org/software/libtool/. * m4, available from http://www.gnu.org/software/m4/. * bison, available from http://www.gnu.org/software/bison/. You
should use the latest version of bison where possible. Version
1.75 and version 2.1 are known to work. There have been

shell> cd mysql-5.1 2. Prepare the source tree for configuration.
Prior to MySQL 5.1.12, you must separately configure the
InnoDB storage engine. Run the following command from the main
source directory:
shell> (cd storage/innobase; autoreconf --force --install)
You can omit the previous command for MySQL 5.1.12 and later,
or if you do not require InnoDB support.
Prepare the remainder of the source tree:
shell> autoreconf --force --install
As an alternative to the preceding autoreconf command, you can
use BUILD/autorun.sh, which acts as a shortcut for the
following sequence of commands:
shell> aclocal; autoheader
shell> libtoolize --automake --force
shell> automake --force --add-missing; autoconf
If you get some strange errors during this stage, verify that
you have the correct version of libtool installed. 解决方法如下: shell contentgt; apt-get install autoconf automake libtool shell contentgt; cd mysql-5.1.41 shell contentgt; autoreconf --force --install shell contentgt; aclocal shell contentgt; libtoolize --automake --force shell contentgt; automake --force --add-missing shell contentgt; CFLAGS="-O3 -mpentiumpro -mstack-align-double" CXX=gcc CXXFLAGS="-O3 -mpentiumpro -mstack-align-double -felide-constructors -fno-exceptions -fno-rtti" shell contentgt; ./configure --prefix=/usr/local/mysql --with-charset=utf8 --with-collation=utf8_general_ci --enable-thread-safe-client --with-extra-charsets=all --with-client-ldflags=-all-static -with-mysqld-ldflags=-all-static --enable-assembler --with-unix-socket-path=/usr/local/mysql/var/mysql.sock --sysconfdir=/usr/local/mysql/etc --disable-shared --without-debug --enable-largefile --with-big-tables --without-uca --with-mysqld-user=mysql --with-pthread --with-pstack --with-plugins=all好了没错误了``问题解决了~

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号