[plt-scheme] Problem compiling mzgtk2 as an extension collection

From: Hans Oesterholt (hdnews at gawab.com)
Date: Sun Sep 18 17:59:23 EDT 2005

I noticed that using

mzc mzgtk2-basic.scm

gave more information:

 #<path:/home/hans/src/mzgtk2/mzgtk2-gobject.scm> [78,11]: Error: 
procedure called with wrong number of arguments
Errors encountered.  Compilation aborted.

gave enough information to find out that it had to be
a specific macro in mzgtk2-basic.scm that called a function
with the wrong number of arguments.

So I've found the place where the wrong macro usage
has occured.

Best regards,


Hans Oesterholt wrote:

> Dear All,
> I'm getting an error, compiling mzgtk2 as an extension.
> It doesn't realy give a clue about what's the error. Any ideas?
> Best regards,
> Hans
> =========================================================
> mzc --collection-extension mzgtk2
> MzScheme compiler (mzc) version 299.100, Copyright (c) 2005 PLT 
> Scheme, Inc.
> building collection mzgtk2: (info.ss mzgtk2-basic.scm mzgtk2-debug.scm 
> mzgtk2-dialogs.scm mzgtk2-gobject.scm mzgtk2-gtk-version.scm 
> mzgtk2-license.scm mzgtk2-stock-default.scm mzgtk2-stock.scm 
> mzgtk2-textview.scm mzgtk2-tree.scm mzgtk2-types.scm mzgtk2-utils.scm 
> mzgtk2.scm)
> make: make: Failed to make compiled\native\mzgtk2-basic.c; Errors 
> encountered.  Compilation aborted.
> checking compiled\native\win32\i386\_loader.dll
> make:  checking compiled\native\win32\i386\info.obj
> make:   checking compiled\native\info.c
> make:    checking info.ss
> make:   making compiled\native\info.c because info.ss changed
> "info.ss":
> [output to "compiled\native\info.c"]
> make:  making compiled\native\win32\i386\info.obj because 
> compiled\native\info.c changed
> "compiled\native\info.c":
> [output to "compiled\native\win32\i386\info.obj"]
> make:  checking compiled\native\win32\i386\mzgtk2-basic.obj
> make:   checking compiled\native\mzgtk2-basic.c
> make:    checking mzgtk2-basic.scm
> make:   making compiled\native\mzgtk2-basic.c because 
> compiled\native\mzgtk2-basic.c does not exist
> "mzgtk2-basic.scm":
> #f [#f,#f]: Error: procedure called with wrong number of arguments
> make: *** [install] Error 1
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.