Hi !

Jittinan Suwanrueangsri wrote:
Hi all
If you know how to fix these problems please tell me.

System details
1.OS=Linux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux
2.tar = tar (GNU tar) 1.19
3.gcc =gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
4.make=GNU Make 3.81
5.libtool=ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.456 2007/06/24 02:25:32)
6.MySQL source=http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.51b.tar.gz/from/http://mysql.ntu.edu.tw/

I do following steps

1.Change user to root then go to mysql source directory.

First commandment of computer security:
   Thou shalt not work as 'root' unless absolutely necessary ...
You need not be 'root' to compile the MySQL sources.

2.Execute "CC=gcc CXX=gcc ./configure --prefix=/usr/local/mysql --with-low-memory --with-debug".No error.
3.Execute "make".No error.
4.Execute "make -d install 1>output.log 2>error.log".

IMO, this split between stdout and stderr makes it more difficult than necessary to analyze the problem you have.

5.I change my account to sampleuser in log files


[EMAIL PROTECTED] mysql-5.0.51b]#cat error.log
make[4]: *** [install-data-local] Killed

If you had the output and the error line in the same file, we could see what the last command executed was before that "Killed" line.

make[3]: *** [install-am] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

[EMAIL PROTECTED] mysql-5.0.51b]# tail -50 output.log
 Prerequisite `Makefile.in' is older than target `Makefile'.
 Prerequisite `../config.status' is older than target `Makefile'.
No need to remake target `Makefile'.
Updating goal targets....
Considering target file `install-exec-am'.
File `install-exec-am' does not exist.
Finished prerequisites of target file `install-exec-am'.
Must remake target `install-exec-am'.
Successfully remade target file `install-exec-am'.
make[4]: Entering directory `/home/sampleuser/mysql-5.0.51b/mysql-test'
make[4]: Nothing to be done for `install-exec-am'.
Considering target file `install-data-am'.
File `install-data-am' does not exist.
 Considering target file `install-data-local'.
  File `install-data-local' does not exist.
  Finished prerequisites of target file `install-data-local'.
 Must remake target `install-data-local'.
/home/sampleuser/mysql-5.0.51b/install-sh -d \
               /usr/local/mysql/mysql-test/t \
               /usr/local/mysql/mysql-test/r \
               /usr/local/mysql/mysql-test/include \
               /usr/local/mysql/mysql-test/std_data \
               /usr/local/mysql/mysql-test/std_data/ndb_backup50_data_be \
               /usr/local/mysql/mysql-test/std_data/ndb_backup50_data_le \
               /usr/local/mysql/mysql-test/lib
Putting child 0x09577170 (install-data-local) PID 25978 on the chain.
Live child 0x09577170 (install-data-local) PID 25978
Reaping winning child 0x09577170 PID 25978
/usr/bin/install -c -m 644 ./README /usr/local/mysql/mysql-test
Live child 0x09577170 (install-data-local) PID 26001
Reaping winning child 0x09577170 PID 26001
/usr/bin/install -c -m 644 ./t/*.def /usr/local/mysql/mysql-test/t
Live child 0x09577170 (install-data-local) PID 26002
Reaping winning child 0x09577170 PID 26002
/usr/bin/install -c -m 644 ./t/*.test /usr/local/mysql/mysql-test/t
Live child 0x09577170 (install-data-local) PID 26003
Reaping losing child 0x09577170 PID 26003

I am speculating here: Is this the first occurrence of "losing" ?

My guess is this might mean the process failed:
1) Do you have files "./t/*.test" which might be installed ?
2) Did they get installed in "/usr/local/mysql/mysql-test/t" ?
3) Is there still free space in that file system ?

Removing child 0x09577170 PID 26003 from chain.
make[4]: Leaving directory `/home/sampleuser/mysql-5.0.51b/mysql-test'
Reaping losing child 0x09e02498 PID 25977
Removing child 0x09e02498 PID 25977 from chain.
make[3]: Leaving directory `/home/sampleuser/mysql-5.0.51b/mysql-test'
Reaping losing child 0x088a0118 PID 25972
Removing child 0x088a0118 PID 25972 from chain.
make[2]: Leaving directory `/home/sampleuser/mysql-5.0.51b/mysql-test'
Reaping losing child 0x0a050bc0 PID 23050
Removing child 0x0a050bc0 PID 23050 from chain.
make[1]: Leaving directory `/home/sampleuser/mysql-5.0.51b'
Reaping losing child 0x087aabb8 PID 23049
Removing child 0x087aabb8 PID 23049 from chain.
[EMAIL PROTECTED] mysql-5.0.51b]#

HTH,
Jörg

--
Joerg Bruehe,  MySQL Build Team,  [EMAIL PROTECTED]
Sun Microsystems GmbH,   Sonnenallee 1,   D-85551 Kirchheim-Heimstetten
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering     Muenchen: HRB161028


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

Reply via email to