On Mon, Jul 07, 2003, julien Touche wrote:

> i want to compile again some rpm (here php following advisory).
> but rebuild block because it need gcc ... ok
> but i have gcc33 rpm.
>
> so which is the extra rule to add to compile here ?
> how to change "BuildPreReq:  OpenPKG, openpkg >= 20020206, gcc, sed,
> flex, bison" ?
>
> something like gcc or gcc??

You mean you have installed the "gcc33" package only, i.e.. no
additional "gcc" package, right? If you run the latest OpenPKG-CURRENT
GCC packages, you usually have to build "gcc33" with option "with_gcc
yes" to make sure it "Provides" the "gcc" virtually. Just installing
"gcc33" is not enough. In this case you would have to change the
"BuildPreReq" line to read "gcc33", of course. My advice: try to
not change or just minimally the .spec files (or you end up in a
maintainance problem in the longer term). Instead (in case of at least
GCC) use the provided options for "casting" some fooN package to
virtually provide "foo".
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to