Installing on Windows

356 views
Skip to first unread message

Steve

unread,
Mar 23, 2011, 2:10:31 AM3/23/11
to Jazz Scheme
I installed mingw and used git to install Jazz. When I try to
execute ./jam, I get the following:

'.' is not recognized as an inte
operable program or batch file.

Any hints on how to proceed?


Thanks, Steve

Jeremie Lasalle Ratelle

unread,
Mar 23, 2011, 10:30:06 AM3/23/11
to jazzs...@googlegroups.com
You must use the msys console

> --
> You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
> To post to this group, send email to jazzs...@googlegroups.com.
> To unsubscribe from this group, send email to jazzscheme+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jazzscheme?hl=en.
>
>

Steve

unread,
Mar 23, 2011, 6:47:23 PM3/23/11
to Jazz Scheme
Good point. Thanks, Steve

On Mar 23, 8:30 am, Jeremie Lasalle Ratelle <pouexmachi...@gmail.com>
wrote:

Steve

unread,
Mar 24, 2011, 11:35:33 AM3/24/11
to Jazz Scheme
I installed MinGW and Gambit 4.6.0 (prebuilt) and when I run ./jam I
now get the following:

sh-3.1$ ./jam
JazzScheme needs Gambit-Jazz version 406000 stamp 20101102194246 or
higher to bu
ild
See INSTALL for details on installing the latest version of Gambit
sh-3.1$

Not sure where to go from here.


Steve

---

Guillaume Cartier

unread,
Mar 25, 2011, 12:15:14 AM3/25/11
to Steve, JazzScheme
I don't understand how you could get that problem as Jazz doesn't rely on any preinstalled Gambit. It installs it's own Gambit using Git submodules and so should never have a version problem (the error you get is from a check that was put in when Jazz was still dependent on a globally installed Gambit that could be of an incompatible version).

Can you give me some basic info by running the following commands :

- Current directory : pwd
- The content of you jazz directory : ls -al
- Jazz repository info : ./jam info
- Git version : git --version
- Environment variables : env

Guillaume

On Thu, Mar 24, 2011 at 5:33 PM, Steve <solitary....@gmail.com> wrote:
Could you help me with this?  I've looked at INSTALL and README but
did not see anything helpful regarding this.  Google also did not
help.


Steve

Steve Graham

unread,
Mar 25, 2011, 12:56:23 AM3/25/11
to jazzs...@googlegroups.com
Thank you for your help.

sh-3.1$ pwd
/c/jazzscheme
sh-3.1$ ls -al
total 97
drwxr-xr-x 10 Steve Administrators  4096 Mar 24 15:27 .
drwxr-xr-x 31 Steve Administrators 24576 Mar 24 16:00 ..
drwxr-xr-x  7 Steve Administrators  4096 Mar 23 00:06 .git
-rw-r--r--  1 Steve Administrators   169 Mar 22 23:55 .gitignore
-rw-r--r--  1 Steve Administrators   116 Mar 22 23:55 .gitmodules
-rw-r--r--  1 Steve Administrators   118 Mar 22 23:55 .jamini
-rw-r--r--  1 Steve Administrators   302 Mar 22 23:55 .project
-rw-r--r--  1 Steve Administrators    42 Mar 22 23:55 .repository
-rw-r--r--  1 Steve Administrators 13591 Mar 22 23:55 INSTALL
-rw-r--r--  1 Steve Administrators  8236 Mar 22 23:55 NEWS
-rw-r--r--  1 Steve Administrators  2723 Mar 22 23:55 README
drwxr-xr-x  3 Steve Administrators     0 Mar 22 23:55 bootstrap
drwxr-xr-x  4 Steve Administrators  4096 Mar 22 23:55 devel
drwxr-xr-x  4 Steve Administrators     0 Mar 22 23:55 etc
drwxr-xr-x  8 Steve Administrators     0 Mar 22 23:55 foreign
drwxr-xr-x  8 Steve Administrators  4096 Mar 24 09:13 gambit
-rwxr-xr-x  1 Steve Administrators  1958 Mar 22 23:55 jam
drwxr-xr-x  5 Steve Administrators  4096 Mar 22 23:55 kernel
drwxr-xr-x 67 Steve Administrators 20480 Mar 22 23:55 lib
sh-3.1$ ./jam info
Jazz
./jam: line 88: git: command not found
sh-3.1$ git --version
sh: git: command not found
sh-3.1$ env
HOMEPATH=\
APPDATA=C:\Users\Steve\AppData\Roaming
PROGRAMW6432=C:\Program Files
TERM=cygwin
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 6 Stepping 2, AuthenticAMD
WINDIR=C:\windows
LIBRARY_PATH=C:/JAZZSC~1/gambit/v4.6.0/lib
COMMONPROGRAMW6432=C:\Program Files\Common Files
PUBLIC=C:\Users\Public
PROGRAMDATA=C:\ProgramData
USERDOMAIN=STEVE-TOSHIBA
COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files
OS=Windows_NT
ALLUSERSPROFILE=C:\ProgramData
SBCL_HOME=C:\Program Files (x86)\Steel Bank Common Lisp\1.0.37\
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
!::=::\
TEMP=/tmp
COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
LIB=C:\JAZZSC~1\gambit\v4.6.0\lib
CPATH=C:/JAZZSC~1/gambit/v4.6.0/include
QTJAVA=C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
USERNAME=Steve
PROCESSOR_LEVEL=16
PATH=/c/Program Files (x86)/Chez Scheme Version 8.2/bin/i3nt:/c/Unicon/bin:/c/Pr
ogram Files (x86)/Unicon/bin:/c/windows/system32:/c/windows:/c/windows/System32/
Wbem:/c/windows/System32/WindowsPowerShell/v1.0/:/c/Program Files (x86)/ATI Tech
nologies/ATI.ACE/Core-Static:/c/windows/system32/gs/gs8.71/bin:/c/Program Files
(x86)/GnuWin32/bin:/c/Program Files (x86)/Common Files/GTK/2.0/bin:/c/Program Fi
les (x86)/MzScheme:/c/OpenSSL-Win32/bin:/c/Program Files (x86)/Git/cmd:/c/Users/
Steve/Desktop:/c/Program Files (x86)/Common Files/HP/Digital Imaging/bin:/c/Prog
ram Files (x86)/HP/Digital Imaging/bin/:/c/Program Files (x86)/HP/Digital Imagin
g/bin/Qt/Qt 4.3.3:/c/Program Files (x86)/QuickTime/QTSystem/:/c/Program Files (x
86)/Calibre2/:/c/Program Files (x86)/clisp-2.49:/c/Program Files (x86)/clisp-2.4
9:/c/Program Files (x86)/clisp-2.49:/c/JAZZSC~1/gambit/v4.6.0/bin:/c/Program Fil
es (x86)/Steel Bank Common Lisp/1.0.37/:/c/Program Files (x86)/IDM Computer Solu
tions/UltraEdit/c:/MingW/bin:/usr/bin
PSMODULEPATH=C:\windows\system32\WindowsPowerShell\v1.0\Modules\
FP_NO_HOST_CHECK=NO
PWD=/c/jazzscheme
SYSTEMDRIVE=C:
PROCESSOR_ARCHITEW6432=AMD64
USERPROFILE=C:\Users\Steve
LOGONSERVER=\\STEVE-TOSHIBA
PROCESSOR_ARCHITECTURE=x86
LOCALAPPDATA=C:\Users\Steve\AppData\Local
!C:=C:\jazzscheme
SHLVL=1
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl.cfg
HOMEDRIVE=C:
PROMPT=$P$G
COMSPEC=C:\windows\system32\cmd.exe
TMP=/tmp
SYSTEMROOT=C:\windows
PROCESSOR_REVISION=0602
CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools
\
PROGRAMFILES=C:\Program Files (x86)
NUMBER_OF_PROCESSORS=2
PROGRAMFILES(X86)=C:\Program Files (x86)
INCLUDE=C:\JAZZSC~1\gambit\v4.6.0\include
ASL.LOG=Destination=file
SESSIONNAME=Console
COMPUTERNAME=STEVE-TOSHIBA
!EXITCODE=00000001
_=/usr/bin/env
sh-3.1$ exit
exit

C:\jazzscheme>git --version
git version 1.7.3.1.msysgit.0

C:\jazzscheme>

Steve

-

Jeremie Lasalle Ratelle

unread,
Mar 25, 2011, 8:54:48 AM3/25/11
to jazzs...@googlegroups.com, Steve Graham
> sh-3.1$ env
> ...
> PATH=...
> /c/Program Files (x86)/Git/cmd

I see that you only have the "cmd" subdirectory of Git which only
contains the batch script that will run in windows shell. There was an
option when you installed msysgit to add all the binary directories of
git to your path. I guess you did not select it because you didn't
want to override windows console utilities. If it's not the case, add
C:\Program Files (x86)/Git/bin to the windows PATH, else try setting
the path in a .profile file in your msys home directory. The important
thing is that msys' and mingw's bin directories have precedence over
git's one.

Steve

unread,
Mar 25, 2011, 10:36:23 PM3/25/11
to Jazz Scheme
Good idea. I will give it a try and let you know.

On Mar 25, 6:54 am, Jeremie Lasalle Ratelle <pouexmachi...@gmail.com>
wrote:

Steve

unread,
Mar 26, 2011, 12:40:30 AM3/26/11
to Jazz Scheme
Okay, I added the Git\bin directory to PATH and when that did not
work, I copied git.exe to git.

I was thinking that the problem was that the system did not know where
git was. But based on the error message, I think the problem is that
the gambit subdirectory is missing. How is that created?

Thanks again for the assistance.


Steve

---

C:\Program Files (x86)\Git\bin>dir git*
Volume in drive C is TI105757W0A
Volume Serial Number is 48C4-C0F7

Directory of C:\Program Files (x86)\Git\bin

10/02/2010 12:07 PM 1,166,848 git
10/02/2010 12:07 PM 1,166,848 git.exe
10/02/2010 12:06 PM 322,643 gitk
3 File(s) 2,656,339 bytes
0 Dir(s) 81,535,524,864 bytes free

C:\Program Files (x86)\Git\bin>cd \jazzscheme

C:\jazzscheme>\MinGW\msys\1.0\bin\sh.exe
sh-3.1$ ./jam
./jam: line 15: git: command not found
Unable to find ./gambit/bin/gsc
sh-3.1$ echo $PATH
/c/Program Files (x86)/Chez Scheme Version 8.2/bin/i3nt:/c/Unicon/bin:/
c/Program
Files (x86)/Unicon/bin:/c/windows/system32:/c/windows:/c/windows/
System32/Wbem:
/c/windows/System32/WindowsPowerShell/v1.0/:/c/Program Files (x86)/ATI
Technolog
ies/ATI.ACE/Core-Static:/c/windows/system32/gs/gs8.71/bin:/c/Program
Files (x86)
/GnuWin32/bin:/c/Program Files (x86)/Common Files/GTK/2.0/bin:/c/
Program Files (
x86)/MzScheme:/c/OpenSSL-Win32/bin:/c/Program Files (x86)/Git/cmd:/c/
Users/Steve
/Desktop:/c/Program Files (x86)/Common Files/HP/Digital Imaging/bin:/c/
Program F
iles (x86)/HP/Digital Imaging/bin/:/c/Program Files (x86)/HP/Digital
Imaging/bin
/Qt/Qt 4.3.3:/c/Program Files (x86)/QuickTime/QTSystem/:/c/Program
Files (x86)/C
alibre2/:/c/Program Files (x86)/clisp-2.49:/c/Program Files (x86)/
clisp-2.49:/c/
Program Files (x86)/clisp-2.49:"C:/JAZZSC~1/gambit/v4.6.0/bin:/c/
Program Files (
x86)/Steel Bank Common Lisp/1.0.37/:/c/Program Files (x86)/IDM
Computer Solution
s/UltraEdit/c:/MingW/bin:/usr/bin:/c/Program Files (x86)/Git/cmd/:/c/
Program Fil
es (x86)/Git/bin/"
sh-3.1$ which git
which: git: unknown command
sh-3.1$ where git
c:\Program Files (x86)\Git\cmd\git.cmd
sh-3.1$ cat jam
#!/bin/sh

REL="$(dirname "$0")"
ABS="$(cd "$REL"; pwd)"

...

if [ ! -f "$GSC" ]; then
echo "Unable to find ./gambit/bin/gsc"
exit 1
fi

exec "$GSC" -:="$GAM" -i "$SCM" "$@"
sh-3.1$

---

On Mar 25, 6:54 am, Jeremie Lasalle Ratelle <pouexmachi...@gmail.com>
wrote:

Steve

unread,
Mar 26, 2011, 9:45:08 AM3/26/11
to Jazz Scheme
I downloaded gambit from here (http://www.iro.umontreal.ca/~feeley/
gambc-v4_6_0-windows-mingw.exe), ran ./jam and got the following:

sh-3.1$ pwd
/c/jazzscheme
sh-3.1$ ls -1
INSTALL
NEWS
README
bootstrap
devel
etc
foreign
gambit
jam
kernel
lib
sh-3.1$ ./jam
JazzScheme needs Gambit-Jazz version 406000 stamp 20101102194246 or
higher to build
See INSTALL for details on installing the latest version of Gambit
sh-3.1$

This is frustrating.


Steve

---

Jeremie Lasalle Ratelle

unread,
Mar 26, 2011, 11:25:15 AM3/26/11
to jazzs...@googlegroups.com
You don't need to download gambit. The jam script will take care of
that. With git correctly in your path, just do

> git clone http://github.com/jazzscheme/jazz
> cd jazz
> jam bootstrap

and it should work. As long as you can run git from your msys console
there should be no problem. It appears you have a gambit directory in
your jazz directory and it doesn't contain the version that jazz
needs. As to how this gambit directory ended up there...

Steve

unread,
Mar 27, 2011, 1:35:03 AM3/27/11
to Jazz Scheme
I couldn't seem to get this working with a previously installed git.
So I uninstalled git and mingw and reinstalled mingw. Unfortunately
mingw doesn't seem to contain git. Do you have any suggestions how I
should install git to make it work within mingw?


Steve

---


On Mar 26, 9:25 am, Jeremie Lasalle Ratelle <pouexmachi...@gmail.com>
wrote:
> You don't need to download gambit. The jam script will take care of
> that. With git correctly in your path, just do
>
> > git clonehttp://github.com/jazzscheme/jazz

Guillaume Cartier

unread,
Mar 27, 2011, 9:08:59 AM3/27/11
to jazzs...@googlegroups.com
MinGW and Git are two independent tools.


And importantly, as Jeremie was saying,  when asked "Adjusting your PATH environment" choose the last option:
"Run Git and included Unix tools from the Windows Command Prompt". This way your MinGW console will have complete access to Git tools.

With this setup, in an MinGW console, here's a quick setup steps :

Kosh@Zaadum ~
$ mkdir test

Kosh@Zaadum ~
$ cd test

Kosh@Zaadum ~/test
Cloning into jedi...
remote: Counting objects: 960, done.
remote: Compressing objects: 100% (546/546), done.
Receiving objects:  86% (826/960), 1.54 MiB | 1.01 MiB/s
Receiving objects: 100% (960/960), 1.88 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (460/460), done.

Kosh@Zaadum ~/test
$ cd jedi

