Both the upstream and Debian versions are set up to build with Python 2.6 (which didn't properly seem to register with pkg-config, hence the version was hard-coded).
The attached patch works around this by replacing 2.6 by 2.7 for oneiric. Alternatively, binaries are available in the ppas at https://launchpad.net/~texworks. ** Patch added: "Replace Python 2.6 by 2.7" https://bugs.launchpad.net/ubuntu/+source/texworks/+bug/831113/+attachment/2300285/+files/oneiric.patch ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/831113 Title: texworks version 0.5~svn862-1 failed to build in oneiric To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/texworks/+bug/831113/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs