<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.1.92">
</HEAD>
<BODY>
Marc:<BR>
<BR>
On Tue, 2012-04-17 at 09:38 -0400, Marc Feeley wrote:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Quick-install instructions for a typical installation
-----------------------------------------------------

  git clone <A HREF="https://github.com/feeley/gambit.git">https://github.com/feeley/gambit.git</A>
  cd gambit
  ./configure --enable-single-host
  make bootstrap
  make bootclean
  make
</PRE>
</BLOCKQUOTE>
<BR>
The following variant fails:<BR>
<BR>
<PRE>
    28   10:58   git clone https://github.com/feeley/gambit.git
    29   11:00   cd gambit
    30   11:00   ./configure 'CC=/pkgs/gcc-4.7.0/bin/gcc -march=native -fschedule-insns -frename-registers' '--enable-single-host' '--enable-multiple-versions' '--enable-shared'
    31   11:05   make bootstrap
    32   11:22   make bootclean
    33   11:22   make

</PRE>
with<BR>
<BR>
<PRE>
making all in include
make[1]: Entering directory `/home/lucier/programs/gambit/include'
major=`echo v4.6.5 | sed -e "s/v//g" -e "s/\.[^.]*\.[^.]*//g"`; \
        minor=`echo v4.6.5 | sed -e "s/v[^.]*\.//g" -e "s/\.[^.]*//g"`; \
        revision=`echo v4.6.5 | sed -e "s/v[^.]*\.[^.]*\.//g" -e "s///g"`; \
        version_num=`eval expr "\( 100000 \\* $major \) + \( 1000 \\* $minor \) + $revision"`; \
        echo "#error \"The version indicated in ___VERSION is not supported by gambit.h\"" > gambit-not$version_num.h; \
        echo "#error \"You are probably compiling C code generated by a Gambit compiler earlier or later than v4.6.5\"" >> gambit-not$version_num.h; \
        echo "#error \"___VERSION will be set to $version_num to reduce other errors\"" >> gambit-not$version_num.h; \
        echo "#undef ___VERSION" >> gambit-not$version_num.h; \
        echo "#define ___VERSION $version_num" >> gambit-not$version_num.h; \
        echo "#include \"gambit.h\"" >> gambit-not$version_num.h
make[1]: Leaving directory `/home/lucier/programs/gambit/include'
making all in lib
make[1]: Entering directory `/home/lucier/programs/gambit/lib'
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/Gambit-C/current/lib: ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~include=../include -f -c -check _io.scm
../gsc-boot: error while loading shared libraries: ../lib/libgambc.so: cannot open shared object file: No such file or directory
make[1]: *** [_io.c] Error 127
make[1]: Leaving directory `/home/lucier/programs/gambit/lib'
make: *** [all-recursive] Error 1

</PRE>
evidently, you can't do --enable-shared.  Or perhaps "make bootclean" should leave the libraries, which might be better.<BR>
<BR>
Also, if I do "make -j 4 bootstrap" after the configure, I get the failure<BR>
<BR>
<PRE>
make[1]: Entering directory `/home/lucier/programs/gambit/lib'
../gsc-boot -:~~bin=../bin,~~lib=../lib,~~include=../include -f -c -check _io.scm
../gsc-boot -:~~bin=../bin,~~lib=../lib,~~include=../include -f -c -check _num.scm
/bin/sh: ../gsc-boot: not found
/bin/sh: make[1]: *** [_io.c] Error 127
make[1]: *** Waiting for unfinished jobs....
../gsc-boot: not found
make[1]: *** [_num.c] Error 127
make[1]: Leaving directory `/home/lucier/programs/gambit/lib'
make: *** [all-recursive] Error 1
make: *** Waiting for unfinished jobs....

</PRE>
It appears the makefile dependencies should be changed to allow parallel makes.<BR>
<BR>
Brad
</BODY>
</HTML>