From: David Shochat
Subject: gcl build error on RH Linux 7.3
Date: 
Message-ID: <plrV8.426294$cQ3.29703@sccrnsc01>
I am attempting to build gcl-2.4.3. configure completed without errors,
but I get the following make error:

make[1]: Entering directory `/usr/local/lisp/gcl/gcl-2.4.3/o'
gcc -pipe -fwritable-strings  -DVOL=volatile -I/usr/local/lisp/gcl/gcl-2.4.3/o
-fsigned-char -c -O  -I../gcl-tk -I../h/ -O  sfasl.c  
In file included from ../h/include.h:62,
                 from sfasl.c:40:
../h/object.h:67: conflicting types for `_Bool'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdbool.h:41: previous 
declaration of `_Bool'

I also tried latest CVS, but got a different make error.

Is there a newsgroup or mailing list specifically for gcl?
Thanks.
-- David

From: Gordon Joly
Subject: Re: gcl build error on RH Linux 7.3
Date: 
Message-ID: <ag6m9h$idv$1@bootzilla.loopzilla.org>
In article <······················@sccrnsc01>,
David Shochat  <········@yahoo.com> wrote:
>I am attempting to build gcl-2.4.3. configure completed without errors,
>but I get the following make error:
>
>make[1]: Entering directory `/usr/local/lisp/gcl/gcl-2.4.3/o'
>gcc -pipe -fwritable-strings  -DVOL=volatile -I/usr/local/lisp/gcl/gcl-2.4.3/o
>-fsigned-char -c -O  -I../gcl-tk -I../h/ -O  sfasl.c  
>In file included from ../h/include.h:62,
>                 from sfasl.c:40:
>../h/object.h:67: conflicting types for `_Bool'
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdbool.h:41: previous 
>declaration of `_Bool'
>
>I also tried latest CVS, but got a different make error.
>
>Is there a newsgroup or mailing list specifically for gcl?
>Thanks.
>-- David

There is no mention of mailing list at

http://www.gnu.org/software/gcl/gcl.html

or in the sources.

****

I have compiled the following:

gcl-2.4.3 (from ftp://ftp.gnu.org/gnu/gcl/gcl-2.4.3.tgz)

gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)

Linux loopzilla.org 2.4.9-34 #1 Sat Jun 1 06:23:33 EDT 2002 i586 unknown

and I get (an error in texinfo?)

(cd demos ; \

echo '(load "../tkl.o")
(TK::GET-AUTOLOADS (directory "*.lisp"))' | ../../unixport/saved_gcl) 
GCL (GNU Common Lisp)  Version(2.5.0) Sat Jul  6 13:00:48 BST 2002
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter

>
Loading ../tkl.o
start address -T 8319000 Finished loading ../tkl.o
43968

>
NIL

>make[1]: Leaving directory `/home/gordo/src/gcl-2.4.3/gcl-tk'
(cd info ; make)
make[1]: Entering directory `/home/gordo/src/gcl-2.4.3/info'
false gcl-tk.texi
make[1]: [gcl-tk.info] Error 1 (ignored)
false gcl-si.texi
make[1]: [gcl-si.info] Error 1 (ignored)
TEXINPUTS=.:$TEXINPUTS tex --interaction nonstopmode gcl-tk.texi || true
/bin/sh: tex: command not found
TEXINPUTS=.:$TEXINPUTS tex --interaction nonstopmode gcl-si.texi || true
/bin/sh: tex: command not found
texi2html -split_chapter gcl-si.texi
make[1]: texi2html: Command not found
make[1]: *** [gcl-si_toc.html] Error 127
make[1]: Leaving directory `/home/gordo/src/gcl-2.4.3/info'
make: *** [all] Error 2




****

Are you carrying out "configure/make" inside /usr/local/ (which would
be incorrect)?

Gordo.
From: Camm Maguire
Subject: Re: gcl build error on RH Linux 7.3
Date: 
Message-ID: <54ofdioxgh.fsf@intech19.enhanced.com>
Greetings, and thanks for your report!

David Shochat <········@yahoo.com> writes:

> I get the following error trying to build gcl 2.4.3 on 
> RedHat Linux 7.3 using the tools
> (including gcc 2.96-110) which came with the distribution.
> #define bool _Bool
> So when the compiler sees object.h:67, after preprocessing it looks like
> typedef int _Bool

This is well known.  The issue is fundamentally with gcc-2.96, which
is quite broken as is widely accepted.  Both earlier and later
versions do not define bool here, so the gcl team made the decision
not to support a work around in the CVS tree.  You can try yourself,
though, by placing an #undef _Bool before the relevant line in
object.h.  Better yet, use either 2.95, 3.0 or 3.1 -- they are much
better compilers in all respects.



> 
> I also tried CVS as of last night, but then I get this error:
> 
> make[1]: *** No rule to make target `../mp/libmport.a', needed by `raw_gcl'.
> 

Just checked out CVS myself, and built without problems.  What this
indicates is that the configure of the gmp subbuild failed.  You can
likely determine why by examining the configure output.  If you need
further help here, please post the full configure and make output, and
I'll take a look.

Take care,



-- 
Camm Maguire			     			····@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah
From: David Shochat
Subject: Re: gcl build error on RH Linux 7.3
Date: 
Message-ID: <8erW8.441417$352.65513@sccrnsc02>
On Mon, 08 Jul 2002 15:01:50 -0400, Camm Maguire wrote:

> The following message is a courtesy copy of an article that has been
> posted to comp.lang.lisp as well.
> 
> Greetings, and thanks for your report!
> 
> David Shochat <········@yahoo.com> writes:
> 
>> I get the following error trying to build gcl 2.4.3 on RedHat Linux 7.3
>> using the tools
>> (including gcc 2.96-110) which came with the distribution. #define bool
>> _Bool
>> So when the compiler sees object.h:67, after preprocessing it looks
>> like typedef int _Bool
> 
> This is well known.  The issue is fundamentally with gcc-2.96, which is
> quite broken as is widely accepted.  Both earlier and later versions do
> not define bool here, so the gcl team made the decision not to support a
> work around in the CVS tree.  You can try yourself, though, by placing
> an #undef ...

To repeat what I just posted to gmane.lisp.gcl.devel, putting
#undef bool
in object.h (just before the typedef int bool;) completely solves the
problem. The build completed successfully.
Thanks.
-- David
From: Lars Magne Ingebrigtsen
Subject: Re: gcl build error on RH Linux 7.3
Date: 
Message-ID: <m3elehhtvf.fsf@quimbies.gnus.org>
David Shochat <········@yahoo.com> writes:

> Is there a newsgroup or mailing list specifically for gcl?

·········@mail.gnu.org seems to be the development mailing list for
gcl.  (That mailing list, along with most other Lisp-related mailing
lists, can also be found at the Gmane mail-to-news gateway over at
<URL: http://gmane.org/>.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   ·····@gnus.org * Lars Magne Ingebrigtsen
From: David Shochat
Subject: Re: gcl build error on RH Linux 7.3
Date: 
Message-ID: <YiHV8.304428$6m5.280854@rwcrnsc51.ops.asp.att.net>
On Sat, 06 Jul 2002 09:24:40 -0400, Lars Magne Ingebrigtsen wrote:

> David Shochat <········@yahoo.com> writes:
> 
>> Is there a newsgroup or mailing list specifically for gcl?
> 
> ·········@mail.gnu.org seems to be the development mailing list for gcl.
>  (That mailing list, along with most other Lisp-related mailing lists,
> can also be found at the Gmane mail-to-news gateway over at <URL:
> http://gmane.org/>.)
 
Thanks for the pointer. I had never heard of gmane before. I have posted 
my problem at gmane.lisp.gcl.devel. Hopefully they can help me.
-- David