Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Mixing Self Compiled and RPM Packages

 
   Linux (Home) -> Partner Relationship Management RSS
Next:  Repairing a bad "erase"  
Author Message
Tim Milstead

External


Since: Oct 31, 2005
Posts: 1



(Msg. 1) Posted: Mon Oct 31, 2005 3:27 pm
Post subject: Mixing Self Compiled and RPM Packages
Archived from groups: linux>redhat>rpm (more info?)

I wanted to install some rpm files (latest ntfsprogs). They had some
dependencies that could not be met with other rpms so I downloaded and
compiled the dependencies myself (latest libfuse).

I was again told that the dependencies still did not exist even though
they did. I assume rpm checks against an rpm database rather than the
computer's hard disk for dependencies? I installed the rpms with
--nodeps and it all (kind of) works.

Is there a better way of doing this? E.g should I build an rpm after the
make has finished compiling then install my new rpm? Is there an easy
way (i.e. automated) way of building said rpm or will I need to do quite
a bit of work?

Thanks in advance,

Tim.
Back to top
Login to vote
Michal Jaegermann

External


Since: Nov 01, 2005
Posts: 12



(Msg. 2) Posted: Tue Nov 01, 2005 6:56 am
Post subject: Re: Mixing Self Compiled and RPM Packages [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tim Milstead <tim_milstead.RemoveThis@yahoo.co.uk> wrote:
> I wanted to install some rpm files (latest ntfsprogs). They had some
> dependencies that could not be met with other rpms so I downloaded and
> compiled the dependencies myself (latest libfuse).
>
> I was again told that the dependencies still did not exist even though
> they did. I assume rpm checks against an rpm database rather than the
> computer's hard disk for dependencies?

That is indeed the case (although various dependencies are generated
automatically). If you know what you doing and why you can write
yourself a small rpm which does nothing but "Provides:" some things
you are missing. Smile Not that this is generally recommended.

> I installed the rpms with --nodeps and it all (kind of) works.
>
> Is there a better way of doing this?

Well, yes. On the long-term maitenance it is not a very good idea to
mix-and-match some rpms and some things which you are just dropping into
the system - with possible exceptions when what you have packaged does
NOT depend on these other pieces. The later case is still not clear cut
as you may be _updating_ those things long time after you forgot where
and why all pieces went.

Binaries you "downloaded and compiled" most likely already were packaged
as rpms, because your new stuff had dependencies on those, and even if
binaries do not fit recompiling source rpms is not harder then doing
that otherwise. Often 'rpmbuild --rebuild some-package.src.rpm' is good
enough. Even if you cannot find anyting writing a spec file for your
sources is in most cases rather simple thing. With 'rpm-mode' present
emacs will even write a skeleton spec file for you and you have to just
fill in a few things. Yes, this is more work than just "untar,
configure, make" but on the long run it actually saves much more than an
initial investment.

The same applies if you are using some other packaging system, like
dpkg - for example.

Saying all of that you may still want to have a look at
http://asic-linux.com.mx/~izto/checkinstall/
It is not a perfect solution, and does not seem to work with an
absolute reliabiilty, but it still may tide you over if you want
something quick (and not so clean).

Michal
Back to top
Login to vote
Display posts from previous:   
Related Topics:
GDM-config - Hello, I have installed XFCE, a Desktop Environment for Fedora 3.0, how can I configure GDM to show it in the option list to choose from, when I log in? Thanks, Daniel

Control attribute of directories not explicitly included i.. - Hi When installing rpm it create Directories not explicitly included in package ( happens when the file installed on directory path which doesn't exists ) Is there a way I can control of the permissions, group and owner of these directories without..

Repairing a bad "erase" - I had just installed a package and realized that I need to do some customization and therefore would need to build from source.. I ran the rpm -ev on the package and it proceeded to work through the uninstall.... but it hung at what appeared to be..

Who wants to compile 2 drivers ( .O ) for redhat 7.3 - Hi there, To put back a windows copy from 1 server to another, using NETVAULT backupsoftware, i need two compiled drivers made in Redhat 7.3 (that is where netvault software is based on. ) As i don't have any linux machines, i hope that someone can hel...

Problems using YUM - Hi, I hope I'm not OT in this group. I'm using FC4 with yum 2.4 Since few days ago I can't run yum without getting this error that I do not understan what it means: (Command being executed: yum -y info available). *** Traceback (most recent call last)...
       Linux (Home) -> Partner Relationship Management All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact