I have installed (I think) MySQL 4.0 -- Production release on a rehat 9 machine. I am unable to start mysql. I have followed the readme file and get the following errors throughout the process:

When running scripts/mysql_install_db I receive the error:
cripts/mysql_install_db: line 1: ./bin/my_print_defaults: cannot execute binary file
scripts/mysql_install_db: line 1: /usr/bin/hostname: No such file or directory
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL deamon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
scripts/mysql_install_db: line 1: ./bin/mysqld: cannot execute binary file
Installation of grant tables failed!

Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:

shell> ./bin/mysql -u root mysql
mysql> show tables
./bin/mysqld --skip-grant & states: " -bash: ./bin/mysqld: cannot execute binary file

[1]+ Exit 126 ./bin/mysqld --skip-grant"

# cd mysql
# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/root/mysql.sock' (2)
./bin/mysqld --user=root
-bash: ./bin/mysqld: cannot execute binary file
[root@meepmeep mysql]# ./bin/mysql --user=mysql
-bash: ./bin/mysql: cannot execute binary file

ANY IDEAS????!!!?!?!?!?!?