[plt-scheme] Trying to create executable fails

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Mon May 29 19:03:12 EDT 2006

Hi all,

Latest svn fails while trying to create executable:
$ /usr/local/plt/plt-svn3111/bin/mzc --gui-exe mzrun mzrun.scm
mzc version 301.16, Copyright (c) 2004-2006 PLT Scheme Inc.
create-embedding-executable: can't find MrEd executable

 === context ===
/usr/local/plt/plt-svn3111/lib/plt/collects/compiler/embed-unit.ss:65:6:
find-exe
loop

Running mzc3m fails in the exact same way.
Does it need to be in the path? That's not a nice requirement, is it?
Still, that's probably not it, since I have a mzc3m in the path (but
it is the 'stable' 301***).

*** which unfortunately returns a segmentation fault when you try to
run a compiled program, but I think this bug has been solved already,
at least it doesn't show up anymore.
pmatos at euler ~/software/MzRun $ make
mzc3m --gui-exe mzrun mzrun.scm
mzc version 301, Copyright (c) 2004-2005 PLT Scheme Inc.
 [output to "mzrun"]
pmatos at euler ~/software/MzRun $ ./mzrun
Segmentation fault
pmatos at euler ~/software/MzRun $ gdb mzrun
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...rUsing host
libthread_db librar
y "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/pmatos/software/MzRun/mzrun
[Thread debugging using libthread_db enabled]
[New Thread -1215461712 (LWP 15678)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215461712 (LWP 15678)]
0x0823a2a9 in wxWindowDC::SetFont (this=0x943f240, font=0x8493dc0)
    at WindowDC.cc:2680
2680    WindowDC.cc: No such file or directory.
        in WindowDC.cc

Cheers,

-- 
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Posted on the users mailing list.