Visit Our UNIX and Linux User Community


make command problem with MySql install


 
Thread Tools Search this Thread
Operating Systems Linux make command problem with MySql install
# 1  
Old 10-28-2009
MySQL make command problem with MySql install

Hi, hopefully someone can help me. I am trying to set up LAMP on Fedora 11 starting with MySql. I downloaded the mysql-5.1.40.tar.gz tarball and unpacked it all. This created the mysql-5.1.40 directory. Next I ran the
./configure command.
Following this I ran the make command to compile but got the following:

'No targets specified and no makefile found'

and for the make install command I got:

'No rule to make target install'


Any help on this or how to set up LAMP properly would be much appreciated.
Thanks,
Patrick. Smilie
# 2  
Old 10-29-2009
First: why do you want/need to compile MySQL yourself? As far as I know, Fedora has it in it's repositories, which means a (about) 5 minute install, instead of a half-hour compile

Second: are you sure the configure ran completely. If it exited because of a problem, it won't generate a Makefile, and you won't be able to compile.
# 3  
Old 11-20-2009
Quote:
Originally Posted by patcom
Hi, hopefully someone can help me. I am trying to set up LAMP on Fedora 11 starting with MySql. I downloaded the mysql-5.1.40.tar.gz tarball and unpacked it all. This created the mysql-5.1.40 directory. Next I ran the
./configure command.
Following this I ran the make command to compile but got the following:

'No targets specified and no makefile found'

and for the make install command I got:

'No rule to make target install'


Any help on this or how to set up LAMP properly would be much appreciated.
Thanks,
Patrick. Smilie
Fedora does have it's own repositories and there is no need to compile the sources yourself. This is what you should do

1) Become root by using su -
2) yum install mysql mysql-server
To run your mysql server type:
3) /etc/init.d/mysqld start

I hope this answeres your quesiton.

Previous Thread | Next Thread
Test Your Knowledge in Computers #890
Difficulty: Easy
In sed, the REGEX dot (.) matches exactly one character.
True or False?

10 More Discussions You Might Find Interesting

1. HP-UX

How to install Mysql on HP-UX?

Gd afternoon I am trying to run my website made in php-mysql on a HP-UX system but dont know how to install and run services of Mysql. Kindly provide appropriate solution for installing mysql on HP-UX system. thanks in advance. (1 Reply)
Discussion started by: kumar.ashishcs
1 Replies

2. Fedora

Make check install and make all install

hi dear i want to know what is different between make check install and make all install? thanks in advane fereshte (3 Replies)
Discussion started by: komijani
3 Replies

3. UNIX for Dummies Questions & Answers

Difference between configure/make/make install.

Hi, While installation of apache on linux, we perform the below tasks. 1) Untar 2) configure 3) make 4) make install. I wanted to understand the difference and working of configure/make/make install. Can any one help me understanding this? Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies

4. Solaris

make command problem

hi, I'was trying to compile a simple game , just for testing the system, but the make command gave me problems, so I read that it was best to have a gnu make package installed so I made pkgrm SUNWgmake and installed the gnu make from sunfreesoftware, the problem is that now when I run make... (9 Replies)
Discussion started by: freeware
9 Replies

5. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

6. UNIX for Advanced & Expert Users

problem with make command

hi guys would u clarify me how to use make command , how to write rules of make command and to execute . (1 Reply)
Discussion started by: chinakampalli p
1 Replies

7. UNIX for Dummies Questions & Answers

Problem with make command

hi guys/gals would u help me out on using make command , how to write rules and execute of make command , am using mandriva linux (1 Reply)
Discussion started by: chinakampalli p
1 Replies

8. Linux

Error in issuing a make and make install

Hi, Recently I install a package and try to do a make and make install. However, in the make it gives me below error:- make:Nothing to be done for 'install-exec-am' make:Nothing to be done for 'install-data-am' Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies

9. UNIX for Dummies Questions & Answers

make and make install commands

Hi there, I am installing a package at the moment on to my Solaris version 8 and I have run into a problem with the 'make' command. I have installed the package using the 'pkgadd' command and I am now at the stage where I have to use the 'make' command followed by the 'make install'... (4 Replies)
Discussion started by: gerwhelan
4 Replies

10. UNIX for Advanced & Expert Users

MySQL problem >> missing mysql.sock

MySQL on my server is down.... I figured out that the mysqld process isn't running. When I try to run it, it says it can't find mysql.sock Any suggestions? Here's what I can't do: can't be root don't have physical access (do stuff via SSH) reinstall MySQL (need to keep the current MySQL... (8 Replies)
Discussion started by: _hp_
8 Replies

Featured Tech Videos