pkgsrc-Users archive

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

Re: pkg requires gcc44 or later, but won't use existing gcc46?



* On 2014-03-24 at 19:11 GMT, John D. Baker wrote:

> On Mon, 24 Mar 2014, Jonathan Perkin wrote:
> 
> >This is wrong, and is fixed in pkgsrc trunk.  GCC_REQD should be
> >appended to, not set.  Setting it means that any newer versions are
> >ignored, hence pulling in gcc44 regardless of having 4.6 installed.
> 
> Yes.  I misquoted the Makefile.  It does have "GCC_REQD+=4.4" as you
> say.  Nevertheless, the behavior is as I described and the already-
> installed gcc46 is ignored in favor building gcc44.  I am using pkgsrc
> from HEAD.

Right, sorry, I'd forgotten that we have GCC_REQD set to the version
we have installed.  The fix was for that case, so at least if you set
GCC_REQD=4.6 in your mk.conf it should be a reasonable work-around.


-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index