Hi,

You're not using the correct version.
The right one to compile is under "Source and other files" downloads
section at the bottom of the page.

Regards,
Deckard

abraham c wrote:
> Hello,
> 
> We are trying to build from source MySQL standard ver. 4.2.1 on an 
> Intel-based machine running LINUX FEDORA Core 5 without success Using a 
> binary distribution. No RPMs
> 
> Hardware being used: Optiplex GX620 Dell system. Pentium D-based processor 
> and 1 GB of memory.   Kernel 2.6.15-1.2045_FC5
> The compiler being used is gcc version 4.1.0 20060304 
> Apache 2.2.3 and PHP 5.1.6 is up and running on the system.
> This is a brand new Linux install without any previous installations of MySQL
> 
> I proceeded to download and install unzip mysql-standard into the usr/local/ 
> folder ... 
> The filename is mysql-standard-4.2.1-pc-linux-gnu-i686 –glibc23.tar.gz.
> 
> The step where it fails is basically the compilation process.
> 
> 
> Steps to reproduce:
> 
> shell> groupadd mysql
> shell> useradd -g mysql mysql
> shell> gunzip < mysql-standard-4.2.1-pc-linux-gnu-i686 –glibc23.tar.gz | tar 
> -xvf -
> shell> cd mysql-standard-4.2.1-pc-linux-gnu-i686 –glibc23
> shell> ./configure --prefix=/usr/local/mysql
> 
> At this point I get the following message
> 
> [EMAIL PROTECTED] mysql-standard-4.1.21-pc-linux-gnu-i686-glibc23]# 
> ./configure 
> --prefix=/usr/local/mysql 
> 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 all prepared tables 
> Fill help tables 
>  
> 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 the benchmarks in the 'sql-bench' 
> directory: 
> cd sql-bench ; perl run-all-tests 
>  
> 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 
> [EMAIL PROTECTED] mysql-standard-4.1.21-pc-linux-gnu-i686-glibc23]# Starting 
> mysqld daemon with databases from               
> /usr/local/mysql-standard-4.1.21-pc-linux-gnu-i686-glibc23/data 
> STOPPING server from pid file 
> /usr/local/mysql-standard-4.1.21-pc-linux-gnu-i686
> -glibc23/data/localhost.loca              
> ldomain.pid 
> 061012 09:04:35  mysqld ended 
>  
> [EMAIL PROTECTED] mysql-standard-4.1.21-pc-linux-gnu-i686-glibc23]#
> 
> I looked at the section Dealing with Problens Compiling MySQL available here
> http://dev.mysql.com/doc/refman/4.1/en/compilation-problems.html
> But I wihtout success. I did however, clear the cache by doing:
> 
> hell> rm config.cache
> shell> make clean
> 
> Re-tried again and still no go.
> 
> shell> make   *causes to generate the following error:
> 
> shell> make install  * displays the following
> 
> shell> /usr/local/mysql/bin/mysqld_safe --user=mysql &   *gives me the 
> following message:
> 
> [EMAIL PROTECTED] bin]# ./mysqld_safe: line 183: my_print_defaults: command 
> not 
> found 
> ./mysqld_safe: line 188: my_print_defaults: command not found 
> The file /usr/local/mysql/bin/mysqld doesn't exist or is not executable 
> Please do a cd to the mysql installation directory and restart 
> this script from there as follows: 
> ./bin/mysqld_safe. 
> See http://dev.mysql.com/doc/mysql/en/mysqld_safe.html for more 
> information
> 
> I tried MySQL 5.0 with the exact same result.
> 
> Anybody has any suggestions?
> All we are trying to do is to install apache + php + mysql. Being mysql the 
> last one we need to get working.
> 
> Thanks.
> 
> 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to