I want to compile guile on shared hosting but when I run ./configure I've got error:
configure: error: GNU MP 4.1 or greater not found, see README
so I've downloaded GMP and tried to install it locally (found in answer to this question on Stack Overflow install library in home directory)
mkdir /home/jcubic/lib
./configure --prefix=/home/jcubic/
make
make install
it created this files in /home/jcubic/lib
libgmp.a
libgmp.la
libgmp.so
libgmp.so.10
libgmp.so.10.3.1
then I've run configure from guile directory (found the option by reading configure script):
./configure --with-libgmp-prefix=/home/jcubic
but the error remain, how can I use local GNU MP file while running guile ./configure and make?
LD_LIBRARY_PATHlike described in the Stack Overflow post? You also might have to set theCPATHvariable to/home/<user>/include.LIBRARY_PATH=/home/jcubic/libas well. If that does not work, try with theconfigurescript environment variablesCFLAGSandLDFLAGS.LIBRARY_PATHwork now I have another library missing error, you can add this as an answer.