pkgsrc-Users archive

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

Re: How to set a valid compiler for audio/festival?



On Thu, 8 Feb 2007 14:28:42 +0100
Anthony Mallet <anthony.mallet%laas.fr@localhost> wrote:

> Christian Biere writes:
> | CC=/path/to/gcc32 in the relevant Makefile. That might work - or
> | not. It's a hack that should be avoided.
> | 
> 
> `bmake update CC=/usr/bin/gcc32 CXX=/usr/bin/g++32` does the trick.
> Thanks!
> 
> Am I right if I conclude that pkgsrc has no explicit support for
> using a particular compiler version?
> 
> 
> | The usual way to do this would be adding
> | 
> | GCC_REQD+=  3.0
> 
> Added GCC_REQD+=      3.4
> But got:
> ===> Resuming update for festival-1.95betanb1
> => Required installed package digest>=20010302: digest-20060826 found
> ERROR: This package has set PKG_FAIL_REASON:
> ERROR: gcc-4.1.1 is not currently supported.
> 
> After reading the pkgsrc doc, it seems that GCC_REQD is for the
> _minimal_ version required, not the exact one. Right?

If you want to force gcc3 (like qemu), you can use:

GCC_REQD+= 3.3
USE_PKGSRC_GCC=yes

-- 
http://plog.xtrarom.org/
NetBSD/pkgsrc news [Spanish]



Home | Main Index | Thread Index | Old Index