GNOME Bugzilla – Bug 551952
Need 'check' package when compile
Last modified: 2008-09-16 07:10:58 UTC
Steps to reproduce: 1. a package called 'check' is needed while compiling but cross-compile 'check' has different library output. 2. 3. Stack trace: Other information:
What is the problem? Does configure fail? -> attach config.log Does the build fail? -> paste the last part of the output
Created attachment 118756 [details] [review] no unit tests if we cross compile "make check" would not work anyway if one cross compiles.
Forgot to mention, the patch also remove the FLAGS output, which is inconsistent with other checks.
As decided on irc. 2008-09-15 Stefan Kost <ensonic@users.sf.net> * configure.ac: Do not probe availability of check unit test library when cross compiling, as test would not work anyway. Also cleanup verbose output of the check test. Fixes #551952.
Just because you're cross compiling doesn't mean you can't run the resulting binaries. IMO, the correct fix for this is to use pkgconfig to find check. Unfortunately, the output of 'pkg-config --libs check' still needs a s/check/check_pic/.
Yeah, e.g. with qemu you could. I will file a bug against check regarding the -pic issue.