分页: 1 / 1

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

发表于 : 2008-05-02 15:31
JayKing

代码: 全选

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。 停止。
不知道怎么回事~~~ :(

发表于 : 2008-05-02 15:37
dbzhang800
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!
我也不知道怎么回事,如果楼主这样的提示都不看,为什么非要尝试从源码安装?

源中的软件难道真的不能满足你的要求么??

发表于 : 2008-05-02 15:45
JayKing
:P Sorry, 没有仔细看系统的提示,我是刚开始学Linux,按照网上的教程安装的,比较菜~~谢谢你咯

发表于 : 2008-05-02 15:49
dbzhang800
JayKing 写了::P Sorry, 没有仔细看系统的提示,我是刚开始学Linux,按照网上的教程安装的,比较菜~~谢谢你咯
看教程要看ubuntu的教程,至少也要了解ubuntu与其它linux系统软件包管理的异同,

发表于 : 2008-09-10 18:20
snoboy
现在也遇到了同样的问题,请解答。