From: Arseny S. <am...@ic...> - 2010-07-11 04:45:42
|
Hi, I tried to build cygwin and mingw versions with all those modules Yaroslav included (and ffcall which he included but forgot to mention in the description) and couldn't: I'm having trouble to build libsvm in cygwin. BTW, this info in impnotes (the part in the parens) is obsolete as libsvm is not in clisp CVS tree: This is an “FFI”-based interface to the version 2.89 of LibSVM (included in the source distribution in the directory modules/libsvm/, so you do not need to install it yourself). Also, I can't build mingw version with ffcall, though it's installed cygwin-wide and included when I do cygwin build. When configuring with mingw, configure cannot locate libffcall. First, it can't locate the headers. When I set C_INCLUDE_PATH=/usr/include, the headers are found but the library is not. The symbol which isn't found is ___getreent: lines from the terminal: checking callback.h usability... yes checking callback.h presence... yes checking for callback.h... yes checking for library containing __builtin_avcall... none required checking for library containing trampoline_r_data0... no checking whether libffcall is installed... no configure: line 22901: i686-pc-cygwin: command not found configure: error: despite --with-ffcall, FFCALL was not found from the builddir/config.log: configure:22855: gcc -mno-cygwin -o conftest.exe -g -O2 -I/cygdrive/e/clisp-cvs/libsigsegv/i686-pc-cygwin/include conftest.c -lavcall -lcallback >&5 /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../libcallback.a(trampoline.o):trampoline.c:(.text+0x58): undefined reference to `___getreent' I'm going to debug the missing library issue further and to build the libsvm one day. This configure: line 22901: i686-pc-cygwin: command not found is I believe from the missing 'test' command in the line 22901 of configure if "$ac_cv_build" = "$ac_cv_host" ; then host_arg=""; , but I'm not sure where to fix it. -- Arseny |