Jump to content

Installing from Source


tyme
 Share

Recommended Posts

Often when installing from source you run into issues during ./configure or make, complaining about something.o or somethingelse.h not existing. Often these packages belong to a something-devel RPM, and you need to install said RPM so that these files are present.

 

For help finding out which whatever-devel package you need, check this post: http://www.mandrakeusers.org/viewtopic.php?t=6624 concerning finding packages containing certain files.

 

Explanation:

*-devel packages contain the source code for their respective binary rpms (regular * package). When compiling from source, programs sometimes require the code of other programs so that they can function properly. Hence, you need to install the *-devel package so that these files are present.

Link to comment
Share on other sites

I know it probably wasn't mentioned because 'it's a given' to many of us, but for the sake of the newbie, I thought I'd mention that the first thing to do is

 

urpmf file_name

 

following your example it would be

urpmf something.so

 

this will search the rpmdb (database) in your sources to see if it's available from your current sources. If urpmf finds something.so in pkg something-4.i586.mdk.rpm, then all you have to do is

urpmi something

 

This will keep you from having to download from the net, and lessen dep hell, not to mention other probs that could arise.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...