ktakashi / sagittarius-scheme

A manual (beh...) clone from bitbucket to use hosted CI service which only support GitHub
https://bitbucket.org/ktakashi/sagittarius-scheme
Other
49 stars 4 forks source link

git checkout does not build #3

Closed jpellegrini closed 4 years ago

jpellegrini commented 4 years ago

After running ./dist.sh gen, I tried cmake ., but it seems that a file is missing:

cmake .
-- System processor ... x86_64
-- System name ... Linux
-- Host system name ... Linux
-- Buinding directory ... /home/jeronimo/pkg/scheme/sagittarius-scheme
-- Looking for struct timespec
-- Looking for struct timespec - found
-- Architecture triple: x86_64-pc-linux
-- Install prefix: /usr/local
-- Fixup compiler flags x86_64
-- Found GC library: /usr/local/lib/libgc.so
-- operating system: Linux
-- Adding symbolic link sagittarius -> sash
-- Stub generator /home/jeronimo/pkg/scheme/sagittarius-scheme/build/sagittarius
-- OpenSSL lib dir /usr/lib/x86_64-linux-gnu
-- OpenSSL ssl lib: /usr/lib/x86_64-linux-gnu/libssl.so
-- OpenSSL crypto lib: /usr/lib/x86_64-linux-gnu/libcrypto.so
-- HAVE_ZLIB_INFLATE_RESET2 = 1
-- Found libraries /usr/lib/x86_64-linux-gnu/libffi.so
-- Sagittarius uses platform libffi
-- Adding linking target - platform /usr/lib/x86_64-linux-gnu/libffi.so
-- Searching odbc - found
-- Sagittarius supports ODBC
-- Filewatch implementation file: inotify_watch.c
-- Configuring done
CMake Error at src/CMakeLists.txt:107 (ADD_LIBRARY):
  Cannot find source file:

    lib_vm.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx

CMake Error at src/CMakeLists.txt:107 (ADD_LIBRARY):
  No SOURCES given to target: sagittarius
ktakashi commented 4 years ago

Thanks for the report. This is sort of FAQ issue, please refer the below document: