make && make install not working.
Please suggest on below error,
[root@localhost ~]# cd /usr/local/src/mysql-4.1.21 [root@localhost mysql-4.1.21]# pwd /usr/local/src/mysql-4.1.21 [root@localhost mysql-4.1.21]# date Mon Jan 21 06:43:18 IST 2013 [root@localhost mysql-4.1.21]# make clean make: *** No rule to make target `clean'. Stop. [root@localhost mysql-4.1.21]# make && make install make: *** No targets specified and no makefile found. Stop. [root@localhost mysql-4.1.21]# I am unable to installed MySQL through ./configure command. |
what is in that directory (ls -l)?
have you tried ./configure already? what was the result? |
[root@localhost mysql-4.1.21]# ls -l
total 3072 -rw-r--r-- 1 root root 3188 Jan 21 05:45 ac_available_languages_fragment -rw-r--r-- 1 root root 60575 Jul 19 2006 acinclude.m4 -rw-r--r-- 1 root root 260599 Jul 19 2006 aclocal.m4 drwxrwxrwx 48 root root 4096 Jul 19 2006 bdb drwxrwxrwx 2 root root 4096 Jul 19 2006 BUILD -rw-r--r-- 1 root root 152439 Jul 19 2006 ChangeLog drwxrwxrwx 2 root root 4096 Jul 19 2006 client drwxrwxrwx 4 root root 4096 Jul 19 2006 cmd-line-utils -rwxr-xr-x 1 root root 43420 Jul 19 2006 config.guess -rw-r--r-- 1 root root 26916 Jul 19 2006 config.h.in -rw-r--r-- 1 root root 288799 Jan 21 05:49 config.log -rwxr-xr-x 1 root root 31743 Jul 19 2006 config.sub -rwxr-xr-x 1 root root 1266970 Jul 19 2006 configure -rw-r--r-- 1 root root 103919 Jul 19 2006 configure.in -rw-r--r-- 1 root root 19071 Jul 19 2006 COPYING drwxrwxrwx 2 root root 4096 Jul 19 2006 dbug -rwxr-xr-x 1 root root 15936 Jul 19 2006 depcomp drwxrwxrwx 3 root root 4096 Jul 19 2006 Docs -rw-r--r-- 1 root root 5712 Jul 19 2006 EXCEPTIONS-CLIENT drwxrwxrwx 2 root root 4096 Jul 19 2006 extra drwxrwxrwx 2 root root 4096 Jul 19 2006 heap drwxrwxrwx 2 root root 4096 Jul 19 2006 include drwxrwxrwx 32 root root 4096 Jul 19 2006 innobase -rwxr-xr-x 1 root root 9233 Jul 19 2006 install-sh -rw-r--r-- 1 root root 41072 Jul 19 2006 INSTALL-SOURCE -rw-r--r-- 1 root root 10643 Jul 19 2006 INSTALL-WIN-SOURCE drwxrwxrwx 2 root root 4096 Jul 19 2006 isam drwxrwxrwx 2 root root 4096 Jul 19 2006 libmysql drwxrwxrwx 3 root root 4096 Jul 19 2006 libmysqld drwxrwxrwx 2 root root 4096 Jul 19 2006 libmysql_r -rwxr-xr-x 1 root root 226362 Jan 21 05:46 libtool -rwxr-xr-x 1 root root 99497 Jul 19 2006 ltconfig -rw-r--r-- 1 root root 196440 May 26 2006 ltmain.sh -rw-r--r-- 1 root root 4180 Jul 19 2006 Makefile.am -rw-r--r-- 1 root root 28738 Jul 19 2006 Makefile.in drwxrwxrwx 2 root root 4096 Jul 19 2006 man drwxrwxrwx 2 root root 4096 Jul 19 2006 merge -rwxr-xr-x 1 root root 11014 Jul 19 2006 missing -rwxr-xr-x 1 root root 3474 Jul 19 2006 mkinstalldirs drwxrwxrwx 2 root root 4096 Jul 19 2006 myisam drwxrwxrwx 2 root root 4096 Jul 19 2006 myisammrg drwxrwxrwx 8 root root 4096 Jul 19 2006 mysql-test drwxrwxrwx 2 root root 4096 Jul 19 2006 mysys drwxrwxrwx 8 root root 4096 Jul 19 2006 ndb drwxrwxrwx 3 root root 4096 Jul 19 2006 netware drwxrwxrwx 3 root root 4096 Jul 19 2006 os2 drwxrwxrwx 3 root root 4096 Jul 19 2006 pstack -rw-r--r-- 1 root root 1380 Jul 19 2006 README drwxrwxrwx 2 root root 4096 Jul 19 2006 regex drwxrwxrwx 2 root root 4096 Jul 19 2006 scripts drwxrwxrwx 4 root root 4096 Jul 19 2006 sql drwxrwxrwx 5 root root 4096 Jul 19 2006 sql-bench drwxrwxrwx 2 root root 4096 Jul 19 2006 sql-common drwxrwxrwx 2 root root 4096 Jul 19 2006 SSL drwxrwxrwx 2 root root 4096 Jul 19 2006 strings drwxrwxrwx 3 root root 4096 Jul 19 2006 support-files drwxrwxrwx 2 root root 4096 Jul 19 2006 tests drwxrwxrwx 2 root root 4096 Jul 19 2006 tools drwxrwxrwx 2 root root 4096 Jul 19 2006 vio drwxrwxrwx 2 root root 4096 Jul 19 2006 zlib [root@localhost mysql-4.1.21]# |
have you tried ./configure already? what was the result?
|
[root@localhost mysql-4.1.21]#./configure \
--prefix=/usr/local/mysql \ --localstatedir=/usr/local/mysql/data \ --disable-maintainer-mode \ --with-mysqld-user=mysql \ --with-unix-socket-path=/tmp/mysql.sock \ --without-comment \ --without-debug \ --without-bench o/p: few last line checking whether signal handlers are of type void... yes checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for termcap functions library... configure: error: No curses/termcap library found [root@localhost mysql-4.1.21]# |
Quote:
The error says that the said libraries are missing and you need to install them. |
fixed it by doing: yum -y install ncurses-devel
now "make && make install" work. |
Thanks for following up. Please mark the thread SOLVED.
|
Done.
|
All times are GMT -5. The time now is 11:04 AM. |