From: Frederic Bastenaire
Subject: Error building  GCL-2.6.2 Win XP/ MINGW GCC 3.2.3 / MSYS 1.0.10
Date: 
Message-ID: <d977c973.0407010630.4efe6899@posting.google.com>
Hi fellow lispers,

I am trying to build GCL-2.6.2 on Win XP, with MINGW/GCC 3.2.3, and
MSYS 1.0.10.
Building GCL-2.5.3 was a piece of cake, but I have no luck with
GCL-2.6.2.

Running the configure script is OK, but a non recognised option:
-fno-zero-initialized-in-bss
So I remove this option from the makedefs file and run make.
You also have to define cc as a synony for gcc, so the make works.

Everything runs then fine for a (very long) while... then make crashes
while building the info doc:

make[1]: Entering directory `/home/gcl-2.6.2/info'
makeinfo gcl-tk.texi
 Values'..texi:594: Cross reference to nonexistent node `Return
makeinfo: Removing output file `/home/gcl-2.6.2/info/gcl-tk.info' due
to errors; use --force to preserve.
make[1]: [gcl-tk.info] Error 2 (ignored)
makeinfo gcl-si.texi    
' in @synindex. Unknown index `vr' and/or `fn
./system.texi:65: Unknown command `'.
makeinfo: Removing output file `/home/gcl-2.6.2/info/gcl-si.info' due
to errors; use --force to preserve.
make[1]: [gcl-si.info] Error 2 (ignored)
makeinfo --html gcl-si.texi
' in @synindex. Unknown index `vr' and/or `fn
./system.texi:65: Unknown command `'.
makeinfo: Removing output file
`/home/gcl-2.6.2/info/gcl-si/index.html' due to errors; use --force to
preserve.
make[1]: *** [gcl-si/index.html] Error 2
make[1]: Leaving directory `/home/gcl-2.6.2/info'
make: *** [do-info] Error 2

If I look in the unixport directory, there is indeed a save_gcl.exe
file, but running it crashes
immediately:

Error: The variable SYSTEM::*SYSTEM-BANNER* is unbound.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by COND.
Backtrace: 

Error: The tag (NIL) is undefined.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by COND.
Backtrace: SYSTEM:UNIVERSAL-ERROR-HANDLER

Error: The tag (NIL) is undefined.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by SYSTEM:UNIVERSAL-ERROR-HANDLER.
Backtrace: SYSTEM:UNIVERSAL-ERROR-HANDLER
Error handler called recursively (:ERROR NIL
                                        
SYSTEM:UNIVERSAL-ERROR-HANDLER
                                         "" "The tag ~s is undefined."
                                         (NIL))

Has anyone build GCL-2.6.2 successfully?
Can anyone help me?
Thanks in advance,

Fr�d�ric Bastenaire (fba at free dot fr)

From: Mike Thomas
Subject: Re: Error building  GCL-2.6.2 Win XP/ MINGW GCC 3.2.3 / MSYS 1.0.10
Date: 
Message-ID: <40e4a6bf$0$89126$c30e37c6@lon-reader.news.telstra.net>
Hi Frederic.

Thanks for your interest in GNU Common Lisp (GCL).

For all enquiries regarding GCL you will find that the GCL developers
mailing list is the best place to go.  See:

   http://savannah.gnu.org/projects/gcl/

and

  http://lists.gnu.org/mailman/listinfo/gcl-devel

You can collect precompiled Windows (MinGW32 compiled) GCL installers from:

   ftp://ftp.gnu.org/gnu/gcl/binaries/stable/

There are two installers there, one for the traditional CLtL1 flavour of
GCL, the other a partial ANSIfication of GCL.

If you still prefer building from scratch, you should check out the file
"readme.mingw" in the top level directory of the source tree which specifies
appropriate versions of GCC, bintuils etc.

In short, you need gcc 3.3.1 and binutils 2.14.90.  You'll also need the
developers toolkit (mingwDTK-1.0.0-alpha-1.tar.gz) and must have the MSYS
make installed correctly (MAKE_MODE=unix)  see further below on how to check
this.  The MSYS installation instructions tell you what you need to do and
you can get advice from the MSYS mailing list.


"Frederic Bastenaire" <···@free.fr> wrote in message
·································@posting.google.com...
> Hi fellow lispers,
>
> I am trying to build GCL-2.6.2 on Win XP, with MINGW/GCC 3.2.3, and
> MSYS 1.0.10.
> Building GCL-2.5.3 was a piece of cake, but I have no luck with
> GCL-2.6.2.
>
> Running the configure script is OK, but a non recognised option:
> -fno-zero-initialized-in-bss
> So I remove this option from the makedefs file and run make.

Versions of GCC less than 3.3 don't have that flag.  It is needed with the
newer versions to allow dumping a running Lisp system to make a new
executable file.

> You also have to define cc as a synony for gcc, so the make works.

I'm unsure why you had to do this but for the record, I have never had to in
two years of building GCL.  Are you sure you have the right make executable?
MSYS is very specific during installation about this.

> Everything runs then fine for a (very long) while... then make crashes
> while building the info doc:
>
> make[1]: Entering directory `/home/gcl-2.6.2/info'
> makeinfo gcl-tk.texi
>  Values'..texi:594: Cross reference to nonexistent node `Return
> makeinfo: Removing output file `/home/gcl-2.6.2/info/gcl-tk.info' due
> to errors; use --force to preserve.
> make[1]: [gcl-tk.info] Error 2 (ignored)
> makeinfo gcl-si.texi
> ' in @synindex. Unknown index `vr' and/or `fn
> ./system.texi:65: Unknown command `'.
> makeinfo: Removing output file `/home/gcl-2.6.2/info/gcl-si.info' due
> to errors; use --force to preserve.
> make[1]: [gcl-si.info] Error 2 (ignored)
> makeinfo --html gcl-si.texi
> ' in @synindex. Unknown index `vr' and/or `fn
> ./system.texi:65: Unknown command `'.
> makeinfo: Removing output file
> `/home/gcl-2.6.2/info/gcl-si/index.html' due to errors; use --force to
> preserve.
> make[1]: *** [gcl-si/index.html] Error 2
> make[1]: Leaving directory `/home/gcl-2.6.2/info'
> make: *** [do-info] Error 2

Can you let me know what this says on your machine?

$ makeinfo --version
makeinfo (GNU texinfo) 4.3

Here is what my make log says:

========================================================
cd info && make
make[1]: Entering directory `/c/lang/source/gcl/gcl-2.6.2/info'
makeinfo gcl-tk.texi
makeinfo gcl-si.texi
makeinfo --html gcl-si.texi
makeinfo --html gcl-tk.texi
make[1]: Leaving directory `/c/lang/source/gcl/gcl-2.6.2/info'
========================================================

> If I look in the unixport directory, there is indeed a save_gcl.exe
> file, but running it crashes
> immediately:
>
> Error: The variable SYSTEM::*SYSTEM-BANNER* is unbound.
> Fast links are on: do (si::use-fast-links nil) for debugging
> Error signalled by COND.
> Backtrace:
>
> Error: The tag (NIL) is undefined.
> Fast links are on: do (si::use-fast-links nil) for debugging
> Error signalled by COND.
> Backtrace: SYSTEM:UNIVERSAL-ERROR-HANDLER
>
> Error: The tag (NIL) is undefined.
> Fast links are on: do (si::use-fast-links nil) for debugging
> Error signalled by SYSTEM:UNIVERSAL-ERROR-HANDLER.
> Backtrace: SYSTEM:UNIVERSAL-ERROR-HANDLER
> Error handler called recursively (:ERROR NIL
>
> SYSTEM:UNIVERSAL-ERROR-HANDLER
>                                          "" "The tag ~s is undefined."
>                                          (NIL))


This result is also new to me.  This, plus the need to set CC, suggests to
me that you have MSYS and/or make setup troubles.  Here is what msysinfo
says to me:


========================================================
$ msysinfo
msysinfo-1.3: Send this to the MSYS support list:

MSYS 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown; targ=MINGW32
GNU bash, version 2.04.0(1)-release (i686-pc-msys); ENV=.profile
GNU Make version 3.79.1,Built for i686-pc-msys; MAKE_MODE=unix
gcc.exe (GCC) 3.3.1 (mingw special 20030804-1); targ=MINGW32
GNU ld version 2.14.90 20030807
   789320 Tue Mar 16 13:32:49 2004 /bin/msys-1.0.dll
    52064 Thu Jan 02 08:05:27 2003 /bin/msysltdl-3.dll
   135680 Tue Mar 16 13:32:48 2004 /bin/make.exe
    84992 Fri Aug 08 08:28:59 2003 /mingw/bin/gcc.exe
   613888 Sun Aug 10 16:05:14 2003 /mingw/bin/ld.exe
