On Tue, Jul 08, 2003, Michael Schloh von Bennewitz 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".
> >
> [...]
> If you still have problems then I suggest one of the following:
> [...]
Especially because I plan to remove gcc33 now that we have gcc at 3.3
and add a new package gcc34 for the 3.4 snapshots ;-) My advise: Just
use the "gcc" package. It is very close to what gcc33 currently is,
because gcc33 is just at 3.3.1-snapshot. And if you really want bleeding
edge GCC 3.4, then _ADDITIONALLY_ install gcc34 package once its rolled
by me. Even the "with_gcc yes" option is just for package developers
during the release engineering phases or when preparing to upgrade to a
new GCC major version. OpenPKG packages are just tested and officially
supported when built with the gcc package. The gcc33 or gcc34 packages
are just for bleeding edge non-OpenPKG development, but not for building
OpenPKG packages with it.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]