Travis fails because of zconf.h
jacmoe opened this issue · comments
Travis cannot find either PkgConfig executable nor zconf.h - which is weird.
Is this a Ubuntu bug?
I spent several hours on this, and I don't know how to fix it :(
First issue:
-- Looking for ZLIB...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found ZLIB: optimized;/usr/lib/x86_64-linux-gnu/libz.so;debug;/usr/lib/x86_64-linux-gnu/libz.so
Second issue:
In file included from /home/conan/.conan/data/Assimp/3.3.1/jacmoe/stable/build/e7c5bb97834b9b31d33b99d8b0c30513f615f255/assimp-3.3.1/code/AssbinExporter.cpp:52:0:
/usr/include/zlib.h:34:19: fatal error: zconf.h: No such file or directory compilation terminated.
Now the problem is actually two problems:
-
Random run-time failures in the Conan: out of index errors..
-
Cannot find pkg executable, and thus not able to to link to zlib (lz)
Now, we compile everything, but fails to link lib assimp for the test, because it actualy is assimpd.
Very, very close! :)
Fixed in 08d4dc5