Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 20:09:06 -0400
From:      Mike Jakubik <mike.jakubik@intertainservices.com>
To:        koobs@FreeBSD.org, Koop Mast <kwm@rainbow-runner.nl>,  gnome@FreeBSD.org, python@FreeBSD.org
Subject:   Re: FreeBSD Port: graphics/py-cairo
Message-ID:  <52686522.5080706@intertainservices.com>
In-Reply-To: <526859F5.1060608@FreeBSD.org>
References:  <526803B9.3010102@intertainservices.com> <52685214.5080503@rainbow-runner.nl> <526859F5.1060608@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I found the problem. This port does not seem to respect the CC 
environment variables and was trying to compile with gcc, instead of 
clang. The problem is that my CFLAGS dont work in gcc (no -mavx in old 
gcc, etc) and it seemed to pull these flags from python, because 
changing them in /etc/make.conf did not help.

After I recompiled python without these flags, I was able to compile 
this. Still though, it would be nice if it used clang, as defined in my 
make.conf. Sorry for the noise.

Thanks.

On 10/23/13 19:21, Kubilay Kocak wrote:
> On 24/10/2013 9:47 AM, Koop Mast wrote:
>>
>> On 10/23/13 19:13, Mike Jakubik wrote:
>>> Hello,
>>>
>>> I am unable to compile this on 9.2-STABLE.
>> Mike I see you got both 2.7 and 3.3 installed. When I build py-cairo it
>> worked fine, so I don't really know what happening with waf. So I cc'd
>> python@ since they might have a beter idea what waf is doing.
>>
>> -Koop
>>
> The output of the following might help to isolate:
>
> - /usr/local/bin/python2.7-config --cflags
> - /usr/local/bin/python2.7-config --libs
> - /usr/local/bin/python2.7-config --includes
> - /usr/local/bin/python2.7-config --ldflags
>
> Also possibly related:
>
> https://code.google.com/p/waf/issues/detail?id=1118
>
> Can you also have a look at config.log and pull out any relevant failures.
>
> Thanks,
>
> Koobs
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52686522.5080706>