Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-29-2005, 09:02 PM   #1
LQ Newbie
Registered: May 2005
Posts: 8

Rep: Reputation: 0
Compiling Programs

I just installed Suse 9.1 (First Time for Linux). It is working great.
But I need to install the latest version of Kopete, or another MSN Messenger that will work, Gaime, etc.
And eventually other programs.

But I can't seem to install them. Through posts on the form I found out I need to go into the super command line with my master password.
Then enter the path of the directory that has the code. Then enter "./configure".
I do that, and it starts to do stuff. But then it always says it can't compile and says something about $Path.

Now I have a couple questions, one, I think I need to go and get a C Compiler, I hear something about GTK, is that one, or something different?
Do I need Glib? Or does Suse have this already? What and where do I get the stuff I need.

Also, when I am compiling programs like Kopete, does it have to be in a certain directory to compile?

Any help on this matter would be great.
Old 05-29-2005, 09:30 PM   #2
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

Rep: Reputation: 15
Let's get you startetd.

GTK stands for "gimp toolkit" and is a widget/ui drawing program. Chances are that you are using it without even knowing it. GCC and G++ are C compilers. You will also need autoconf, libtool, and make if you wish to compile programs.

You may not need to compile those programs. You can use suse's package manager instead, unless you need the absolute latest versions, AFAIK all of the versions of GaIM and Kopete since suse 9.1 support MSN...

IF the package isn't in suse's package manager or you MUST compile it, here's the way to do it. It's alot easier to just get it from the package manager, if you can.

However, if you want to compile the program, here's what you do.

First, you will need a C compiler and a host of other tools.
Namely, you need gcc, g++, libtool, autoconf, and make. You should install all of these tools from SUSE's package manager.

Then you download the archive and extract it to somewhere...
Then open a terminal and type:

cd path/to/whereever
where path/to/wherever is where you extracted it to.

Next, you need to configure it. If you need any other libraries, it will tell you here.
Type the following command into your terminal.

If this ends with an error, it should tell you why. Chances are that it requires some library or package that you don't have.
Go to suse's package manager and install these packages and re-run configure. Repeat until it completes successfully.

Finally, you need to build and install the program.
As root type:

make && make install
That will build the program, and ( && ) if that exits sucessfully, it will install the program.

Once that's done that should be it. You may need to add the program to KDE or GNOME's menu.
Old 05-29-2005, 10:08 PM   #3
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
try the gaim rpm
what happens
here is how to install rpms
good luck
Old 05-30-2005, 02:51 AM   #4
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
wow alot of newbs asking the same questions that is good. i disagree with some of the things you have heard though. i think you should run ./configure as a user and run make as a user then if they are both successful you need to run make install as root using the su command. chances are you ahve the tools you need like the compiler and gtk. they will undoubtedly come with suse, but you are having a problem with the $PATH right? that is cause suse is rpm based and you are trying to build from source. this usualy results in this. i could tell you how to set the $PATH to include what you need and export it, but you really should just google that. waht you need to do it just use rpms as much as possible. there will be dependancies and you will have to find them. but you are just asking for trouble if you install from source on an rpm based distro. i would just google for whatever package adn make sure you include suse as a keyword. you will find several people that have made packages. that should be what you need. the reason for this is that rpm based distros like suse, redhat, mandrake, bla bla bla have certain places they store libraries and these places are different from where source based distros like slackware and gentoo would. so you then have to set the path to include the places or make symlinks and all this... anyway you reallyu need to just decide if you want the rpm based or source based. to some rpm based is better cause it is easier, but that doesnt mean better to me. i think you should use a source based distro, but anyway. that is the problem you are having. just find the rpm and make sure it is a suse rpm for your version.


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
Compiling Programs Thorrn4 Linux - Software 6 03-26-2005 01:25 AM
Compiling C++ programs rchillal Linux - Newbie 13 02-08-2005 06:27 AM
Compiling Programs mike35 Linux - Newbie 2 10-22-2003 10:39 AM
compiling c,c++ programs ksd Linux - Newbie 9 10-13-2003 09:23 AM
Compiling Programs Jabber63 Linux - Software 3 08-06-2003 03:58 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration