求助centOs下安装mysql5.0.45时出下面的错误

求助centOs下安装mysql5.0.45时出下面的错误

在centOs下安装mysql5.0.45时出下面的错误,那位高手帮一下忙!急
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 localhost.localdomain 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
[root@localhost mysql-5.0.41-linux-i686]# chown: ‘mysql’: 无效的用户
Starting mysqld daemon with databases from /home/php+mysql+apache/mysql-5.0.41-linux-i686/data
STOPPING server from pid file /home/php+mysql+apache/mysql-5.0.41-linux-i686/data/localhost.localdomain.pid
071026 16:17:56  mysqld ended

      
初始化数据库:
复制内容到剪贴板
代码:
#/package_path/bin/mysql_install_db
      
又出现下面的错误      
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking "character sets"... default: utf8, collation: utf8_general_ci; compiled in: utf8 latin1 utf8
checking whether to compile national Unicode collations... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@localhost mysql-5.0.45]# make
make: *** 没有指明目标并且找不到 makefile。 停止。      
上面的错误自已编译后出现的错      
引用:
原帖由 youzlm 于 2007-10-26 23:34 发表
...
checking for gawk... (cached) gawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details. ...
你的机器没有安装gcc,用原安装盘将其补上。      
谢谢楼上的 !我去试一下      
我是初学者。。想问一下GCC是干嘛用的??      
引用:
原帖由 youzlm 于 2007-10-27 10:58 发表
我是初学者。。想问一下GCC是干嘛用的??
C & C++ 编译器
http://www.thtbase.com/BBS/viewt ... &extra=page%3D2      
引用:
原帖由 bwb 于 2007-10-26 19:33 发表
初始化数据库:
#/package_path/bin/mysql_install_db
你所说的初值化数据库是怎样弄的?