src/regex_stub.c is missing when running CMake
I just cloned from the main branch, ran CMake in the root directory of the project, configuration seems to have progressed correctly, but when setting up the project's libraries it failed to find `src/regex_stub.c' as listed in 'src/CMakeLists.txt.' That source file isn't anywhere to be found.
Thanks.
Comments (8)
-
Account Deleted -
Account Deleted After deleting those sets and proceeding with the build, it fails to find another file, I get the following error:
/home/jesse/src/sagittarius-scheme/src/closure.c:32:37: fatal error: sagittarius/instruction.h: No such file or directory #include "sagittarius/instruction.h"
Perhaps some files aren't being generated properly?
-
repo owner Building Sagittarius from repository requires previous version of Sagittarius installed. So current HEAD version is 0.5.8, first need to install 0.5.7. Then you can need to generate all missing code with following command in the cloned directory.
$ ./dist.sh gen
If you are a Windows user then you can use following command;
C:\sagittarius-scheme> dist.bat
Please read README.md and HACKING for more information.
-
repo owner -
Account Deleted Sorry for my ignorance, following your instructions fixed the problem, I was able to get it to build and run. Thank you!
-
Account Deleted Oh, one minor thing you might want to tweak for the CMake installation process on Linux (or at least some Linux distributions--I'm using Linux Mint 17). For some reason, I had to manually run
ldconfig
to rebuild the shared library cache after running$ sudo make install
, otherwise it wasn't able to load in libsagittarius.so from /usr/local/lib. -
repo owner I believe CMake doesn't support
ldconfig
after runningmake install
. (and it's mentioned in README.md as well to runldconfig
aftermake install
.)http://www.cmake.org/pipermail/cmake/2007-February/013032.html
I'll try to find a way to add post install to run it.
-
repo owner - changed status to resolved
Added post install script emulating. (Fixes
#59)→ <<cset ea1bbe2e3d7f>>
- Log in to comment
It appears there may also be other source files missing, I tried removing regex_stub.c just to continue the build process, and all of the files in the STUB_SOURCES and BUILTIN_SOURCES sets were missing:
You might want to try cloning into a fresh directory from your repo, and building it to catch everything that is missing.