Chinaunix

标题: centos6.4系统下mysql5.1安装报错(以解决) [打印本页]

作者: 898042324    时间: 2013-11-02 17:44
标题: centos6.4系统下mysql5.1安装报错(以解决)
本帖最后由 898042324 于 2013-11-02 18:13 编辑

[root@asd6 mysql-5.1.72]# ./configure \
> --prefix=/application/mysql5.1.72 \   --with-unix-socket-path=/application/mysql5.1.72/tmp/mysql.sock \
> --localstatedir=/application/mysql5.1.72/data \
> --enable-assembler \
> --enable-thread-safe-client \
> --with-mysqld-ldflags=-all-static \
> --with-client-ldflags=-all-static  \
> --with-big-tables \
> --with-mysqld-user=mysql \
> --without-debug \
> --with-pthread
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub   failed

是因为缺少了libtool  libtool-ltdl   libtool-ltdl-devel
作者: vermouth    时间: 2013-11-04 09:31
你的gcc环境没装好吧?
作者: 898042324    时间: 2013-11-04 15:52
回复 2# vermouth


    是因为缺少了libtool  libtool-ltdl   libtool-ltdl-devel




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2