on a Fedora x86_64 box we need to install all platform dependent files under /usr/lib64. Our packages have the ability to specify the correct libdir but the waf build in the latest pycairo does not seem to give this option. Right now I check if our libdir exists in the buildroot and move usr/lib to usr/lib64 if not. This is not an ideal solution. Please add a --libdir waf option to your wafscripts which install the pkgconfig and module files to the correct locations. Thanks.
Fixed in the git repo. Use ./waf configure --prefix=/usr --libdir=/usr/lib64
Sorry to reopen this but I notices that the commit only applied to py2cairo. It should also be ported to pycairo. Thanks.
Also noticed this line is wrong: obj.install_path = os.path.join(ctx.env['PREFIX'], 'lib', 'pkgconfig') it should be: obj.install_path = os.path.join(ctx.env['LIBDIR'], 'pkgconfig') I'm in the process of porting the patch to PyCairo and will post it here
Ah, sorry, the description in the changeset was unclear so I missed it (shows up as "Add support for"). py2cairo still has the error as noted in comment 3. pycairo's patch is correct.
Should now be fixed: pycairo and py2cairo both support 'waf configure --libdir'.
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.