Hello!
And I tried to take a plunge to try out gcl too, as has been an advice
when I last asked about Lisp implementations for OpenBSD.
Fails too, alas, even though the GCL 2.6.2 release notes state native
support for OpenBSD.
I tried 2.6.6, and the build fails here:
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer -I/usr/home/hannah/src/gcl-2.6.6/o -I../h -I../gcl-tk num_co.c
In file included from ../h/include.h:36,
from num_co.c:34:
../h/gclincl.h:150:2: #error "No isfinite found"
In file included from ../h/linux.h:1,
from ../h/config.h:33,
from ../h/include.h:37,
from num_co.c:34:
../h/bsd.h:89:1: warning: "HAVE_XDR" redefined
In file included from ../h/include.h:36,
from num_co.c:34:
../h/gclincl.h:194:1: warning: this is the location of the previous definition
In file included from ../h/include.h:37,
from num_co.c:34:
../h/config.h:69:1: warning: "HZ" redefined
In file included from ../h/include.h:36,
from num_co.c:34:
../h/gclincl.h:208:1: warning: this is the location of the previous definition
num_co.c: In function `gcl_isnormal_double':
num_co.c:53: warning: implicit declaration of function `ISFINITE'
gmake[1]: *** [num_co.o] Error 1
gmake[1]: Leaving directory `/home/hannah/src/gcl-2.6.6/o'
gmake: *** [unixport/saved_pre_gcl] Error 2
Configure invocation was this:
configure --prefix=/usr/local/gcl-2.6.6 --enable-notify=no \
--enable-xdr=yes --with-x --enable-readline --enable-ansi
And: If there's some isfinite to be found, why isn't it checked for by
configure anyway?
Kind regards,
Hannah.
······@schlund.de (Hannah Schroeter) writes:
> And I tried to take a plunge to try out gcl too, as has been an advice
> when I last asked about Lisp implementations for OpenBSD.
>
> Fails too, alas, even though the GCL 2.6.2 release notes state native
> support for OpenBSD.
>
> I tried 2.6.6, and the build fails here:
[...]
> ../h/gclincl.h:150:2: #error "No isfinite found"
[...]
>
> And: If there's some isfinite to be found, why isn't it checked for by
> configure anyway?
OpenBSD doesn't have isfinite, but it has finite which does the same
job. The GCL configure scripts should find it and use it, i.e. define
HAVE_FINITE. Can you see in config.log why this doesn't happen?
I no longer have a computer running OpenBSD, so I can't try this
myself...
Magnus
Greetings!
As the previous poster stated, this appears to be a simple configure
error. Please post the full configure and build log -- this should
work for you with minimal effort.
Take care,
······@schlund.de (Hannah Schroeter) writes:
> Hello!
>
> And I tried to take a plunge to try out gcl too, as has been an advice
> when I last asked about Lisp implementations for OpenBSD.
>
> Fails too, alas, even though the GCL 2.6.2 release notes state native
> support for OpenBSD.
>
> I tried 2.6.6, and the build fails here:
>
> gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer -I/usr/home/hannah/src/gcl-2.6.6/o -I../h -I../gcl-tk num_co.c
> In file included from ../h/include.h:36,
> from num_co.c:34:
> ../h/gclincl.h:150:2: #error "No isfinite found"
> In file included from ../h/linux.h:1,
> from ../h/config.h:33,
> from ../h/include.h:37,
> from num_co.c:34:
> ../h/bsd.h:89:1: warning: "HAVE_XDR" redefined
> In file included from ../h/include.h:36,
> from num_co.c:34:
> ../h/gclincl.h:194:1: warning: this is the location of the previous definition
> In file included from ../h/include.h:37,
> from num_co.c:34:
> ../h/config.h:69:1: warning: "HZ" redefined
> In file included from ../h/include.h:36,
> from num_co.c:34:
> ../h/gclincl.h:208:1: warning: this is the location of the previous definition
> num_co.c: In function `gcl_isnormal_double':
> num_co.c:53: warning: implicit declaration of function `ISFINITE'
> gmake[1]: *** [num_co.o] Error 1
> gmake[1]: Leaving directory `/home/hannah/src/gcl-2.6.6/o'
> gmake: *** [unixport/saved_pre_gcl] Error 2
>
> Configure invocation was this:
>
> configure --prefix=/usr/local/gcl-2.6.6 --enable-notify=no \
> --enable-xdr=yes --with-x --enable-readline --enable-ansi
>
> And: If there's some isfinite to be found, why isn't it checked for by
> configure anyway?
>
> Kind regards,
>
> Hannah.
--
Camm Maguire ····@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah