LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2013, 12:52 AM   #1
ashokingole
LQ Newbie
 
Registered: Apr 2012
Posts: 22

Rep: Reputation: Disabled
Question 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.
 
Old 01-21-2013, 12:58 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
what is in that directory (ls -l)?
have you tried ./configure already? what was the result?
 
Old 01-21-2013, 01:11 AM   #3
ashokingole
LQ Newbie
 
Registered: Apr 2012
Posts: 22

Original Poster
Rep: Reputation: Disabled
Unhappy

[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]#
 
Old 01-21-2013, 01:13 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
have you tried ./configure already? what was the result?
 
Old 01-21-2013, 01:24 AM   #5
ashokingole
LQ Newbie
 
Registered: Apr 2012
Posts: 22

Original Poster
Rep: Reputation: Disabled
[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]#
 
Old 01-21-2013, 01:43 AM   #6
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by ashokingole View Post
checking for termcap functions library... configure: error: No curses/termcap library found
Which distribution are you using?
The error says that the said libraries are missing and you need to install them.
 
Old 01-21-2013, 01:56 AM   #7
ashokingole
LQ Newbie
 
Registered: Apr 2012
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thumbs up

fixed it by doing: yum -y install ncurses-devel
now "make && make install" work.
 
1 members found this post helpful.
Old 01-21-2013, 01:58 AM   #8
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Thanks for following up. Please mark the thread SOLVED.
 
1 members found this post helpful.
Old 01-21-2013, 02:25 AM   #9
ashokingole
LQ Newbie
 
Registered: Apr 2012
Posts: 22

Original Poster
Rep: Reputation: Disabled
Done.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make && make install in chroot Bazzaah Debian 4 12-29-2011 12:10 PM
Why PKGBUILD and not ./configure && make && make install? slkrover Arch 2 08-09-2010 03:04 AM
what does make man && make setup check while installing qmail means vitalstrike82 Linux - Software 3 05-26-2009 09:41 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration