On Sun Jul 29, 2001 at 04:53:25PM -0500, J. C. Woods wrote:

> Gentlemen,
> 
> One note of caution, I rebuilt, from the src rpm, bind-9.1.1-1mdk for my
> LMDK7.2 - glibc-2.1 system, and the rebuild went fine. I had my three
> needed binary rpms for bind-9.1.1-1mdk (devel & utils included) all
> neatly copied to "/usr/src/RPM/RPMS/i686", as they should be after the
> "rpm --rebuild" command is ran. They compiled without errors. HOWEVER,
> upon doing a test install, they would not install correctly. They had
> some "no job control" errors. Needless to say, I did not want to use
> them.
> 
> Maybe somewhere in the source code is "REQUIRES_GLIBC_2.2". I am not
> sure about that but they would not work on my glibc-2.1 platform, even
> after compiling the src rpm for my system 
> 
> Just some shared thoughts amongst friends....

People... yes, pay attention to this.  I can tell you from personal
experience that rebuilding cooker srpms for 7.2 directly without
modification is *not* a good idea.  Trust me... if this worked, making
updates would be *so* simple.

A number of rpm macros were added in 8.0 that are not available in
7.2.. and a few have been introduced in cooker I believe.  These will
*not* work, so if you get the package to rebuild fine (entirely
possible), you will have problems with %pre or %post scripts that use
the macros 7.2 is not aware of, resulting in the above problems.

You *will* need to go through the spec file and test the macros... Off
the top of my head, I don't recall if %make or %makeinstall work in
7.2 (I don't think so), so you will need to change them or make
modifications to your ~/.rpmmacros file.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD
 - Danen Consulting Services    www.danen.net, www.freezer-burn.org
 - MandrakeSoft, Inc. Security  www.linux-mandrake.com

Current Linux kernel 2.4.3-20mdk-win4lin uptime: 3 days 22 hours 3 minutes.

PGP signature

Reply via email to