2008/02/14

Solaris guile installation

[vuhung@ guile-1.8.3]$uname -a
SunOS 5.10 Generic_127111-05 sun4v sparc SUNW,SPARC-Enterprise-T5220 Solaris

[vuhung@ guile-1.8.3]$./configure --prefix=$HOME --with-gnu-ld LIBS=-L$HOME/lib CFLAGS=-I$HOME/include

make:

numbers.c: In function `scm_log':
numbers.c:6015: error: `_Complex_I' undeclared (first use in this function)
numbers.c:6015: error: (Each undeclared identifier is reported only once
numbers.c:6015: error: for each function it appears in.)
numbers.c: In function `scm_exp':
numbers.c:6081: error: `_Complex_I' undeclared (first use in this function)
gmake[3]: *** [libguile_la-numbers.lo] Error 1

downgrade to guile-1.6.4

./configure --prefix=$HOME --with-gnu-ld LIBS=-L$HOME/lib CFLAGS=-I$HOME/include
make
make install

0 件のコメント: