Re: RPM and tarballs



On Wednesday 09 May 2007, Mike McCarty wrote:
Pawel wrote:
Oliver Ruebenacker writes:
> Dear friends,
>
> If you install software directly from a tarball, rpm will not be
> aware of the installation. How can rpm be made aware of it?
>
> Is rpm --rebuilddb supposed to always fix the problem? What if it
> does not?
>
> Or should I always try to turn the tarball into an rpm file? How to
> do this?
>
> Thank you!
>
> Take care
> Oliver
>
> --
> Oliver Ruebenacker, Post-Doc Researcher
> Theoretical Biological Physics and Soft Statistical Mechanics
> Cell Biology at UConn Health Center and Physics at Harvard
> http://people.deas.harvard.edu/~oliver/
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Oliver,
first of all use rpm package if available.
If not, then there is a tool that does rpm from tar ball.
its name is checkinstall
(http://asic-linux.com.mx/~izto/checkinstall/download.php)

How to use it:
1) untar You source code
2) ./configure ...with options You like....
3) make
4) checkinstall #. instead of make install.

I have used checkinstall exactly three times, and it has failed
for me exactly three times, leaving me with a difficult to clean
mess.

Strange. I and many others have used it several times, and never had a
problem with it. Could it be that we accept defaults, and you change some of
the options? If so, I wonder which options are dangerous.

Anne

Attachment: pgpA490130qTy.pgp
Description: PGP signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: Where Is "Add Glow" and "Center Layer" in Gimp 2.x?
    ... >> I added the stuff I needed, ripped out the RPM that RH had provided, ... >> got the source and installed from that tarball. ... then rip out the 2.2.8 RPM and then do the "make install". ... for SVG support - I posted a note about that last week ...
    (comp.graphics.apps.gimp)
  • Re: RPM and tarballs
    ... for the tarball package. ... ISTM that a tool could make a reasonable RPM from a tarball, ... in order to be able to handle install scripts. ...
    (Fedora)
  • Re: Anjuta2.2
    ... Uh, if you do checkinstall, then you don't need `make install` and the ... see if an "Official" rpm package will come out soon. ...
    (alt.os.linux.suse)
  • Re: [SLE] libphp4.so?
    ... Yes a program called CHECKINSTALL ... of the rpm. ... pretty much name the same as the tarball). ... So therefore you have two sets of the same package when using checkinstall, ...
    (SuSE)
  • Re: [SLE] rpm build + install for K3b
    ... I tried going down the checkinstall route. ... I downloaded+installed checkinstall from the RPM at ... the last step to create the rpm for my install. ... Can't produce the rpm, rpmbuild not available. ...
    (SuSE)