Bug#713221: pyxpcom: FTBFS: configure: error: Could not find build shared libraries for Python at /usr. This is required for PyXPCOM.

peter green plugwash at p10link.net
Fri Feb 7 12:25:06 UTC 2014


The error mentioned in the bug report is trivial to fix, just specify 
the python libdir manually in debian/rules

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export MOZ_PYTHON_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)

And bump the build-dependency on python-dev to >= 2.7.5

Unfortunately after doing that the build fails with.

xpidl.IDLError: error: type 'PRInt32' not found, 
../../../../xpcom/test/test_component/py_test_component.idl line 110:30



More information about the pkg-mozilla-maintainers mailing list