LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2007, 10:11 AM   #1
huangyongqiang
LQ Newbie
 
Registered: Oct 2007
Distribution: opensuse 10.3
Posts: 11

Rep: Reputation: 0
./configure problems: changing prefix?


Hi, I'm running openSUSE.
I said before that I've downloaded a software which enables me to sync my iPod under Linux:
I just copied it to my home directory and used
tar zxvf guipod-0.101.tar.gz
After this, I entered the directory guipod-0.101,and used
./configure
but failed and got some notes at the end, which are as follows:
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

Any ideas on what I need to do to make it work?
Thanx in advance.
 
Old 10-05-2007, 11:01 AM   #2
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71

Rep: Reputation: 16
You should install "kdebase-devel" or something like that
 
Old 10-05-2007, 11:18 AM   #3
huangyongqiang
LQ Newbie
 
Registered: Oct 2007
Distribution: opensuse 10.3
Posts: 11

Original Poster
Rep: Reputation: 0
Hello, Lucazorzi.
I'm green at Linux and failed to understand "kdebase-devel".
Well, could you please give further advice?
what is it and what does it do?
Thanx.
 
Old 10-05-2007, 11:42 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
This package contains headers and other development files needed to compile software based on the KDE base module.

It will be named that or something very similar (like -dev instead of -devel).
 
Old 10-05-2007, 11:45 AM   #5
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71

Rep: Reputation: 16
If I'm not wrong, OpenSUSE names development headers -devel, unlike Debian that uses the -dev suffix
 
Old 10-05-2007, 01:22 PM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Dear huangyongqiang,

The first thing I would ask is that you make sure the program which you want is not already available in your distribution's software repositories. Installing from there is a LOT easier than building from source.

The second stop is to find a pre-compiled package from a reputable source. I've heard the site rpmfind mentioned before, although I do not used an RPM-based distro, so I have not used it myself. If you can locate a binary RPM package, that will be a lot easier to install than building from source.

OK, assuming you can't find a pre-built package here are some notes on building from source:

It is common for the run-time and development versions of libraries to be separated into two packages, which must be installed individually. For common libraries which are pre-requisites for many programs, they will be installed on you system as part of the main system. However, the development package, which is needed to build software which uses that library tends not to be installed by default.

On SuSE the convention is to have the runtime package called "something", and the development package which corresponds to that called "something-devel".

One of the challenges of building programs from source code is making sure the development package for all the libraries which that program depends upon are installed. The trick is to be able to find out the package name(s). Once you know the package name(s), it should simply be a matter of using the software installation tool in YaST to install them.

Often pre-requisites like this will be mentioned in a files called INSTALL and/or README which comes with the source code, although it is not always the case.

The worst case scenario is that a library which you need is not to be found in the repositories for your distro. In this case, you will need to download the source code fot that library first and install that. If that library depends on another package which you do not have, you need to get that too, and so on. This is not very common these days, as most distros have very extensive repositories with most commonly used libraries available.

I hope that helps.
 
  


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
./configure --prefix= plan9 Slackware 5 01-03-2013 05:44 AM
How does ./configure --prefix really work ? Voetsjoeba Linux - Software 5 09-19-2006 04:08 AM
./configure --prefix ?? itzig Linux - Software 10 02-03-2006 08:30 PM
./configure --prefix=/??? mykrob Linux - Newbie 7 06-24-2004 10:59 AM
prefix argument to ./configure luck___ Linux - Software 2 03-13-2004 03:22 AM


All times are GMT -5. The time now is 08:30 AM.

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