Public bug reported: Attempting to cross-compile ncurses with xdeb results in failure when attempting to install pkg-config files. This is because autotools inferred that PKG_CONFIG_LIBDIR=/usr/$(HOST_GNU_TYPE)/lib/pkgconfig, which does not exist when configure is run. This results in configure disabling generation of pkgconfig's .pc files (which would have been put in the wrong location even if they had been generated).
The solution as far as I can see is to export PKG_CONFIG_LIBDIR in debian/rules and ensure that this directory exists when configure is invoked. A patch to accomplish this is attached. ** Affects: ncurses (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/877673 Title: Cross compilation fails due to pkg-config To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/877673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs