Bug 44526 - py2cairo, waf does not apply 'python-config --ldflags' when linking
Summary: py2cairo, waf does not apply 'python-config --ldflags' when linking
Status: RESOLVED FIXED
Alias: None
Product: pycairo
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Steve Chaplin
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-06 04:38 UTC by bastian-pycairo-bugzilla
Modified: 2017-07-05 15:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
console, config.log and env (16.50 KB, text/plain)
2012-01-06 04:38 UTC, bastian-pycairo-bugzilla
Details

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.