List:General Discussion« Previous MessageNext Message »
From:Jittinan Suwanrueangsri Date:July 31 2008 3:37am
Subject:Errors of "make install" command
View as plain text  
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.
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".
5.I change my account to sampleuser in log files


[root@localhost mysql-5.0.51b]#cat error.log
make[4]: *** [install-data-local] Killed
make[3]: *** [install-am] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

[root@localhost 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
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.
[root@localhost mysql-5.0.51b]#


Thank you
Jittinan
Thread
Errors of "make install" commandJittinan Suwanrueangsri31 Jul
  • Re: Errors of "make install" commandJittinan Suwanrueangsri31 Jul
    • Re: Errors of "make install" commandwalter harms31 Jul
  • Re: Errors of "make install" commandJoerg Bruehe31 Jul