Last active
October 7, 2016 16:20
-
-
Save achalddave/1162e2c40f679b4eec1985d90688ecb6 to your computer and use it in GitHub Desktop.
./configure error for lyaml. See https://github.com/gvvaughan/lyaml/issues/11 for discussion.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configure:13020: checking for yaml.h | |
configure:13020: result: yes | |
configure:13032: checking for library containing yaml_document_initialize | |
configure:13063: gcc -o conftest -g -O2 -I/home/achald/.local/yaml-0.1.7/include -L/home/achald/.local/yaml-0.1.7/lib conftest.c >&5 | |
/tmp/ccmoDgR2.o: In function `main': | |
/home/achald/scratch/lyaml/lyaml-release-v6.0/conftest.c:36: undefined reference to `yaml_document_initialize' | |
collect2: error: ld returned 1 exit status | |
configure:13063: $? = 1 | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "lyaml" | |
| #define PACKAGE_TARNAME "lyaml" | |
| #define PACKAGE_VERSION "6.0" | |
| #define PACKAGE_STRING "lyaml 6.0" | |
| #define PACKAGE_BUGREPORT "http://github.com/gvvaughan/lyaml/issues" | |
| #define PACKAGE_URL "" | |
| #define PACKAGE "lyaml" | |
| #define VERSION "6.0" | |
| #define STDC_HEADERS 1 | |
| #define HAVE_SYS_TYPES_H 1 | |
| #define HAVE_SYS_STAT_H 1 | |
| #define HAVE_STDLIB_H 1 | |
| #define HAVE_STRING_H 1 | |
| #define HAVE_MEMORY_H 1 | |
| #define HAVE_STRINGS_H 1 | |
| #define HAVE_INTTYPES_H 1 | |
| #define HAVE_STDINT_H 1 | |
| #define HAVE_UNISTD_H 1 | |
| #define HAVE_DLFCN_H 1 | |
| #define LT_OBJDIR ".libs/" | |
| #define STDC_HEADERS 1 | |
| #define HAVE_YAML_H 1 | |
| /* end confdefs.h. */ | |
| | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char yaml_document_initialize (); | |
| int | |
| main () | |
| { | |
| return yaml_document_initialize (); | |
| ; | |
| return 0; | |
| } | |
configure:13063: gcc -o conftest -g -O2 -I/home/achald/.local/yaml-0.1.7/include -L/home/achald/.local/yaml-0.1.7/lib conftest.c -lyaml >&5 | |
configure:13063: $? = 0 | |
configure:13080: result: -lyaml | |
configure:13095: checking for specl | |
configure:13126: result: : | |
configure:13143: checking if /usr/bin/lua is a Lua interpreter | |
configure:13157: result: yes | |
configure:13167: checking whether /usr/bin/lua version >= 5.1, < 5.4 | |
configure:13188: result: yes | |
configure:13304: checking for /usr/bin/lua version | |
configure:13315: result: 5.1 | |
configure:13325: checking for /usr/bin/lua platform | |
configure:13332: result: unknown | |
configure:13342: checking for /usr/bin/lua script directory | |
configure:13392: result: ${prefix}/share/lua/5.1 | |
configure:13399: checking for /usr/bin/lua module directory | |
configure:13449: result: ${exec_prefix}/lib/lua/5.1 | |
configure:13461: checking if LUA_VERSION is defined | |
configure:13464: result: yes | |
configure:13483: checking lua.h usability | |
configure:13483: gcc -c -g -O2 -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include conftest.c >&5 | |
configure:13483: $? = 0 | |
configure:13483: result: yes | |
configure:13483: checking lua.h presence | |
configure:13483: gcc -E -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include conftest.c | |
configure:13483: $? = 0 | |
configure:13483: result: yes | |
configure:13483: checking for lua.h | |
configure:13483: result: yes | |
configure:13483: checking lualib.h usability | |
configure:13483: gcc -c -g -O2 -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include conftest.c >&5 | |
configure:13483: $? = 0 | |
configure:13483: result: yes | |
configure:13483: checking lualib.h presence | |
configure:13483: gcc -E -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include conftest.c | |
configure:13483: $? = 0 | |
configure:13483: result: yes | |
configure:13483: checking for lualib.h | |
configure:13483: result: yes | |
configure:13483: checking lauxlib.h usability | |
configure:13483: gcc -c -g -O2 -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include conftest.c >&5 | |
configure:13483: $? = 0 | |
configure:13483: result: yes | |
configure:13483: checking lauxlib.h presence | |
configure:13483: gcc -E -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include conftest.c | |
configure:13483: $? = 0 | |
configure:13483: result: yes | |
configure:13483: checking for lauxlib.h | |
configure:13483: result: yes | |
configure:13483: checking luaconf.h usability | |
configure:13483: gcc -c -g -O2 -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include conftest.c >&5 | |
configure:13483: $? = 0 | |
configure:13483: result: yes | |
configure:13483: checking luaconf.h presence | |
configure:13483: gcc -E -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include conftest.c | |
configure:13483: $? = 0 | |
configure:13483: result: yes | |
configure:13483: checking for luaconf.h | |
configure:13483: result: yes | |
configure:13547: checking for Lua header version | |
configure:13574: gcc -o conftest -g -O2 -I/home/achald/.local/yaml-0.1.7/include -I/home/achald/.local/torch/install/include -L/home/achald/.local/yaml-0.1.7/lib conftest.c -lyaml >&5 | |
configure:13574: $? = 0 | |
configure:13574: ./conftest | |
./conftest: error while loading shared libraries: libyaml-0.so.2: cannot open shared object file: No such file or directory | |
configure:13574: $? = 127 | |
configure: program exited with status 127 | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "lyaml" | |
| #define PACKAGE_TARNAME "lyaml" | |
| #define PACKAGE_VERSION "6.0" | |
| #define PACKAGE_STRING "lyaml 6.0" | |
| #define PACKAGE_BUGREPORT "http://github.com/gvvaughan/lyaml/issues" | |
| #define PACKAGE_URL "" | |
| #define PACKAGE "lyaml" | |
| #define VERSION "6.0" | |
| #define STDC_HEADERS 1 | |
| #define HAVE_SYS_TYPES_H 1 | |
| #define HAVE_SYS_STAT_H 1 | |
| #define HAVE_STDLIB_H 1 | |
| #define HAVE_STRING_H 1 | |
| #define HAVE_MEMORY_H 1 | |
| #define HAVE_STRINGS_H 1 | |
| #define HAVE_INTTYPES_H 1 | |
| #define HAVE_STDINT_H 1 | |
| #define HAVE_UNISTD_H 1 | |
| #define HAVE_DLFCN_H 1 | |
| #define LT_OBJDIR ".libs/" | |
| #define STDC_HEADERS 1 | |
| #define HAVE_YAML_H 1 | |
| #define HAVE_LUA_H 1 | |
| #define HAVE_LUALIB_H 1 | |
| #define HAVE_LAUXLIB_H 1 | |
| #define HAVE_LUACONF_H 1 | |
| /* end confdefs.h. */ | |
| | |
| #include <lua.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| int main(int argc, char ** argv) | |
| { | |
| if(argc > 1) printf("%s", LUA_VERSION); | |
| exit(EXIT_SUCCESS); | |
| } | |
| | |
| | |
configure:13588: result: unknown | |
configure:13591: checking if Lua header version matches 5.1 | |
configure:13599: result: no | |
configure:13616: error: cannot find headers for specified LUA_INCLUDE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment