On Wed, 18 Oct 2000, Manuel A. Camacho Q. wrote:
> Dear friends:
>
> I am not a computer scientist, so I have always done my installations
> with the binaries packaged with RH releases. I always get the source
> CDs, which I colect as esoteric objects in my closet.
>
> Now, I want to recompile as much software as possible to improve my
> system. I guess I should make a custom install selecting only the
> development packages, and then install the source RPMs and recompile
> them. What I don't know how to do is to compiling from SRPMs. Can
> someone point me on how to overcome this?
>
> TIA,
>
> -Manuel.
>
> P.D.: I have compiled some sources from tarballs before.
>
>
There are a couple of ways to do this. One is to use
"rpm --rebuild <source rpm>". This will build a binary RPM and put it in
/usr/src/redhat/RPMS/<arc>. A second way is to install the source
RPM. This will install the source and patches in /usr/src/redhat/SOURCE,
the spec file in /usr/src/redhat/SPECS. You can then use rpm -bb
/usr/src/redhat/SPECS/<specfile> to build the binary RPM. The spec file
controls building the package.
man rpm for more information.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list