PDA

View Full Version : [ubuntu] need help with installing from source



rehat
May 27th, 2008, 11:50 PM
Hi I'm a noob with Linux and I'm trying to understand as much as I can about it. Right now I'm working on installing new apps from a source tar.gz file and I know I can just do a apt-get, but I just want to learn how to do it from source. I'm having troubles with ./configure when trying to install kmymoney2 or amarok. I get this same error message for both:

configure: WARNING: libjpeg not found. disable JPEG support.
checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

They install fine when I use apt-get for these two programs. Can anyone tell me what the problem is. Also any tips or sites on how resolve ./configure errors. Any help would be great. Thanks

Maestro23
May 27th, 2008, 11:53 PM
First thing you need installed is "build-essential".


sudo apt-get install build-essential

Compiling from source: https://help.ubuntu.com/community/CompilingSoftware?highlight=(compiling)

*Each program should come with a README/Install doc or instructions on its website. Should also tell you any required dependencies that will be needed for the program. You will have to install these before you can continue.

Good luck and have fun. :smile:

oldos2er
May 28th, 2008, 12:57 AM
http://monkeyblog.org/ubuntu/installing/

RequinB4
May 28th, 2008, 01:01 AM
Check out the first link in my signature.

For future reference, if a configure script says something like "configure: WARNING: libjpeg not found. disable JPEG support." chances are "libjpeg" is just a package you need to install from synaptic/apt in order to have that feature enabled.

Paqman
May 28th, 2008, 01:07 AM
Well, it's always good to learn how to do new things, so go for it.

However, compiling from source isn't really very sound practice on any distro that uses a package manager. Occasionally it might be your only choice, but 99.99% of the time you'll have a more stable system if you stick to the package manager.