[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slackwhere or maybe Debian



On Thu, 15 Mar 2001, Ilya Konstantinov wrote:

> On Thu, Mar 15, 2001 at 04:16:37PM +0200, Alex Shnitman wrote:
> > Those programs which you want to compile with non-standard options
> > (like your PHP example with Hebrew charset support), you'll have to
> > compile in any case. The rest of the software which you don't need
> > special compilation options for, you can install from binary packages --
> > I don't think there's any advantage whatsoever in compiling it from
> > source.

So what's the big deal?

get the source rpm, install it, modify it to your liking, rebuild it, and
you have your modified package.

The plus side is that you didn't break the rpm dependency mechanism, and
that all the files installed from that package are in the local rpm
database, with al the advantages from this.

Oh, and have I mentioned
http://www.iglu.org.il:8080/Control_Panel/Products/Squishdot/IGLU/984693428/index_html

With debs the procedure is basically similar.

> 
> I'd love to get some king of a Debian proxy which'll recompile all
> packages for the i586 platform. They say it gives quite a speed boost
> to Mandrake, and this really makes sense, knowing that faster CPUs with
> double the MHz won't give you double the speed, unless your compiler
> uses the optimizations provided by the CPU.
> 
> (So recompiling may indeed bring some benefit)

Why i586 and not i686 or better?

RedHat did a much simpler thing: they compiled the kernel and the glibc
packages for i386, i586 and i686 . They figured that this covers a large
part of what you can get from such optimixations, without keeping too many
copies of too many packages.

Anyway, rebuilding your favourate packages with both rpm and deb -based
systems is really not difficult. And unlike in the case of downloading the
source yourself, source-rpms and "source debs" already contain correct
build and install instructions that are guarnteed to work on your distro.

Actually I can't verify that exactly for all the packages, but I know that
at least Mandrake are very strict about verifying that any package that
they build is indeed compiled using $RPM_BUILD_FLAGS . This is a result of
them actually using this feature in the main build.

(yup, this is a mater of policy)

-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir




=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il