LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trying to compile for first time Please Help (https://www.linuxquestions.org/questions/linux-software-2/trying-to-compile-for-first-time-please-help-77179/)

Viper 07-30-2003 12:35 AM

Trying to compile for first time Please Help
 
I'm running mandrake 9.1
I found a really cool program at : http://apps.kde.com/na/2/info/vid/9031?sid=&sid= ,but I can't get the RPM to download
So I figured sooner or later I'm goint to have to compile, so I might as well learn now. I typed in the commands in the instructions below, copied below and none of the commands work, any Ideas? Anybody?

there is no make install file, these are the only install instructions... " Major Bummer"

How to Install SSCDRFE -Small Simple CDR Frontend-
**************************************************

Compiling:
------------------------------------------------------
1. cd into sscdrfe
2. run 'qmake -project'
3. run 'qmake'
4. run 'make'

------------------------------------------------------

Running the Programm:
---------------------
simply run the newly generated executable
from within the 'sscdrfe-directory' -> './sscdrfe'


TIPS:
-----
1. Be sure that cdrecord, mkisofs, and cdrdao are in $PATH.
2. If not running from within the 'sscdrfe-directory'
the logo come up.

scott_R 07-30-2003 12:48 AM

what are the errors, or are there none? If no errors, have you tried running the program? It might have installed itself if there were none.

If there were errors, please post them.

bla 07-30-2003 12:48 AM

It may be because You do not have any packages used to compile programs. They are on cd with your distribution. qmake means that qt-dev must be installed (development package for QT), and of course gcc (compiler) and make (something REALLY useful in creating applications). Possibly few things more...
bla

Viper 07-30-2003 01:23 AM

the error or whatever is:

bash: qmake: command not found

I believe bla is corect, I had better install those programs first, then retry, only makes sense, but I didn't know... :-)

Viper 07-30-2003 11:46 PM

ok, as far as I can tell I have installed madrake 9.1 versions of make, qt-developement packages, and the gcc compiler. below are my results:

[jason@localhost jason]$ cd /home/jason/Desktop/sscdrfe
[jason@localhost sscdrfe]$ qmake -project
bash: qmake: command not found
[jason@localhost sscdrfe]$ run 'qmake -project'
bash: run: command not found
[jason@localhost sscdrfe]$ run qmake -project
bash: run: command not found
[jason@localhost sscdrfe]$ qmake
bash: qmake: command not found
[jason@localhost sscdrfe]$ make
make: *** No targets specified and no makefile found. Stop.
[jason@localhost sscdrfe]$

So all I could think of was to try again as root, and I got exactly the same results...

Anybody know how I may double check the programs to make sure I have what I need installed? then how could I tell what I need?

bla 07-31-2003 12:38 AM

rpm -qa shows installed packages; do:
rpm -qa | less and then search for qt and so on (type / and text);
If You lack thos ones, install them.

Viper 07-31-2003 01:18 AM

well if I did it right I do not have qt,

[jason@localhost jason]$ rpm -qa | less qt
qt: No such file or directory
[jason@localhost jason]$

is there an rpm out there that will actually work on mandrake 9.1 of QT that you know of?

megaspaz 07-31-2003 01:30 AM

not trying to sound like a smart ass or anything, but have you tried looking on your mandrake cds? i don't know cause i got them qt libraries from installing everything for rh 7.3. maybe you didn't install all of the development packages.

Viper 08-03-2003 01:09 AM

Yes, that is where I installed everything from so far. As far as I can tell RPM drake says it is installed, but it isn't just called qt, that is one thing that sucks about linux, that doesn't in windows, why won't the same program work in all versions of linux, then they don't compile, then have dependencies that don't exist... So basically my understanding is that we need to pick the distro that comes with the software we want cause that's what we are stuck with, not much better than microsoft...

Any way I'll install everything under development, and try again...

scius 08-03-2003 01:30 AM

A good idea for dependancies is to take the name that is says you're missing (in your case qmake or qt) and search for it on http://rpmfind.net/linux/RPM/ then download the most appropriate one. I checked the progs that come with mandy myself and found no qmake or qt, so i think rpmfind is your next best bet.

Viper 08-03-2003 11:06 PM

Hey I really appreciate that... I was thinking it was there, but named automake for make, then there were a lot of files with qt in them, I installed them all and no dice...

Viper 08-03-2003 11:22 PM

Check this out, before I went to RPM Find, I went to the mandrake site because they have a big selection of downloads, for the specific versions, I could only get the source to make, not the RPM, just how would they expect you to package that? unless you had the program, but yet you can't get it from them pre compiled, luckily RPM Find had them...
Just seems like someone didn't have enough coffe the day they put that one in there...

Viper 08-04-2003 11:08 PM

I can not find a qt that will install, anyone know where I may find one for Mandrake Linux 9.1, or is it just not going to happen for mandrake 9.1 ???

JZL240I-U 08-05-2003 02:18 AM

When your "RPM drake says it is installed" maybe it is too? Did you control your Path? (echo $PATH) to see whether it includes the necessary directories?

I mean this nor only for cdrdao, mkisofs etc. Run a locate qt (and also locate Qt) to see where it might be located and compare to PATH. Perhaps these two are just not connected ...

Viper 08-08-2003 11:34 PM

My RPM drake says I have GCC & Make, I do not have QT
I run into this same problem every time I try to try out a program, I end up not being able to install it, I can't find dependencies, Maybe I need to switch to red hat, atleast they seem to have the most support, mandrake won't verify that they will help If I buy one of thier packages either, so I just won't spend money unless I know that I'll get what I want. That is one thing I really miss about ms windows, if it says it is for windows, it will work in windows, I never had to go searching for dependencies that don't exist. But I would rather spend the time to learn Mandrake, so far, I do have a lot of patience, most of the time...

Can't find a working version of qt, still looking after 2-weeks, anybody know where I could get a version that will actually install on mandrake 9.1 ?


All times are GMT -5. The time now is 04:28 PM.