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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-05-2007, 10:11 AM
|
#1
|
LQ Newbie
Registered: Oct 2007
Distribution: opensuse 10.3
Posts: 11
Rep:
|
./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.
|
|
|
10-05-2007, 11:01 AM
|
#2
|
Member
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71
Rep:
|
You should install "kdebase-devel" or something like that
|
|
|
10-05-2007, 11:18 AM
|
#3
|
LQ Newbie
Registered: Oct 2007
Distribution: opensuse 10.3
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
10-05-2007, 11:42 AM
|
#4
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
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).
|
|
|
10-05-2007, 11:45 AM
|
#5
|
Member
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71
Rep:
|
If I'm not wrong, OpenSUSE names development headers -devel, unlike Debian that uses the -dev suffix
|
|
|
10-05-2007, 01:22 PM
|
#6
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|