Bug 44526

Summary: py2cairo, waf does not apply 'python-config --ldflags' when linking
Product: pycairo Reporter: bastian-pycairo-bugzilla
Component: generalAssignee: Steve Chaplin <d74n5pohf9>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: console, config.log and env

Description bastian-pycairo-bugzilla 2012-01-06 04:38:14 UTC
Created attachment 55210 [details]
console, config.log and env

OS: debian 6
py2cairo-1.10.0
Python 2.7.2

I am trying to build pycairo (to use it with wxPython).

I am not able to find any misconfiguration on my system and decided to open a bug.

I think the auto-deployment tool waf does not use 'python-config  --ldflag' when linking the compiled object file from the step before.

When compiling manulally with 'python-config  --ldflag' everything works fine.

I am not able to do some changes to waf to fix this issue.


Find attached an ascii file containing, console, config.log and env.
Comment 1 bastian-pycairo-bugzilla 2012-01-06 04:46:38 UTC
Just to add: I am using python2.7.2 from a virtualenv to compile pycairo. But IMO that's not the matter here.
Comment 2 Christoph Reiter 2017-07-05 15:28:22 UTC
Since 1.11 pycairo uses distutils for building. There is a good chance that
this bug no longer occurs with the new system. If there are still problems
please file a bug: https://github.com/pygobject/pycairo/issues

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.