Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Unable to Run Tests when Cross-Compiling #101

volyrique opened this Issue Apr 5, 2013 · 0 comments


None yet
1 participant

The "install" target of the Makefile generated during the YAJL build process tries to run the tests included in the source code, which fails when cross-compiling. One solution is not to perform the tests by default (i.e. they have to be run explicitly) - here is a sample patch to this end:

--- lloyd-yajl-4c539cb/configure
+++ lloyd-yajl-4c539cb.fixed/configure
@@ -67,7 +67,7 @@
   f.puts " @rm -rf Makefile build"
   f.puts " @rm -f yajl-*.tgz"
-  f.puts "install: all" 
+  f.puts "install: distro doc" 
   f.puts " @cd build && make install"
   f.puts "package: all"

@lloyd lloyd closed this in 7a021ff Feb 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment