[plt-dev] Help with the cygwin build: looking for mzscheme.exe but found mzcheme

From: Grant Rettke (grettke at acm.org)
Date: Sun Feb 21 02:09:18 EST 2010

Hi,

Building PLT trunk on Cygwin 1.7.1-1, make completes but make install
fails here:

####################################################################
cd ..; cp mzscheme/mzdyn.o "/home/rettkeg/apps/plt-trunk/lib/mzdyn.o"
./mzschemecgc -cu "../../mzscheme/collects-path.ss" "/home/rettkeg/apps/plt-tr
k/bin/mzscheme.exe" ../collects
open-input-output-file: cannot open output file: "/home/rettkeg/apps/plt-trunk
in/mzscheme.exe" (No such file or directory; errno=2)

 === context ===
/home/rettkeg/apps/plt-trunk/src/mzscheme/collects-path.ss: [running body]
####################################################################

mzscheme exists, it just doesn't have a .exe extension:

####################################################################
rettkeg at RETGRA-36-00-09:~/apps/plt-trunk/src/build>/home/rettkeg/apps/plt-tru
nk/bin/mzscheme -h
Welcome to MzScheme v4.2.4.3 [cgc], Copyright (c) 2004-2010 PLT Scheme Inc.
mzscheme [<option> ...] <argument> ...
####################################################################

After copying mzscheme to mzscheme.exe, the installer progress to the
point where
it errors out on:

####################################################################
cd ..; cp mzscheme/mzschemecgc "/home/rettkeg/apps/plt-trunk/bin/mzscheme"
cp: cannot create regular file `/home/rettkeg/apps/plt-trunk/bin/mzscheme': File
 exists
####################################################################

What can I do to get this building correctly?

Best wishes,

Grant


Posted on the dev mailing list.