HOME=/home/miketh
Sysname=MINGW32_NT-5.1  OSTYPE=msys  TERM=cygwin
PATH=.:/usr/local/bin:/mingw/bin:/bin:/c/lang/texmf/miktex/bin/:
/c/lang/Tcl-8.4.1.0/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOW
S/System32/Wbem:/c/Program Files/Common Files/Adaptec Shared/Sys
tem:/c/Program Files/Common Files/GTK/2.0/bin:/c/lang/texmf/mikt
ex/bin/:/c/lang/MSDOTN~1/Bin/:/c/PROGRA~1/MICROS~1.NET/Common7/I
DE/:/c/WINDOWS/MICROS~1.NET/FRAMEW~1/V10~1.370/:/c/PROGRA~1/MICR
OS~1.NET/Vc7/bin/:/c/lang/TCL-84~1.0/bin:/c/WINDOWS/system32:/c/
WINDOWS:/c/WINDOWS/System32/Wbem:/c/PROGRA~1/COMMON~1/ADAPTE~1/S
ystem:/c/lang/ocaml/bin:/c/lang/sml-nj-110.9.1/bin:/c/lang/Palmd
ev/apache-ant-1.5.4/bin
========================================================

What does your msysinfo say?


> Has anyone build GCL-2.6.2 successfully?

Yes.

> Can anyone help me?

Yes.  Best to move the discussion to the gcl-devel mailing list which is a
more appropriate venue.

> Thanks in advance,

No worries.

Cheers

Mike Thomas
From: Frederic Bastenaire
Subject: Re: Error building  GCL-2.6.2 Win XP/ MINGW GCC 3.2.3 / MSYS 1.0.10
Date: 
Message-ID: <d977c973.0407020138.670cf855@posting.google.com>
Hi Mike,

thanks a lot.
I updated my MINGW/MSYS configuration (and added the msysDTK-1.0.1.exe
package), and unpacked the tarball with 7zip (just to be sure...).
Then, the make worked fine and the saved_gcl.exe seems to work.
I shall test it more thoroughly and send more information later (as I
am
a bit busy right now...).

This LISP looks quite interesting. I also played with CLISP and Corman
Lisp.
Actually, I used to be a Symbolics fan in the good old days (till
1990),
and I would like to find something similar in win32. 
I miss the thrill of dynamic windows features a lot...

Have a nice week end,

fr�d�ric

> > Can anyone help me?
> 
> Yes.  Best to move the discussion to the gcl-devel mailing list which is a
> more appropriate venue.
> 
> > Thanks in advance,
> 
> No worries.
> 
> Cheers
> 
> Mike Thomas
From: Mike Thomas
Subject: Re: Error building  GCL-2.6.2 Win XP/ MINGW GCC 3.2.3 / MSYS 1.0.10
Date: 
Message-ID: <40ea2d72$0$41643$c30e37c6@lon-reader.news.telstra.net>
OK.

Best of luck Frederic, but remember to keep it on the GCL list as I don't
always read CLL..

Cheers

Mike Thomas.

"Frederic Bastenaire" <···@free.fr> wrote in message
·································@posting.google.com...
> Hi Mike,
>
> thanks a lot.
> I updated my MINGW/MSYS configuration (and added the msysDTK-1.0.1.exe
> package), and unpacked the tarball with 7zip (just to be sure...).
> Then, the make worked fine and the saved_gcl.exe seems to work.
> I shall test it more thoroughly and send more information later (as I
> am
> a bit busy right now...).
>
> This LISP looks quite interesting. I also played with CLISP and Corman
> Lisp.
> Actually, I used to be a Symbolics fan in the good old days (till
> 1990),
> and I would like to find something similar in win32.
> I miss the thrill of dynamic windows features a lot...
>
> Have a nice week end,
>
> fr�d�ric
>
> > > Can anyone help me?
> >
> > Yes.  Best to move the discussion to the gcl-devel mailing list which is
a
> > more appropriate venue.
> >
> > > Thanks in advance,
> >
> > No worries.
> >
> > Cheers
> >
> > Mike Thomas