[问题]安装MYSQL 报错 :make: *** 没有指明目标并且找不到 makefile

编译安装或者制作Deb包
回复
JayKing
帖子: 3
注册时间: 2007-05-22 4:08
送出感谢: 0
接收感谢: 0

[问题]安装MYSQL 报错 :make: *** 没有指明目标并且找不到 makefile

#1

帖子 JayKing » 2008-05-02 15:31

代码: 全选

jayking@JayKing-Ubuntu:~/mysql-5.0.45-linux-i686$ ./configure --prefix=/usr/local/mysql --with-charset=gb2312 --with-extra-charsets=gbk,gb2312
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.

Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h JayKing-Ubuntu password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
jayking@JayKing-Ubuntu:~/mysql-5.0.45-linux-i686$ nohup: redirecting stderr to stdout
Starting mysqld daemon with databases from /home/jayking/mysql-5.0.45-linux-i686/data
STOPPING server from pid file /home/jayking/mysql-5.0.45-linux-i686/data/JayKing-Ubuntu.pid
080502 15:27:53  mysqld ended

make && make install
make: *** 没有指明目标并且找不到 makefile。 停止。
jayking@JayKing-Ubuntu:~/mysql-5.0.45-linux-i686$ make && make install
make: *** 没有指明目标并且找不到 makefile。 停止。
不知道怎么回事~~~ :(
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
送出感谢: 0
接收感谢: 2 次
联系:

#2

帖子 dbzhang800 » 2008-05-02 15:37

jayking@JayKing-Ubuntu:~/mysql-5.0.45-linux-i686$ ./configure --prefix=/usr/local/mysql --with-charset=gb2312 --with-extra-charsets=gbk,gb2312
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
我也不知道怎么回事,如果楼主这样的提示都不看,为什么非要尝试从源码安装?

源中的软件难道真的不能满足你的要求么??
JayKing
帖子: 3
注册时间: 2007-05-22 4:08
送出感谢: 0
接收感谢: 0

#3

帖子 JayKing » 2008-05-02 15:45

:P Sorry, 没有仔细看系统的提示,我是刚开始学Linux,按照网上的教程安装的,比较菜~~谢谢你咯
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
送出感谢: 0
接收感谢: 2 次
联系:

#4

帖子 dbzhang800 » 2008-05-02 15:49

JayKing 写了::P Sorry, 没有仔细看系统的提示,我是刚开始学Linux,按照网上的教程安装的,比较菜~~谢谢你咯
看教程要看ubuntu的教程,至少也要了解ubuntu与其它linux系统软件包管理的异同,
snoboy
帖子: 29
注册时间: 2007-03-02 16:44
送出感谢: 0
接收感谢: 0

#5

帖子 snoboy » 2008-09-10 18:20

现在也遇到了同样的问题,请解答。
回复

回到 “编译或打包”