LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2004, 10:21 PM   #1
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Rep: Reputation: 15
Question How do I install programs with make qmake??


Hi all can anybody give me detailed instructions on how to install programs that specify make qmake in the readme file. I have downloaded several programs screensavers or games .tar files and when I read the readme file I don't understand the instructions. It states to install: make qmake
make
make install
I guess I don't know how to compile any of these programs when I'm in the directory in the konsole as root I type make qmake and this is what I get [terry@localhost kcheckers]$ su
Password:
[root@localhost kcheckers]# make qmake
qmake -o Makefile kcheckers.pro
make: qmake: Command not found
make: *** [Makefile] Error 127
[root@localhost kcheckers]#
Can anybody help me sort out these problems

I'm using Mandrake 9.2 and KDE 3.1

Last edited by WanabeLinus; 02-18-2004 at 11:35 PM.
 
Old 02-19-2004, 11:03 PM   #2
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
Question Is there any help for me here??

Can anybody give me detailed instructions on how to install programs that specify make qmake in the readme file. I have downloaded several programs screensavers or games .tar files and when I read the readme file I don't understand the instructions. It states to install: make qmake
make
make install
I guess I don't know how to compile any of these programs when I'm in the directory in the konsole as root I type make qmake and this is the output [terry@localhost kcheckers]$ su
Password:
[root@localhost kcheckers]# make qmake
qmake -o Makefile kcheckers.pro
make: qmake: Command not found
make: *** [Makefile] Error 127
[root@localhost kcheckers]#
Can anybody help me sort out these problems

I'm using Mandrake 9.2 and KDE 3.1
 
Old 02-19-2004, 11:10 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
http://www.linuxquestions.org/questi...hreadid=147828

you already have this thread going ...
and since it has been past 24 hours, you could have simply bumped the existing thread

bumping = legal
double posting = illegal

for a lack of better terms ;-)


http://www.linuxquestions.org/rules.php
 
Old 02-19-2004, 11:13 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
oh and just try typing
make
instead of "make qmake" together ...
 
Old 02-20-2004, 07:49 AM   #5
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks Dr. for your reply I did not know you can bump in fact I don't know how to bump I thought you simply have to repost to be seen again. Sorry for that. I think I've visited your web site if I have got the correct DrOzz

As for my problem I can't seem to get any for the tarball files to compile i.e. I downloaded the qstars screensaver and it did not compile for me and now I'm trying to install the game kcheckers and having the same problem.
The instructions for installing both programs reads pretty much the same first line: make qmake second line: make third line: make install. I believe either I'm missing the concept or some libraries SOMETHING that's why I was hoping for some tutoring.

Just a thought did you see my previous post? If so how come there is no replies from anybody? Is my quest for help just hopeless??

And just one more question how does one go about bumping their post as opposed to reposting just for future reference?
 
Old 02-20-2004, 11:18 AM   #6
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
I just read the article on compiling programs form source,it's very helpful. I have some questions about it though. First I noticed in the example the made up file is downloaded to /usr/local/scr is this where all the tarballs should be downloaded into? Or in my case I usually download into /home/XXXXX/Downloads/<my made up directory> is this ok? Next is it possible that I don't have a compiler installed like gcc? Sometimes when I ./configure I receive an error something like can't find configure. Most of the time when I download tarballs into my download directory I just simply right click them and choose action unarchive here and a directory is created with in my download directory then again I right click and choose action open a terminal here then I try and carry out the instructions in the readme file which always ends in failure. Any help is appreciated.
 
Old 02-20-2004, 01:03 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
Next is it possible that I don't have a compiler installed like gcc?
yes this is possible, but i would have to see the exact error to see if you don't have it installed ...
and it doesn't matter where you download your tarballs, thats up to yourself, personaly when i download things they just go into the root of my home folder .. and then i do what has to be done with it ....
and personally i recommend you get rid of them old habits of using "point and click" and "GUI's" to work with installing your tarballs ...
i dont' know if you read --> this or not ... but if you didn't (or did) this is how i recommend you do things from now on ..
you'll have much less problems ...
just like the link i gave up above shows, the typical steps are
./configure
make
make -c "make install"
this is not always the case, but its typically the case ...
and if its not the case then there definetly will be a README or INSTALL file that will tell you what is the case, and how its done ... but regardless of the what the steps are, you should check these two files and see what the instructions are ...
but once you cd into the directory of the extracted source, and if you do a "ls" and see a configure file sitting there then the above steps will probably be the case, and you can skip reading those files ... but you will know what to look at if in doubt
 
Old 02-20-2004, 01:40 PM   #8
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks for taking your time to help me. I like Linux but after using only windows for 10 years linux can be frustrating:-( I will give the suggestions a try tonight as I'm at work now and not on my linux box. You did not mention how I can bump my post or delet finished posts. P.S. I see your from Nova Scotia WELLLLLLL how's the snow over there? NS is all over the news here from what I've seen you had a 95cm dump ping of snow. OUCH thats a lot of shoveling mate. Chin up I before you know it the temps will hit 28 Celsius and it will be the middle of July . Take care driving!
 
Old 02-20-2004, 01:43 PM   #9
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
oh as of bumping, just simply post a reply to your thread, and just type "bump" or something

as of the snow, yah we did get hit hard ... but for some reason we (people in sydney) always catch a break ;-) we only (considering others) got 34 centimeteres and then it rained for like 8 hours straight afterwards .... the 95cm was in places like halifax and yartmouth
its no so bad here
 
Old 02-21-2004, 11:10 AM   #10
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
Hi again is the Dr. in the house? I couldn't wait to get home and try out my new found knowledge BUT I still can't seem to get it going here is the output from my terminal

[terry@localhost Downloads]$ cd Games
[terry@localhost Games]$ dir
10003-kcheckers-0.4.tar.gz
[terry@localhost Games]$ tar -xzvf 10003-kcheckers-0.4.tar.gz
kcheckers/
kcheckers/pics/
kcheckers/pics/exit.xpm
kcheckers/pics/logo.xpm
kcheckers/pics/dialog.xpm
kcheckers/pics/context.xpm
kcheckers/pics/home.xpm
kcheckers/pics/biglogo.xpm
kcheckers/pics/wood3.xpm
kcheckers/pics/marble3.xpm
kcheckers/pics/wood1.xpm
kcheckers/pics/wood2.xpm
kcheckers/pics/marble1.xpm
kcheckers/pics/marble2.xpm
kcheckers/pics/undo.xpm
kcheckers/pics/green1.xpm
kcheckers/pics/green2.xpm
kcheckers/pics/green3.xpm
kcheckers/pics/open.xpm
kcheckers/pics/restart.xpm
kcheckers/pics/save.xpm
kcheckers/pics/info.xpm
kcheckers/pics/kingblack.xpm
kcheckers/pics/manwhite.xpm
kcheckers/pics/manblack.xpm
kcheckers/pics/kingwhite.xpm
kcheckers/AUTHORS
kcheckers/COPYING
kcheckers/ChangeLog
kcheckers/Makefile
kcheckers/README
kcheckers/checkers.cpp
kcheckers/checkers.h
kcheckers/echeckers.cpp
kcheckers/echeckers.h
kcheckers/field.cpp
kcheckers/field.h
kcheckers/kcheckers.cpp
kcheckers/kcheckers.h
kcheckers/kcheckers.pro
kcheckers/main.cpp
kcheckers/rcheckers.cpp
kcheckers/rcheckers.h
kcheckers/kcheckers
kcheckers/preview.cpp
kcheckers/preview.h
kcheckers/pdn.cpp
kcheckers/pdn.h
kcheckers/kcheckers.pdn
[terry@localhost Games]$ dir
10003-kcheckers-0.4.tar.gz kcheckers
[terry@localhost Games]$ cd kcheckers
[terry@localhost kcheckers]$ ./configure
bash: ./configure: No such file or directory
[terry@localhost kcheckers]$ ./install
bash: ./install: No such file or directory
[terry@localhost kcheckers]$ dir
AUTHORS echeckers.cpp kcheckers.cpp Makefile preview.h
ChangeLog echeckers.h kcheckers.h pdn.cpp rcheckers.cpp
checkers.cpp field.cpp kcheckers.pdn pdn.h rcheckers.h
checkers.h field.h kcheckers.pro pics README
COPYING kcheckers main.cpp preview.cpp
[terry@localhost kcheckers]$ Makefile kcheckers
bash: ./Makefile: Permission denied
[terry@localhost kcheckers]$ su
Password:
[root@localhost kcheckers]# Makefile kcheckers.pro
bash: Makefile: command not found
[root@localhost kcheckers]# ./make kcheckers.pro
bash: ./make: No such file or directory
[root@localhost kcheckers]# Makefile
bash: Makefile: command not found
[root@localhost kcheckers]# Makefile kcheckers.pro
bash: Makefile: command not found
[root@localhost kcheckers]# qmake kcheckers.pro
bash: qmake: command not found
[root@localhost kcheckers]#

As you can see ./configure does not seem to work for me <frustrating> OR is it because I already have a Makefile and then you can see the output from Makefile

When you issue commands like ./configure or make do you have to include the file name i.e. in this case kcheckers? Another note is in the new directory I have an executable file (gear) does this change the installation of the program? Here is what is states in the Readme file

KCheckers is a Qt-based checkers board game.

Requirements: Qt 3.0

Installation: make qmake
make
make install

Information: If you find any bugs, send a report to andi@ukr.net.
For further information and recent versions of KCheckers,
please visit it's Homepage at

http://kcheckers.osdn.org.ua.

Sorry for all the trouble I'm just a stubborn fellow
 
Old 02-21-2004, 11:19 AM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Have you tried:

urpmi kcheckers

to try and install it?

Maybe you need to install qmake first?

Have you read and followed the directions carefully in the README and INSTALL files after extracting the tarball?

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

Last edited by fancypiper; 02-21-2004 at 11:24 AM.
 
Old 02-21-2004, 08:27 PM   #12
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
Quote:
[terry@localhost kcheckers]$ dir
still got that windows frame of mind eh ?

anyways, did you try simply just typing make ?
 
Old 02-21-2004, 11:15 PM   #13
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
Wow what a wealth of knowledge here in this forum! I have a reply for the DR. and for fancypiper first the DR. here is exactly what my terminal shows when I type make
terry@localhost terry]$ cd /home/terry/D
Desktop Documents Downloads
[terry@localhost terry]$ cd /home/terry/Downloads/Games/kcheckers/
[terry@localhost kcheckers]$ make
qmake -o Makefile kcheckers.pro
make: qmake: Command not found
make: *** [Makefile] Error 127
[terry@localhost kcheckers]$
And for the fancypiper here is what my terminal shows when I use urpmi kcheckers


[terry@localhost kcheckers]$ urpmi gcc
bash: urpmi: command not found
[terry@localhost kcheckers]$ urpmi
bash: urpmi: command not found
[terry@localhost kcheckers]$ su
Password:
[root@localhost kcheckers]# urpmi gcc
Everything already installed
[root@localhost kcheckers]# urpmi mc

ftp://ftp.math.utah.edu/pub/linux/Ma...92mdk.i586.rpm





The nights can be quiet long but seeking linux knowledge drives you

Last edited by WanabeLinus; 02-21-2004 at 11:28 PM.
 
Old 02-21-2004, 11:19 PM   #14
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
To administer to your system, you must be root.

1. Open X terminal
2. Type su - and press enter
3. Answer prompt with root password
4. Now try again.
Code:
Sat Feb 21 11:19 PM fancy@uilleann ~ $ su -
Password:
Sat Feb 21 11:20 PM root@uilleann ~ #
Now I am the "god" of my computer, to bless or destroy it at my whim....

Last edited by fancypiper; 02-21-2004 at 11:21 PM.
 
Old 02-21-2004, 11:36 PM   #15
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
I did relize that after I posted but then I edited the post as you see and I did install the midnight commander as suggested but still a problem. Is it possible I damaged the tarball by trying to compile it so many times?
 
  


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




All times are GMT -5. The time now is 04:30 AM.

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