On Mon, Jul 07, 2003, Ralf S. Engelschall wrote:
> 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".
>
Hello Julien,

If you still have problems then I suggest one of the following:

  1 Uninstall package 'gcc33', install package 'gcc' instead
  2 Reinstall package 'gcc33' like this:
  2a  $ rpm --rebuild --define "with_gcc yes" \
        ftp://ftp.openpkg.org/current/SRC/gcc33-3.3.1s20030630-20030704.src.rpm
  2b  # rpm -Uvh /yourprefix/PKG/BIN/gcc33-3.3.1s20030630-20030704.arch???.rpm

Good luck.

-- 
[EMAIL PROTECTED]
Development Team, Application Services
Cable & Wireless Telecommunications Services GmbH

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to