Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[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]#
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.
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.
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.
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?
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.
[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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.