LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-09-2004, 12:09 PM   #1
cbcallaw
LQ Newbie
 
Registered: Feb 2004
Location: Trento, Italy
Distribution: Mandrake 10.0
Posts: 5

Rep: Reputation: 0
Compiling a basic KDE program


Hi, I'm an experienced programmer trying to figure out the KDE
environment to create some new programs. I wanted to
take a basic program that already works for KDE and see
if I could compile it.

I chose KAsteroids, and grabbed the code, complete with
sound files, etc. from the CVS directory and put it in a
new directory all by itself. I loaded up KDevelop, and
pressed the compile project button.

Two hours later, after looking for tutorials on the web,
I had to give up. There were a large number of config.in.in
files, different make files etc. When I tried to compile the
program, it said it couldn't find the right make file even
though there were several already included in there.

Does anyone know of a tutorial on how to compile the
little pieces of KDE, and where to find out information on
what's the difference between config.in and config.in.in,
and what all the different make files are for? Why should
I do automake, what do I do if automake reports an error
saying it couldn't find the right files, etc.?

Many many thanks!
 
Old 03-09-2004, 12:34 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
KDE, and a lot of the apps for it, are written using the Qt toolkit. To compile programs for KDE at the very least you would need Qt installed (including headers - i.e. the devel packages).

Other than that, without seeing exactly what errors you're encountering, it's hard to say what you need to change in order to get it to work.

Automake generates the Makefile.in files needed by configure (I think). It relies on Autoconf to do this...so you would need both Autoconf and Automake to compile KDE programs also.
 
  


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
Visual Basic like program for Linux shortname Linux - Software 1 02-07-2005 09:12 PM
problem compiling kde and another program poboy975 Linux - Software 3 01-18-2005 01:41 AM
basic object compiling c++ ttucker Programming 9 09-17-2004 09:06 AM
Gatos: help please with basic compiling of Components Metal Martian Linux - Newbie 2 04-01-2004 01:49 AM
Basic Unix Program for Linux Daniel Programming 10 07-05-2001 01:17 PM


All times are GMT -5. The time now is 04:29 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