LinuxSir.cn,穿越时空的Linuxsir!

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

Mandrake建立服务器的时候出错,希望得到解答。

[复制链接]
发表于 2002-10-26 00:50:25 | 显示全部楼层 |阅读模式
[PHP][root@localhost root]# groupadd mysql
[root@localhost root]# useradd -g mysql mysql
[root@localhost root]# cd /usr/local/src/mysql
[root@localhost mysql]# ./configure --pr\
> --localstatedir=/usr/local/mysql/data \
> --disable-maintainer-mode \
> --with-mysqld-user=mysql \
> --enable-large-files \
> --without-comment \
> --without-debug \
> --without-docs \
> --without-bench
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

./scripts/mysql_install_db: line 1: my_print_defaults: command not found
Didn't find ./bin/mysqld
You should do a 'make install' before executing this script
[root@localhost mysql]#
[root@localhost mysql]# make
make: *** No targets specified and no makefile found. Stop.
[/PHP]

在编译MYSQL的时候出现这个错误,我分别在红旗和MDR9.0上调试,其他正常,就这里,怎么也进行不下去了。
也不知道是什么错误,大家帮忙看看,谢谢。
发表于 2002-11-19 22:33:28 | 显示全部楼层
提示几点。或许有点帮助。
一。系统是否安装了编译类的软件,比如make。。。automake 。。。gcc之类的。
二。是否是看INSTALL和README来安装的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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