LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-24-2003, 05:31 PM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
No rule to make target?


What does this error message mean?

[root@localhost mythtv-0.11]# make
make: *** No rule to make target `/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
[root@localhost mythtv-0.11]#

Thanks
Adam
 
Old 08-24-2003, 05:35 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
the qmake.conf file is missing (or not where it thinks it is), but its needed by the Makefile to compile the program.

The no target error is because when make finds a dependancy it can't find it assumes that it must have to make that, so it looks through the Makefile for rules on making the missing dependancy, can't find one so there is no rule to make target.

Have you done ./configure?
 
Old 08-24-2003, 05:36 PM   #3
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
to me it means your running as root when you neednt be. it also means you havnt followed the documentation that came with whatever it is your trying to compile. if you have then i apologize, can you tell us what it is your trying to compile and where i can get it from and i'll give it a go.
 
Old 08-24-2003, 05:39 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
My guess would be MythTV

Cool
 
Old 08-24-2003, 05:42 PM   #5
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
lol, thankyou MasterC your wisdom is unending the where to get it from was the more important part though.
 
Old 08-24-2003, 05:45 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
www.mythtv.org

I've been messing with Freevo before, currently, and probably in the future, but I might give a go on this just for kicks and comparison.

Cool
 
Old 08-24-2003, 05:57 PM   #7
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
thanks to MasterC's great advice in the naming and location of the source, ive found your problem. you didnt run ./configure, there are loads of guides on installing 'configure/make/make install' sources so i dont feel the need repeat it here. if you cant find anything then theres a chapter on it in the rute users guide by paul sheer, the best *nix administration guide ive ever found. which you can definately find a link to by googling.
 
Old 08-26-2003, 04:04 PM   #8
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
You were right but

When I try to do make install I get the following:

[root@localhost mythtv-0.11]# make install
make: *** No rule to make target `/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
[root@localhost mythtv-0.11]#

Is there any easy way to fix this? I am trying to do an apt-get dist-update, hoping this might help but is there a more logical way of fixing this problem?

Adam
 
Old 08-26-2003, 04:25 PM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
QTDIR maybe set wrong, and you may need to add QTDIR/bin
 
Old 08-26-2003, 04:46 PM   #10
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
What is QTDIR?

What exactly do I need to do... I still dont know what I need to do to fix it or what QTDIR is... sorry I guess this is what its like to be a newbie!

QTDIR maybe set wrong, and you may need to add QTDIR/bin

Adam
 
Old 08-26-2003, 04:49 PM   #11
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
QTDIR is a path used by qt programs.

type $QTDIR into a console and see what you get.

(It might not come up even with qt and KDE installed, it all depends on the distro)
 
Old 08-26-2003, 05:32 PM   #12
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
Hey here are the results from what you said to tr

Hey here are the results from what you said to try:

[adam@localhost adam]$ $QTDIR
[adam@localhost adam]$ QTDIR
bash: QTDIR: command not found

Any clues?

Adam
 
Old 08-26-2003, 05:41 PM   #13
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
Quote:
by leonscape
type $QTDIR into a console and see what you get.
lol, i know you said you were tired, mayb you should go to bed.

jimdaworm: what he meant to say was echo $QTDIR, however i dont believe that this is the problem because if it was then the ./configure stage would have failed. i suggest you start from scratch

rm -rf mythtv-0.11
tar xvjf mythtv-0.11.tar.bz2
cd mythtv-0.11
./configure [your options]
make
su
make install

and tell us any errors you get. as i said you should read some docs on installing from source.
 
Old 08-26-2003, 06:06 PM   #14
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
I got up to this stage

What could it be now?

[root@localhost mythtv-0.11]# make
make: *** No rule to make target `/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
[root@localhost mythtv-0.11]#

I am going to take your advice and try reading on of these docs... they just all look so complicated

Adam
 
Old 08-26-2003, 06:14 PM   #15
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
what was the output of ./configure ?? if it ran correctly you shouldnt get that error
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No rule to make target `install' satimis Linux From Scratch 4 09-07-2005 07:20 AM
No rule to make target coal-fire-ice Linux - Software 2 07-21-2005 11:28 AM
no rule to make target - what does this mean? rolfbeethoven Linux - Newbie 1 12-08-2004 09:08 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 12:13 PM

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

All times are GMT -5. The time now is 05:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration