On Aug 4, 2009, at 15:17, Andy Wingo wrote:
In config.log I see that it's not using the -L option when testing for
__gmpz_init:

I think I've fixed this. Can you pull from git and give it another go?

Starting with the current git code, and fixing an autogen problem (on Mac OS X we want to run "glibtool" because "libtool" is some other program), configure with --with-libgmp-prefix seems to work fine.

Compilation fails, first for unrelated reasons:

cc1: warnings being treated as errors
../../libguile/srfi-13.c: In function ‘string_titlecase_x’:
../../libguile/srfi-13.c:2517: warning: comparison is always false due to limited range of data type ../../libguile/srfi-13.c:2517: warning: comparison is always false due to limited range of data type

If I disable -Werror with "make GCC_CFLAGS=", it gets a bit further, and then:

Making all in guile-readline
../libguile/guile-snarf -o readline.x ../../guile-readline/readline.c - DHAVE_CONFIG_H -I. -I.. -I../../guile-readline/.. -I../../guile- readline/lib -I./lib -g -O2
In file included from ../../guile-readline/readline.c:29:
../../guile-readline/../libguile.h:25:17: error: gmp.h: No such file or directory



Reply via email to