Closed yinwang0 closed 8 years ago
Unfortunately I cannot test on Mac OS X, but other people reported that they were able to build.
Let's start from the second problem: when building from a repository checkout you have to use the option --enable-maintainer-mode
with the configure
script, as is explained in the README
file.
First problem: on my GNU+Linux system I have GMP installed in the same location, and I can build with no problems. Remember that to explicitcly specify locations for libraries and include files you can use the standard Autoconf interface, that is: put CPPFLAGS
and LDFLAGS
variables on the command line of configure
. As follows:
$ ./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
What do you see in the file config.log
when configure
fails to find GMP?
Third problem: I can do nothing about this. I know that there is (most likely) a garbage collector error somewhere, but it shows very very rarely on my system, and I have been unable to locate the origin.
I am using Vicare Scheme master branch on a Mac OS X 10.11.4 system. The 1st and 3rd issues also happen with the downloaded tar ball
vicare-scheme-0.4d0pre4.tar.xz
.I'm trying to build vicare on a mac, and it has been painful. I had to dig out the details in the build system to make it pass several obstacles, and still not succeeding. Here are the problems I have met so far:
brew
has installed gmp's header and lib files inside /usr/local/include and /usr/local/lib. These are pretty standard directories, but the configure script doesn't find them.Problem with texinfo files. After successfully configured by manually supplying GMP's locations, the build will fail with a problem with texinfo files. I removed the texinfo dependencies from the Makefile to proceed.
After that the build will proceed for a while, but then failed for a strange "Bus error":