Re: [ILUG] libelf

From: C. Hennessy (Con.Hennessy at domain airtel-atn.com)
Date: Tue 25 Jul 2000 - 15:21:58 IST


Paul Jakma wrote:
>
> On Tue, 25 Jul 2000, kevin lyda wrote:
>
> > it's a good skill to know, and if you're running a system that
> > demands high performance out of certain systems (apache, php,
> > mysql for instance) it wouldn't be a bad idea to download the latest
> > and optimise them for your needs.
> >
>
> and even then you should probably still install the cooker rpm and copy
> your optimised compiled binaries over the rpm installed binaries - to keep
> your package mgt system sane.

There is at least 1 problem with this, some distibutions do not use the default
directory locations which most packages built from source would use.
Therefore a "make install" would not work correctly ( or at least it will
leave things a bit messy and unpredicable ).
The solution to this is to first install the source rpm which comes with your
distribution. With this you will find a spec file ( for SuSE this is found at
/usr/src/packages/SPECS/<package_name>.spec ).
You can then either rebuild your rpm or simply grep for the "configure" line
in the spec file to build your newly downloaded source code to be the same as
that you received in the distribution.

Con



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:59 GMT