Jeff Smelser wrote:

On Friday 18 June 2004 11:48 pm, Tom Williams wrote:

Hi!  I'm trying to build MySQL 4.0.20 on RedHat 5.2 (I think) Linux
system with glibc-2.2.5 and gcc-3.4.0 (which I recently upgraded to).
The compile runs smoothly, but make test fails.  Here is my configure
command:

Whoa.. 2.2.5? Redhat 5.2? you realize redhat 5.2. was released in the early 90's?/


Anyway

$ ./configure --prefix=/usr/local/mysql-4.0.20 --enable-assembler
--enable-thread-safe-client --with-mysqld-user=mysql

Here is the output from make test:
<snip>

ERROR: /home/tom/mysql-4.0.20/mysql-test/var/run/master.pid was not
created in 30 seconds;  Aborting
make: *** [test] Error 1
[EMAIL PROTECTED] mysql-4.0.20]$

Are you trying to install this as a normal user? That's what your doing.

What do you mean? He's not installing, he's running `make test`, which should run as a normal user. (It will log warnings about being unable to switch to user mysql, since he's not running it as root, but that's OK.)


I don't think I have ever ran make test.. :) You should have rights since its your home directory..

I always run `make test` when I build from source. It can catch problems. For example, mysql 4.0.17 built with gcc in Mac OS X 10.2 passed all tests and ran flawlessly for me. On the other hand, mysql 4.0.18 and 4.1.1 built on Mac OS X 10.3 seemed to build fine but failed the test suite. Sure enough, there were problems with those combinations. Now I've built 4.0.20 and 4.1.2 on 10.3.4 and once again all tests pass.


Failing tests is an indication that something isn't behaving as expected. That would probably indicate a problem with the build or the OS.

Michael


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



Reply via email to