Kosh@Zaadum ~/test/jedi
$ ./jam make
Submodule 'jazz' (https://github.com/jazzscheme/jazz.git) registered for path 'jazz'
Cloning into jazz...
remote: Counting objects: 132644, done.
remote: Compressing objects: 100% (29437/29437), done.
remote: Total 132644 (delta 90561), reused 131890 (delta 90026)
Receiving objects: 100% (132644/132644), 48.94 MiB | 1022 KiB/s, done.
Resolving deltas: 100% (90561/90561), done.
Submodule path 'jazz': checked out '31737f73f6b8a5b95818424ed86b51e8dd20ccf9'
Submodule 'bootstrap/gambit' (http://github.com/jazzscheme/gambit-bootstrap.git) registered for path 'bootstrap/gambit'
Cloning into bootstrap/gambit...
remote: Counting objects: 126, done.
remote: Compressing objects: 100% (97/97), done.
Receiving objects:  95% (120/126), 3.05 MiB | 1.01 MiB/s
Receiving objects: 100% (126/126), 3.29 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (45/45), done.
Submodule path 'bootstrap/gambit': checked out '4a62e6529d4e4b26a7747d9a7fae9043c798252d'
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for gcc... gcc
...

Steve

unread,
Mar 28, 2011, 1:27:33 PM3/28/11
to Jazz Scheme
Thanks to you and Jeremie for your help. And I got farther this time.

Below is an extract of the session. It appears that both jazz and
gambit were downloaded. When the dumping of the stack trace took
place, a window came up saying that dirname.exe had failed. I chose
the close option and the script after a while continued with the
download of gambit. You will notice that despite the error with cd,
the bootstrap\gambit directory does exist. Perhaps it has to do with
the fact that some of the normal Unix commands, such as ls, hang and
no longer seem to work. They now seem to point to Git instead of to
MinGW.

Thanks, Steve

---

C:\>\MinGW\msys\1.0\bin\sh.exe
sh-3.1$ git clone http://github.com/jazzscheme/jazz
Cloning into jazz...
remote: Counting objects: 132644, done.
remote: Compressing objects: 100% (29437/29437), done.
remote: Total 132644 (delta 90561), reused 131890 (delta 90026)
Receiving objects: 100% (132644/132644), 48.94 MiB | 1.51 MiB/s, done.
Resolving deltas: 100% (90561/90561), done.
sh-3.1$ cd jazz
sh-3.1$ pwd
/c/jazz
sh-3.1$ jam boostrap
sh: jam: command not found
sh-3.1$ ./jam bootstrap
0 [main] dirname 5136 open_stackdumpfile: Dumping stack trace to
dirname.e
xe.stackdump
Submodule 'bootstrap/gambit' (http://github.com/jazzscheme/gambit-
bootstrap.git)
registered for path 'bootstrap/gambit'
Cloning into bootstrap/gambit...
remote: Counting objects: 126, done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 126 (delta 45), reused 95 (delta 28)Receiving objects:
93% (118/1
Receiving objects: 95% (120/126), 3.24 MiB | 715 KiB/s
Receiving objects: 100% (126/126), 3.29 MiB | 743 KiB/s, done.
Resolving deltas: 100% (45/45), done.
Submodule path 'bootstrap/gambit': checked out
'4a62e6529d4e4b26a7747d9a7fae9043
c798252d'
./jam: line 25: cd: /bootstrap/gambit: No such file or directory
sh-3.1$ pwd
/c/jazz
sh-3.1$ ls
sh-3.1$ \\mingw\\msys\\1.0\\bin\\ls -al
total 94
drwxr-xr-x 9 Steve Administrators 4096 Mar 28 11:17 .
drwxr-xr-x 32 Steve Administrators 24576 Mar 28 11:16 ..
drwxr-xr-x 7 Steve Administrators 4096 Mar 28 11:18 .git
-rw-r--r-- 1 Steve Administrators 169 Mar 28 11:17 .gitignore
-rw-r--r-- 1 Steve Administrators 116 Mar 28 11:17 .gitmodules
-rw-r--r-- 1 Steve Administrators 118 Mar 28 11:17 .jamini
-rw-r--r-- 1 Steve Administrators 302 Mar 28 11:17 .project
-rw-r--r-- 1 Steve Administrators 42 Mar 28 11:17 .repository
-rw-r--r-- 1 Steve Administrators 13591 Mar 28 11:17 INSTALL
-rw-r--r-- 1 Steve Administrators 8386 Mar 28 11:17 NEWS
-rw-r--r-- 1 Steve Administrators 2723 Mar 28 11:17 README
drwxr-xr-x 3 Steve Administrators 0 Mar 28 11:17 bootstrap
drwxr-xr-x 4 Steve Administrators 4096 Mar 28 11:17 devel
-rw-r--r-- 1 Steve Administrators 910 Mar 28 11:17
dirname.exe.stackdump
drwxr-xr-x 4 Steve Administrators 0 Mar 28 11:17 etc
drwxr-xr-x 8 Steve Administrators 0 Mar 28 11:17 foreign
-rwxr-xr-x 1 Steve Administrators 1958 Mar 28 11:17 jam
drwxr-xr-x 5 Steve Administrators 4096 Mar 28 11:17 kernel
drwxr-xr-x 68 Steve Administrators 20480 Mar 28 11:17 lib

sh-3.1$ \\mingw\\msys\\1.0\\bin\\ls -al bootstrap
total 8
drwxr-xr-x 3 Steve Administrators 0 Mar 28 11:17 .
drwxr-xr-x 9 Steve Administrators 4096 Mar 28 11:17 ..
drwxr-xr-x 9 Steve Administrators 4096 Mar 28 11:18 gambit
sh-3.1$ \\mingw\\msys\\1.0\\bin\\ls -al bootstrap\\gambit
total 518
drwxr-xr-x 9 Steve Administrators 4096 Mar 28 11:18 .
drwxr-xr-x 3 Steve Administrators 0 Mar 28 11:17 ..
drwxr-xr-x 7 Steve Administrators 4096 Mar 28 11:18 .git
-rw-r--r-- 1 Steve Administrators 1414 Mar 28 11:18 .gitignore
-rw-r--r-- 1 Steve Administrators 80 Mar 28 11:18 .gitmodules
drwxr-xr-x 2 Steve Administrators 4096 Mar 28 11:18 bin
-rwxr-xr-x 1 Steve Administrators 41019 Mar 28 11:18 config.guess
-rwxr-xr-x 1 Steve Administrators 30943 Mar 28 11:18 config.sub
-rwxr-xr-x 1 Steve Administrators 356357 Mar 28 11:18 configure
-rw-r--r-- 1 Steve Administrators 58164 Mar 28 11:18 configure.ac
drwxr-xr-x 2 Steve Administrators 4096 Mar 28 11:18 gsc
drwxr-xr-x 2 Steve Administrators 0 Mar 28 11:18 gsi
drwxr-xr-x 2 Steve Administrators 0 Mar 28 11:18 include
-rwxr-xr-x 1 Steve Administrators 5009 Mar 28 11:18 install-sh
drwxr-xr-x 2 Steve Administrators 8192 Mar 28 11:18 lib
-rw-r--r-- 1 Steve Administrators 4307 Mar 28 11:18 makefile.in
-rwxr-xr-x 1 Steve Administrators 681 Mar 28 11:18 mkidirs
-rwxr-xr-x 1 Steve Administrators 1082 Mar 28 11:18 relpath
drwxr-xr-x 2 Steve Administrators 0 Mar 28 11:18 src
sh-3.1$ which ls
/c/Program Files (x86)/Git/bin/ls
sh-3.1$

On Mar 27, 7:08 am, Guillaume Cartier <gcart...@jazzscheme.org> wrote:
> MinGW and Git are two independent tools.
>
> So now simply install Git using the installer:http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.4-prev...

Jeremie Lasalle Ratelle

unread,
Mar 28, 2011, 1:45:08 PM3/28/11
to jazzs...@googlegroups.com, Steve
> When the dumping of the stack trace took
> place, a window came up saying that dirname.exe had failed.

Okay dirname crashing is not normal. Could you do

which dirname

please

Steve

unread,
Mar 28, 2011, 3:36:13 PM3/28/11
to Jazz Scheme
I rearranged the directories in PATH, started over and it seems to be
progressing nicely. This must be an enormous system.


Thanks to all. Steve

On Mar 28, 11:45 am, Jeremie Lasalle Ratelle <pouexmachi...@gmail.com>
wrote:

Steve

unread,
Mar 28, 2011, 5:06:12 PM3/28/11
to Jazz Scheme
I can start Jedi. My thanks to all for your patience and help.


Steve

---

Steve Graham

unread,
Apr 16, 2012, 9:43:42 PM4/16/12
to jazzs...@googlegroups.com
Guillaume,

Wanted to reinstall Jazz, so I downloaded jazz with the below git clone command and followed it up with ./jam make.  It ran properly for quite some time and just now it aborted with:

config.status: creating bin/gambc-doc.bat.windows
config.status: creating include/config.h
/c/Users/Steve/Desktop/jedi/jazz/jam: line 32: make: command not found
Unable to find ./gambit/bin/gsc
sh-3.1$

I notice that there is no Gambit directory:

sh-3.1$ ls
INSTALL  README  configure  jam  jazz  lib  makefile
sh-3.1$

Not sure why.

Any thoughts?

Thanks, Steve

---






Guillaume Cartier

unread,
Apr 16, 2012, 10:43:27 PM4/16/12
to jazzs...@googlegroups.com
Hi Steve,

This is due to Windows's really bad console integration.

On Windows we basically have 2 consoles available:

- The MinGW Shell console that can be used to build with the 'make' command but does not understand Git commands
- The Git Bash console that doesn't understand the 'make' command

Problem is that the ./jam script needs to do Git commands *and* invoke the 'make' command.

A simple solution for you is that, at the stage you're at, the Gambit repo has already been cloned, so I'm pretty sure simply starting the MinGW Shell console and redoing the ./jam make command should now go on to completion.

A more complete solution is mentioned in the INSTALL file:

MinGW
  ...

  Also, as both MinGW and Git come with their own shell, the simplest way to
  have a shell supporting both, which is required to build Jazz, is to select
  the "Run Git and included Unix tools from the Windows Command Prompt" when
  installing Git and then using the MinGW shell.

PS: The Gambit directory is under the jazz directory.

Hope this helps,

Guillaume

Steve Graham

unread,
Apr 17, 2012, 11:09:23 AM4/17/12
to jazzs...@googlegroups.com
Well, decided to reinstall mingw and git, using your suggestions for git.

Here is the log of what happened after...

C:\Users\Steve\Desktop>git clone git://github.com/jazzscheme/jedi.git
Cloning into 'jedi'...
remote: Counting objects: 2366, done.
remote: Compressing objects: 100% (901/901), done.
remote: Total 2366 (delta 1306), reused 2242 (delta 1182)
Receiving objects: 100% (2366/2366), 3.27 MiB | 884 KiB/s, done.
Resolving deltas: 100% (1306/1306), done.

C:\Users\Steve\Desktop>cd jedi

sh.exe-3.1$ ./jam make
Submodule 'jazz' (git://github.com/jazzscheme/jazz.git) registered for path 'jaz
z'
Cloning into 'jazz'...
remote: Counting objects: 165568, done.
remote: Compressing objects: 100% (33652/33652), done.
remote: Total 165568 (delta 112768), reused 164863 (delta 112063)
Receiving objects: 100% (165568/165568), 56.79 MiB | 1.88 MiB/s, done.
Resolving deltas: 100% (112768/112768), done.
Submodule path 'jazz': checked out 'c25b3cb4cdd3296dd2c3d88f3600ebb890df2b63'
Submodule 'bootstrap/gambit' (git://github.com/jazzscheme/gambit-bootstrap.git)
registered for path 'bootstrap/gambit'
Cloning into 'bootstrap/gambit'...
remote: Counting objects: 129, done.
remote: Compressing objects: 100% (99/99), done.
remote: Total 129 (delta 46), reused 99 (delta 29)
Receiving objects: 100% (129/129), 3.29 MiB | 968 KiB/s, done.
Resolving deltas: 100% (46/46), done.
fatal: Not a git repository: ../../../../../../../..//c/Users/Steve/Desktop/jedi/.git/modules/jazz/modules/bootstrap/gambit
Unable to find ./gambit/bin/gsc
sh.exe-3.1$

Odd.

Steve

---

Steve Graham

unread,
Apr 17, 2012, 1:08:02 PM4/17/12
to jazzs...@googlegroups.com
I've tried repeating these steps with the same results.  I even switched the order bin/cmd directories, placing the mingw/msys first in the path.  When I display them from within sh.exe, they show with mingw/msys first, but my anti-virus program keeps telling me that it is the git sh.exe that is running.

Not sure where to go.


Steve

---

Steve

unread,
Apr 20, 2012, 3:48:15 PM4/20/12
to Jazz Scheme
I decided to try it on Linux on the same machine. So I added git,
downloaded the jedi.git and proceeded. In 26 minutes I got down to
the following and then failed:

make jazz.media
; compiling jazz/media/_media...
; compiling jazz/media/autoload...
; compiling jazz/media/platform/x11...
Package cairo-ft was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-ft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-ft' found
failed

%

Any thoughts?

I cannot understand why it should be so much faster on Linux than
Windows 7.


Thanks, Steve

===

On Apr 17, 11:08 am, Steve Graham <solitary.wandere...@gmail.com>
wrote:
> I've tried repeating these steps with the same results.  I even switched
> the order bin/cmd directories, placing the mingw/msys first in the path.
>  When I display them from within sh.exe, they show with mingw/msys first,
> but my anti-virus program keeps telling me that it is the git sh.exe that
> is running.
>
> Not sure where to go.
>
> Steve
>
> ---
>
> On Tue, Apr 17, 2012 at 9:09 AM, Steve Graham <solitary.wandere...@gmail.com
> >>> gcart...@jazzscheme.org> wrote:
>
> >>>>  MinGW and Git are two independent tools.
>
> >>>> So now simply install Git using the installer:
> >>>>http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.4-prev...

Steve Graham

unread,
Apr 20, 2012, 5:33:38 PM4/20/12
to Guillaume Cartier, jazzs...@googlegroups.com


Success!  Thanks, Guillaume and all.

Steve

---

On Fri, Apr 20, 2012 at 2:42 PM, Steve Graham <solitary....@gmail.com> wrote:
Ahhh.

Have gcc 4.4.5.  Installed Cairo.    Trying again.

Thanks, Guillaume


On Fri, Apr 20, 2012 at 2:21 PM, Guillaume Cartier <gcar...@jazzscheme.org> wrote:
Did you install cairo (see INSTALL for details)?

As for why  it is so much faster on Linux than Windows 7, i'd say it's mostly your GCC version on Linux, but compilation on Windows has always been slower for me too than on Linux.

Guillaume


On Fri, Apr 20, 2012 at 10:47 AM, Steve Graham <solitary....@gmail.com> wrote:
Guillaume,

Call me impatient, but I decided to try it on Linux.  So I added git, downloaded the jedi.git and proceeded.  In 26 minutes I got down to the following and then failed:


make jazz.media
; compiling jazz/media/_media...
; compiling jazz/media/autoload...
; compiling jazz/media/platform/x11...
Package cairo-ft was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-ft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-ft' found
failed

%

Any thoughts?

I cannot understand why it should be so much faster on Linux than Windows 7.


Thanks, Steve

---


On Thu, Apr 19, 2012 at 7:38 PM, Guillaume Cartier <gcar...@jazzscheme.org> wrote:
Sorry, my mistake. We noticed a couple months ago that our COM interface implementation breaks like that when using GCC 4.7 on Windows. Forgot about that. Guess you're only left with installing a GCC 3.x. But as I said, I'll push a binary release this weekend if you can wait.

Guillaume


On Thu, Apr 19, 2012 at 8:34 PM, Guillaume Cartier <gcar...@jazzscheme.org> wrote:
Asymptotic behavior of compilation time versus size of file.


On Thu, Apr 19, 2012 at 5:19 PM, Steve Graham <solitary....@gmail.com> wrote:

What did you mean by "asymptotic problems"?

On Apr 19, 2012 6:23 AM, "Guillaume Cartier" <gcar...@jazzscheme.org> wrote:

Personally :

$ gcc --version
gcc.exe (GCC) 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Most people here at work use GCC 3.4.5 like me but some I think use the latest 4.7 that seems to have solved the asymptotic problems of the previous 4.x versions.



On Wed, Apr 18, 2012 at 11:22 PM, Steve Graham <solitary....@gmail.com> wrote:
>
> So you d...







Reply all
Reply to author
Forward
0 new messages