LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is there any help for me here?? (https://www.linuxquestions.org/questions/linux-software-2/is-there-any-help-for-me-here-148266/)

WanabeLinus 02-18-2004 09:21 PM

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
:confused: :confused: :confused:
I'm using Mandrake 9.2 and KDE 3.1

WanabeLinus 02-19-2004 10:03 PM

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

DrOzz 02-19-2004 10:10 PM

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

DrOzz 02-19-2004 10:13 PM

oh and just try typing
make
instead of "make qmake" together ...

WanabeLinus 02-20-2004 06:49 AM

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??:cry:

And just one more question how does one go about bumping their post as opposed to reposting just for future reference?:study:

WanabeLinus 02-20-2004 10:18 AM

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.:study:

DrOzz 02-20-2004 12:03 PM

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 :p

WanabeLinus 02-20-2004 12:40 PM

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!

DrOzz 02-20-2004 12:43 PM

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

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 :p
its no so bad here :D

WanabeLinus 02-21-2004 10:10 AM

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:cry: :cry:

fancypiper 02-21-2004 10:19 AM

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

DrOzz 02-21-2004 07:27 PM

Quote:

[terry@localhost kcheckers]$ dir
still got that windows frame of mind eh :p ?

anyways, did you try simply just typing make ?

WanabeLinus 02-21-2004 10:15 PM

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

:confused: :confused: :confused: :confused: :confused: :confused: :confused:



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

fancypiper 02-21-2004 10:19 PM

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....

WanabeLinus 02-21-2004 10:36 PM

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?:scratch:

DrOzz 02-21-2004 10:49 PM

no go download and install (or use your distros cds)
the qt-devel package ...

WanabeLinus 02-22-2004 01:30 AM

OK just as you were posting I was downloading the Qt -devel package and now urpmi Qt = Everything installed Excellent right? Wrong I just can't get the kcheckers game OR the qstars screensaver installed no how. Now here is the output from my x terminal

[terry@localhost terry]$ cd /home/terry/Downloads/Games/kcheckers/
[terry@localhost kcheckers]$ make qmake
qmake -o Makefile kcheckers.pro
make: qmake: Command not found
make: *** [Makefile] Error 127
[terry@localhost kcheckers]$
Boy oh boy what now???
:Pengy: :Pengy: :cry: :scratch: :cry:

Is it always this difficult?:mad:


All times are GMT -5. The time now is 07:28 AM.