Marc:
Can you remind me briefly how to build Gambit for iOS?
I naively tried
% misc/build-gambit-iOS
but it ended with
In file included from _num.c:776: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ In file included from _io.c:1365: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ 1 error generated. make: *** [_num.o] Error 1 make: *** Waiting for unfinished jobs.... 1 error generated. make: *** [_io.o] Error 1
Brad
Afficher les réponses par date
On Fri, Oct 10, 2014 at 7:38 PM, Bradley Lucier lucier@math.purdue.edu wrote:
Marc:
Can you remind me briefly how to build Gambit for iOS?
I naively tried
% misc/build-gambit-iOS
but it ended with
In file included from _num.c:776: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ In file included from _io.c:1365: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ 1 error generated. make: *** [_num.o] Error 1 make: *** Waiting for unfinished jobs.... 1 error generated. make: *** [_io.o] Error 1
You need to run it inside /misc folder;
cd misc; ./build-gambit-iOS
On Fri, Oct 10, 2014 at 7:43 PM, Álvaro Castro-Castilla < alvaro.castro.castilla@gmail.com> wrote:
On Fri, Oct 10, 2014 at 7:38 PM, Bradley Lucier lucier@math.purdue.edu wrote:
Marc:
Can you remind me briefly how to build Gambit for iOS?
I naively tried
% misc/build-gambit-iOS
but it ended with
In file included from _num.c:776: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ In file included from _io.c:1365: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ 1 error generated. make: *** [_num.o] Error 1 make: *** Waiting for unfinished jobs.... 1 error generated. make: *** [_io.o] Error 1
You need to run it inside /misc folder;
cd misc; ./build-gambit-iOS
I'd like to add that this actually builds the Gambit library for various architectures, but if you want the app, you need to go to contrib/Gambit-REPL, as Marc just explained.
Could the build script be updated to do a CD to itself, somehow?
If not, then perhaps best to start with "echo This script must be invoked with its parent directory as current directory".
I mean, that kind of error could take Alot of time to debug.
2014-10-10 19:49 GMT+02:00 Álvaro Castro-Castilla < alvaro.castro.castilla@gmail.com>:
On Fri, Oct 10, 2014 at 7:43 PM, Álvaro Castro-Castilla < alvaro.castro.castilla@gmail.com> wrote:
On Fri, Oct 10, 2014 at 7:38 PM, Bradley Lucier lucier@math.purdue.edu wrote:
Marc:
Can you remind me briefly how to build Gambit for iOS?
I naively tried
% misc/build-gambit-iOS
but it ended with
In file included from _num.c:776: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ In file included from _io.c:1365: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ 1 error generated. make: *** [_num.o] Error 1 make: *** Waiting for unfinished jobs.... 1 error generated. make: *** [_io.o] Error 1
You need to run it inside /misc folder;
cd misc; ./build-gambit-iOS
I'd like to add that this actually builds the Gambit library for various architectures, but if you want the app, you need to go to contrib/Gambit-REPL, as Marc just explained.
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
On Fri, Oct 10, 2014 at 8:11 PM, Mikael mikael.rcv@gmail.com wrote:
Could the build script be updated to do a CD to itself, somehow?
If not, then perhaps best to start with "echo This script must be invoked with its parent directory as current directory".
I mean, that kind of error could take Alot of time to debug.
I generally use $(dirname $0) or some variation, to get the directory of the script in Bash
Neat, does it sound relevant to include?
2014-10-10 20:29 GMT+02:00 Álvaro Castro-Castilla < alvaro.castro.castilla@gmail.com>:
On Fri, Oct 10, 2014 at 8:11 PM, Mikael mikael.rcv@gmail.com wrote:
Could the build script be updated to do a CD to itself, somehow?
If not, then perhaps best to start with "echo This script must be invoked with its parent directory as current directory".
I mean, that kind of error could take Alot of time to debug.
I generally use $(dirname $0) or some variation, to get the directory of the script in Bash
I’m not sure why you are getting that error. Are you using the latest Xcode? clang?
Over the last few weeks I have been updating the GambitREPL app for iOS 8, so I know it builds fine for me (by the way the new GambitREPL has been submitted to the app store yesterday).
Usually I do:
cd contrib/Gambit-REPL make ios
Marc
On Oct 10, 2014, at 1:38 PM, Bradley Lucier lucier@math.purdue.edu wrote:
Marc:
Can you remind me briefly how to build Gambit for iOS?
I naively tried
% misc/build-gambit-iOS
but it ended with
In file included from _num.c:776: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ In file included from _io.c:1365: ../include/gambit.h:19:10: fatal error: 'config.h' file not found #include "config.h" ^ 1 error generated. make: *** [_num.o] Error 1 make: *** Waiting for unfinished jobs.... 1 error generated. make: *** [_io.o] Error 1
Brad
On Oct 10, 2014, at 1:46 PM, Marc Feeley feeley@iro.umontreal.ca wrote:
I’m not sure why you are getting that error. Are you using the latest Xcode? clang?
Over the last few weeks I have been updating the GambitREPL app for iOS 8, so I know it builds fine for me (by the way the new GambitREPL has been submitted to the app store yesterday).
Usually I do:
cd contrib/Gambit-REPL make iOS
OK, I tried that, and it ended with
*** Selecting platform "iPhoneSimulator.platform" and SDK "iPhoneSimulator8.0.sdk" for "x86_64". tar (child): gambc-v4_7_3.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now mv: rename gambc-v4_7_3 to /Users/lucier/programs/gambit/gambit-iOS: No such file or directory ../../misc/build-gambit-iOS: line 133: cd: /Users/lucier/programs/gambit/gambit-iOS: No such file or directory ../../misc/build-gambit-iOS: line 134: ./configure: No such file or directory ../../misc/build-gambit-iOS: line 142: cd: /Users/lucier/programs/gambit/gambit-iOS: No such file or directory make[1]: *** No rule to make target `clean'. Stop. ../../misc/build-gambit-iOS: line 155: cd: lib: No such file or directory make[1]: *** No targets specified and no makefile found. Stop. make: *** [gambit-iOS] Error 1
Perhaps this is something that should not be attempted casually.
Brad
Hmmm… are you sure you did
cd contrib/GambitREPL make ios
because the error messages don’t seem to indicate you were in the right directory (note that my previous message incorrectly had a dash in the name GambitREPL, so maybe your “cd” failed).
Marc
On Oct 10, 2014, at 5:39 PM, Bradley Lucier lucier@math.purdue.edu wrote:
On Oct 10, 2014, at 1:46 PM, Marc Feeley feeley@iro.umontreal.ca wrote:
I’m not sure why you are getting that error. Are you using the latest Xcode? clang?
Over the last few weeks I have been updating the GambitREPL app for iOS 8, so I know it builds fine for me (by the way the new GambitREPL has been submitted to the app store yesterday).
Usually I do:
cd contrib/Gambit-REPL make iOS
OK, I tried that, and it ended with
*** Selecting platform "iPhoneSimulator.platform" and SDK "iPhoneSimulator8.0.sdk" for "x86_64". tar (child): gambc-v4_7_3.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now mv: rename gambc-v4_7_3 to /Users/lucier/programs/gambit/gambit-iOS: No such file or directory ../../misc/build-gambit-iOS: line 133: cd: /Users/lucier/programs/gambit/gambit-iOS: No such file or directory ../../misc/build-gambit-iOS: line 134: ./configure: No such file or directory ../../misc/build-gambit-iOS: line 142: cd: /Users/lucier/programs/gambit/gambit-iOS: No such file or directory make[1]: *** No rule to make target `clean'. Stop. ../../misc/build-gambit-iOS: line 155: cd: lib: No such file or directory make[1]: *** No targets specified and no makefile found. Stop. make: *** [gambit-iOS] Error 1
Perhaps this is something that should not be attempted casually.
Brad
On Oct 10, 2014, at 9:01 PM, Marc Feeley feeley@iro.umontreal.ca wrote:
Hmmm… are you sure you did
cd contrib/GambitREPL make ios
because the error messages don’t seem to indicate you were in the right directory (note that my previous message incorrectly had a dash in the name GambitREPL, so maybe your “cd” failed).
Here’s the entire log:
[Media-Mac-mini-3:~/programs/gambit/gambit] lucier% cd contrib/GambitREPL/ [Media-Mac-mini-3:gambit/contrib/GambitREPL] lucier% ls AppDelegate.h f11.png AppDelegate.m f12.png Default-568h@2x.png f2.png GambitREPL.xcodeproj.tgz f3.png IView.h f4.png IView.m f5.png Icon-1024.png f6.png Icon-120.png f7.png Icon-152.png f8.png Icon-180.png f9.png Icon-29.png gambit-c.html Icon-40.png genport#.scm Icon-512.png genport.scm Icon-57.png grd.scm* Icon-72.png help#.scm Icon-76.png help.html Icon-87.png help.scm Icon-unscaled.key/ html#.scm Icon-unscaled.png html.scm Info.plist intf#.scm KOCreateButton.h intf.h KOCreateButton.m intf.scm KOKeyboardRow.h json#.scm KOKeyboardRow.m json.scm KOProtocol.h main.m KOSwipeButton.h make-appstore-screenshots* KOSwipeButton.m make-keys* Prefix.pch make-scaled-icons* README makefile Storyboard.storyboard makefile.in TView.h note.png TView.m program.scm ViewController.h r5rs.html ViewController.m r5rs.pdf WView.h repl-server#.scm WView.m repl-server.scm button-abc.png repo#.scm button-cancel.png repo.scm button-compass.png rocket.png button-empty.png script#.scm button-left-left.png script.scm button-left.png stop.png button-question.png tar#.scm button-right-right.png tar.scm button-right.png url#.scm button-up-arrow.png url.scm button-up.png user.png digest#.scm wiki#.scm digest.scm wiki.scm edit.png zlib#.scm f1.png zlib.scm f10.png [Media-Mac-mini-3:gambit/contrib/GambitREPL] lucier% make ios ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -o grd -exe grd.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o digest.m digest.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o genport.m genport.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o zlib.m zlib.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o tar.m tar.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o json.m json.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o url.m url.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o html.m html.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o wiki.m wiki.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o repl-server.m repl-server.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o intf.m intf.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o script.m script.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o repo.m repo.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o help.m help.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -c -check -o program.m program.scm ../../gsc/gsc -:~~bin=../../bin,~~lib=../../lib,~~include=../../include -f -link -o program_.m digest.m genport.m zlib.m tar.m json.m url.m html.m wiki.m repl-server.m intf.m script.m repo.m help.m program.m rm -rf GambitREPL.xcodeproj tar zxf GambitREPL.xcodeproj.tgz ************************************************************* * * * Building Gambit for iOS * * * * This builds the Gambit runtime library for * * the iPhone/iPad/iPod Touch devices and simulators * * * ************************************************************* ../../misc/build-gambit-iOS make[2]: Nothing to be done for `doc'. rm -rf gambc-v4_7_3 mkdir gambc-v4_7_3 chmod 777 gambc-v4_7_3 Copying distribution files: README INSTALL.txt LICENSE-2.0.txt LGPL.txt makefile.in configure configure.ac config.guess config.sub install-sh mkidirs relpath gsc-boot.unix gsc-boot.bat.windows making dist in include mkdir ../gambc-v4_7_3/include chmod 777 ../gambc-v4_7_3/include Copying distribution files: include/makefile.in include/gambit.h.in include/config.h.in include/stamp.h making dist in lib mkdir ../gambc-v4_7_3/lib chmod 777 ../gambc-v4_7_3/lib Copying distribution files: lib/makefile.in lib/header.scm lib/_kernel.scm lib/_system.scm lib/_num.scm lib/_std.scm lib/_eval.scm lib/_io.scm lib/_nonstd.scm lib/_thread.scm lib/_repl.scm lib/sys.scm lib/_kernel#.scm lib/_system#.scm lib/_num#.scm lib/_std#.scm lib/_eval#.scm lib/_io#.scm lib/_nonstd#.scm lib/_thread#.scm lib/_repl#.scm lib/_gambit#.scm lib/gambit#.scm lib/r5rs#.scm lib/r4rs#.scm lib/digest#.scm lib/digest.scm lib/syntax-case.scm lib/main.c lib/setup.c lib/mem.c lib/os.c lib/os_base.c lib/os_thread.c lib/os_time.c lib/os_shell.c lib/os_files.c lib/os_dyn.c lib/os_tty.c lib/os_io.c lib/c_intf.c lib/setup.h lib/mem.h lib/os.h lib/os_base.h lib/os_thread.h lib/os_time.h lib/os_shell.h lib/os_files.h lib/os_dyn.h lib/os_tty.h lib/os_io.h lib/c_intf.h lib/dead.h lib/check___P lib/check___P.st lib/psyntax69c.pp lib/psyntax69c.ss lib/psyntax73.pp lib/psyntax73.ss lib/syntax-case-build lib/syntax-case-expand-file lib/syntax-case-postlude.scm lib/syntax-case-prelude.scm lib/_kernel.c lib/_system.c lib/_num.c lib/_std.c lib/_eval.c lib/_io.c lib/_nonstd.c lib/_thread.c lib/_repl.c lib/_gambc.c lib/guide (cd . ; COPYFILE_DISABLE=1 tar cf - guide) | (cd ../gambc-v4_7_3/lib ; tar xf -) making dist in gsi mkdir ../gambc-v4_7_3/gsi chmod 777 ../gambc-v4_7_3/gsi Copying distribution files: gsi/makefile.in gsi/main.scm gsi/_gsilib.scm gsi/_gsi.scm gsi/_gsilib.c gsi/_gsi.c gsi/_gambcgsi.c gsi/_gsi_.c making dist in gsc mkdir ../gambc-v4_7_3/gsc chmod 777 ../gambc-v4_7_3/gsc Copying distribution files: gsc/makefile.in gsc/fixnum.scm gsc/generic.scm gsc/igsc.scm gsc/_host.scm gsc/_utils.scm gsc/_source.scm gsc/_parms.scm gsc/_env.scm gsc/_ptree1.scm gsc/_ptree2.scm gsc/_gvm.scm gsc/_back.scm gsc/_front.scm gsc/_prims.scm gsc/_assert.scm gsc/_asm.scm gsc/_x86.scm gsc/_codegen.scm gsc/_t-univ.scm gsc/_t-c-1.scm gsc/_t-c-2.scm gsc/_t-c-3.scm gsc/_gsclib.scm gsc/_gsc.scm gsc/_assert#.scm gsc/_asm#.scm gsc/_x86#.scm gsc/_codegen#.scm gsc/_envadt.scm gsc/_gvmadt.scm gsc/_ptreeadt.scm gsc/_sourceadt.scm gsc/runtests.scm gsc/_t-x86.scm gsc/_host.c gsc/_utils.c gsc/_source.c gsc/_parms.c gsc/_env.c gsc/_ptree1.c gsc/_ptree2.c gsc/_gvm.c gsc/_back.c gsc/_front.c gsc/_prims.c gsc/_assert.c gsc/_asm.c gsc/_x86.c gsc/_codegen.c gsc/_t-univ.c gsc/_t-c-1.c gsc/_t-c-2.c gsc/_t-c-3.c gsc/_gsclib.c gsc/_gsc.c gsc/_gambcgsc.c gsc/_gsc_.c gsc/tests (cd . ; COPYFILE_DISABLE=1 tar cf - `find tests -name "README" -print` `find tests -name "*.scm" -print`) | (cd ../gambc-v4_7_3/gsc ; tar xf -) making dist in bin mkdir ../gambc-v4_7_3/bin chmod 777 ../gambc-v4_7_3/bin Copying distribution files: bin/makefile.in bin/gambc-cc.unix.in bin/gambc-cc.bat.windows.in bin/gambc-doc.unix.in bin/gambc-doc.bat.windows.in making dist in misc mkdir ../gambc-v4_7_3/misc chmod 777 ../gambc-v4_7_3/misc Copying distribution files: misc/makefile.in misc/README misc/bench.tgz misc/simple-make-project.tgz misc/openwatcom.bat misc/vcexpress.bat misc/vctoolkit.bat misc/vc2008.bat misc/vstudio.zip misc/proj_msc.zip misc/conf_msc misc/conf_msc.sed misc/conf_mpp.sed misc/proj_wat.zip misc/conf_wat misc/conf_wat.sed misc/conf_wpp.sed misc/conf_win.sed misc/proj_bor.zip misc/conf_bor misc/conf_bor.sed misc/conf_bpp.sed misc/conf_dj misc/conf_dj.sed misc/conf_dpp.sed misc/conf_lcc misc/conf_lcc.sed misc/proj_cw.hqx misc/gambit.el misc/changev misc/changev1 misc/set-regs misc/publish-release misc/build-gambit-iOS misc/build-gambit-android misc/bench-gccs misc/install-gnu-gcc misc/checkout-latest-good-commit making dist in doc mkdir ../gambc-v4_7_3/doc chmod 777 ../gambc-v4_7_3/doc Copying distribution files: doc/makefile.in doc/gambit-c.txi doc/texinfo.tex doc/texi2html doc/checkdoc.scm doc/gambcini.scm doc/square.scm doc/bench.scm doc/m1.c doc/m2.scm doc/m3.scm doc/m4.scm doc/m5.scm doc/m6.scm doc/m7.scm doc/x.c doc/x.h doc/h.scm doc/w.six doc/test1.scm doc/test2.scm doc/test3.scm doc/gsi.1 doc/stamp.vti doc/version.txi doc/gambit-c.pdf doc/gambit-c.html doc/gambit-c.txt doc/gambit-c.info doc/gambit-c.info-1 doc/gambit-c.info-2 doc/gambit-c.info-3 cp: gambit-c.info-3: No such file or directory make[2]: *** [dist-pre] Error 1 make[1]: *** [dist-recursive] Error 1 mv: rename ../../gambc-v4_7_3.tgz to ./gambc-v4_7_3.tgz: No such file or directory *** Selecting platform "iPhoneSimulator.platform" and SDK "iPhoneSimulator8.0.sdk" for "i386". tar (child): gambc-v4_7_3.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now mv: rename gambc-v4_7_3 to /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS: No such file or directory ../../misc/build-gambit-iOS: line 133: cd: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS: No such file or directory ../../misc/build-gambit-iOS: line 134: ./configure: No such file or directory ../../misc/build-gambit-iOS: line 142: cd: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS: No such file or directory making mostlyclean in GambitREPL rm -f digest.m genport.m zlib.m tar.m json.m url.m html.m wiki.m repl-server.m intf.m script.m repo.m help.m program.m program_.m grd making clean in GambitREPL rm -f digest.m genport.m zlib.m tar.m json.m url.m html.m wiki.m repl-server.m intf.m script.m repo.m help.m program.m program_.m grd rm -f *.gcov *.gcno *.gcda ../../misc/build-gambit-iOS: line 155: cd: lib: No such file or directory making all in GambitREPL touch: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS/gsi/*.o: No such file or directory touch: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS/gsc/*.o: No such file or directory touch: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS/gsi/libgambcgsi.a: No such file or directory touch: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS/gsc/libgambcgsc.a: No such file or directory touch: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS/gsi/gsi: No such file or directory touch: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS/gsc/gsc: No such file or directory making all in include making all in lib gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_io.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _io.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_num.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _num.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_std.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _std.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_kernel.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _kernel.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_nonstd.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _nonstd.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_repl.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _repl.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_eval.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _eval.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_thread.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _thread.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_system.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _system.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "main.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL main.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_tty.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_tty.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "c_intf.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL c_intf.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_io.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_io.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "setup.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL setup.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "mem.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL mem.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_files.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_files.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_base.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_base.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_thread.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_thread.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_time.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_time.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_shell.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_shell.c -D___LIBRARY gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_dyn.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR=""/usr/local/Gambit-C"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin13.4.0"" -D___CONFIGURE_COMMAND=""./configure"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_dyn.c -D___LIBRARY rm -f libgambc.a libgambc.a libgambc.a ar rc libgambc.a main.o setup.o mem.o c_intf.o os.o os_base.o os_thread.o os_time.o os_shell.o os_files.o os_dyn.o os_tty.o os_io.o _kernel.o _system.o _num.o _std.o _eval.o _io.o _nonstd.o _thread.o _repl.o _gambc.o && ranlib libgambc.a if test "" != ""; then \ ln -s libgambc.a libgambc.a; \ ln -s libgambc.a libgambc.a; \ fi making all in gsi gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -o "gsi" _gsi.o _gsi_.o "../lib/libgambc.a" libgambcgsi.a making all in gsc gcc -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -o "gsc" _gsc.o _gsc_.o "../lib/libgambc.a" libgambcgsc.a making all in bin rm -f gambc-cc rm -f gambc-doc if test "" = ""; then \ cp gambc-doc.unix gambc-doc; \ chmod +x gambc-doc; \ else \ cp gambc-doc.bat.windows gambc-doc; \ fi if test "" = ""; then \ cp gambc-cc.unix gambc-cc; \ chmod +x gambc-cc; \ else \ cp gambc-cc.bat.windows gambc-cc; \ fi making all in misc making all in doc making all in tests making all in examples making all in distr-comp making all in pi making all in ring making all in web-repl making all in web-server making all in tcltk making all in Xlib-simple making all in pthread making all in misc making all in contrib making all in GambitREPL making all in prebuilt making all in macosx making all in windows making all in include making all in lib making all in gsi making all in gsc making all in bin making all in misc making all in doc making all in tests making all in examples making all in distr-comp making all in pi making all in ring making all in web-repl making all in web-server making all in tcltk making all in Xlib-simple making all in pthread making all in misc making all in contrib making all in GambitREPL making all in prebuilt making all in macosx making all in windows making install in include c_includedir=/usr/local/Gambit-C/include; \ i_includedir=/usr/local/Gambit-C/include; \ t_includedir=$i_includedir; \ major=`echo v4.7.3 | sed -e "s/v//g" -e "s/.[^.]*.[^.]*//g"`; \ minor=`echo v4.7.3 | sed -e "s/v[^.]*.//g" -e "s/.[^.]*//g"`; \ revision=`echo v4.7.3 | sed -e "s/v[^.]*.[^.]*.//g" -e "s///g"`; \ version_num=`eval expr "( 100000 \* $major ) + ( 1000 \* $minor ) + $revision"`; \ ../mkidirs $i_includedir; \ if test "no" = "yes"; then \ ../mkidirs $c_includedir; \ t_includedir=$c_includedir; \ fi; \ for file in gambit.h gambit-not$version_num.h; do \ ../install-sh -c -m 644 $file $t_includedir/$file; \ done; \ if test "$t_includedir" != "$i_includedir"; then \ r_includedir=`../relpath "$t_includedir" "$i_includedir" no`; \ for file in gambit.h gambit-not$version_num.h; do \ (cd $i_includedir && ln -s $r_includedir$file $file); \ done; \ fi mkdir /usr/local/Gambit-C/include mkdir: /usr/local/Gambit-C/include: Permission denied mkdir: /usr/local/Gambit-C/include: Permission denied cp: /usr/local/Gambit-C/include/#inst.93748#: No such file or directory mkdir: /usr/local/Gambit-C/include: Permission denied cp: /usr/local/Gambit-C/include/#inst.93758#: No such file or directory making install in lib c_libdir=/usr/local/Gambit-C/lib; \ i_libdir=/usr/local/Gambit-C/lib; \ t_libdir=$i_libdir; \ ../mkidirs $i_libdir; \ if test "no" = "yes"; then \ ../mkidirs $c_libdir; \ t_libdir=$c_libdir; \ fi; \ for file in _gambc.c "_kernel#.scm" "_system#.scm" "_num#.scm" "_std#.scm" "_eval#.scm" "_io#.scm" "_nonstd#.scm" "_thread#.scm" "_repl#.scm" "_gambit#.scm" "gambit#.scm" "r5rs#.scm" "r4rs#.scm" "digest#.scm" digest.scm syntax-case.scm; do \ ../install-sh -c -m 644 $file $t_libdir/$file; \ done; \ for file in libgambc.a; do \ ../install-sh -c -m 644 $file $t_libdir/$file; \ ranlib $t_libdir/$file; \ done; \ if test "" != ""; then \ (cd $t_libdir && ln -s libgambc.a libgambc.a && ln -s libgambc.a libgambc.a); \ fi; \ if test "$t_libdir" != "$i_libdir"; then \ r_libdir=`../relpath "$t_libdir" "$i_libdir" no`; \ for file in _gambc.c "_kernel#.scm" "_system#.scm" "_num#.scm" "_std#.scm" "_eval#.scm" "_io#.scm" "_nonstd#.scm" "_thread#.scm" "_repl#.scm" "_gambit#.scm" "gambit#.scm" "r5rs#.scm" "r4rs#.scm" "digest#.scm" digest.scm syntax-case.scm libgambc.a; do \ (cd $i_libdir && ln -s $r_libdir$file $file); \ done; \ fi mkdir /usr/local/Gambit-C/lib mkdir: /usr/local/Gambit-C/lib: Permission denied mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93781#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93791#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93801#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93811#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93821#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93831#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93841#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93851#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93861#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93871#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93881#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93891#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93901#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93911#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93921#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93931#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93941#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93951#: No such file or directory error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: can't open file: /usr/local/Gambit-C/lib/libgambc.a (No such file or directory) making install in gsi c_bindir=/usr/local/Gambit-C/bin; \ i_bindir=/usr/local/Gambit-C/bin; \ t_bindir=$i_bindir; \ c_libdir=/usr/local/Gambit-C/lib; \ i_libdir=/usr/local/Gambit-C/lib; \ t_libdir=$i_libdir; \ ../mkidirs $i_bindir $i_libdir; \ if test "no" = "yes"; then \ ../mkidirs $c_bindir $c_libdir; \ t_bindir=$c_bindir; \ t_libdir=$c_libdir; \ fi; \ ../install-sh -c -m 644 _gambcgsi.c $t_libdir/_gambcgsi.c; \ :; \ for file in libgambcgsi.a; do \ ../install-sh -c -m 644 $file $t_libdir/$file; \ ranlib $t_libdir/$file; \ done; \ if test "" != ""; then \ (cd $t_libdir && ln -s libgambcgsi.a libgambcgsi.a && ln -s libgambcgsi.a libgambcgsi.a); \ fi; \ :; \ ../install-sh -c -m 755 gsi $t_bindir/gsi; \ if test "$t_libdir" != "$i_libdir"; then \ r_libdir=`../relpath "$t_libdir" "$i_libdir" no`; \ for file in _gambcgsi.c libgambcgsi.a; do \ (cd $i_libdir && ln -s $r_libdir$file $file); \ done; \ fi; \ if test "$t_bindir" != "$i_bindir"; then \ r_bindir=`../relpath "$t_bindir" "$i_bindir" no`; \ for file in gsi; do \ (cd $i_bindir && ln -s $r_bindir$file $file); \ done; \ fi mkdir /usr/local/Gambit-C/bin mkdir: /usr/local/Gambit-C/bin: Permission denied mkdir /usr/local/Gambit-C/lib mkdir: /usr/local/Gambit-C/lib: Permission denied mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93979#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.93989#: No such file or directory error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: can't open file: /usr/local/Gambit-C/lib/libgambcgsi.a (No such file or directory) mkdir: /usr/local/Gambit-C/bin: Permission denied cp: /usr/local/Gambit-C/bin/#inst.94000#: No such file or directory making install in gsc c_bindir=/usr/local/Gambit-C/bin; \ i_bindir=/usr/local/Gambit-C/bin; \ t_bindir=$i_bindir; \ c_libdir=/usr/local/Gambit-C/lib; \ i_libdir=/usr/local/Gambit-C/lib; \ t_libdir=$i_libdir; \ ../mkidirs $i_bindir $i_libdir; \ if test "no" = "yes"; then \ ../mkidirs $c_bindir $c_libdir; \ t_bindir=$c_bindir; \ t_libdir=$c_libdir; \ fi; \ :; \ for file in _gambcgsc.c "_assert#.scm" "_asm#.scm" "_x86#.scm" "_codegen#.scm" ; do \ ../install-sh -c -m 644 $file $t_libdir/$file; \ done; \ for file in libgambcgsc.a; do \ ../install-sh -c -m 644 $file $t_libdir/$file; \ ranlib $t_libdir/$file; \ done; \ if test "" != ""; then \ (cd $t_libdir && ln -s libgambcgsc.a libgambcgsc.a && ln -s libgambcgsc.a libgambcgsc.a); \ fi; \ :; \ ../install-sh -c -m 755 gsc $t_bindir/gsc; \ if test "$t_libdir" != "$i_libdir"; then \ r_libdir=`../relpath "$t_libdir" "$i_libdir" no`; \ for file in _gambcgsc.c "_assert#.scm" "_asm#.scm" "_x86#.scm" "_codegen#.scm" libgambcgsc.a; do \ (cd $i_libdir && ln -s $r_libdir$file $file); \ done; \ fi; \ if test "$t_bindir" != "$i_bindir"; then \ r_bindir=`../relpath "$t_bindir" "$i_bindir" no`; \ for file in gsc; do \ (cd $i_bindir && ln -s $r_bindir$file $file); \ done; \ fi mkdir /usr/local/Gambit-C/bin mkdir: /usr/local/Gambit-C/bin: Permission denied mkdir /usr/local/Gambit-C/lib mkdir: /usr/local/Gambit-C/lib: Permission denied mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.94027#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.94037#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.94047#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.94057#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.94067#: No such file or directory mkdir: /usr/local/Gambit-C/lib: Permission denied cp: /usr/local/Gambit-C/lib/#inst.94077#: No such file or directory error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: can't open file: /usr/local/Gambit-C/lib/libgambcgsc.a (No such file or directory) mkdir: /usr/local/Gambit-C/bin: Permission denied cp: /usr/local/Gambit-C/bin/#inst.94088#: No such file or directory making install in bin c_bindir=/usr/local/Gambit-C/bin; \ i_bindir=/usr/local/Gambit-C/bin; \ t_bindir=$i_bindir; \ ../mkidirs $i_bindir; \ if test "no" = "yes"; then \ ../mkidirs $c_bindir; \ t_bindir=$c_bindir; \ fi; \ for file in six gsi-script six-script scheme-srfi-0 scheme-r5rs scheme-r4rs scheme-ieee-1178-1990 gsc-script; do \ rm -f $t_bindir/$file $t_bindir/$file.lnk; \ done; \ for file in gambc-cc gambc-doc; do \ ../install-sh -c -m 755 $file $t_bindir/$file; \ done; \ if test "" = ""; then \ for file in six gsi-script six-script scheme-srfi-0 scheme-r5rs scheme-r4rs scheme-ieee-1178-1990; do \ (cd $t_bindir && ln -s gsi $file); \ done; \ for file in gsc-script; do \ (cd $t_bindir && ln -s gsc $file); \ done; \ else \ for file in six gsi-script six-script scheme-srfi-0 scheme-r5rs scheme-r4rs scheme-ieee-1178-1990 gsc-script; do \ ../install-sh -c -m 755 $file $t_bindir/$file; \ done; \ fi; \ if test "$t_bindir" != "$i_bindir"; then \ r_bindir=`../relpath "$t_bindir" "$i_bindir" no`; \ for file in six gsi-script six-script scheme-srfi-0 scheme-r5rs scheme-r4rs scheme-ieee-1178-1990 gsc-script; do \ rm -f $i_bindir/$file $i_bindir/$file.lnk; \ done; \ for file in gambc-cc gambc-doc six gsi-script six-script scheme-srfi-0 scheme-r5rs scheme-r4rs scheme-ieee-1178-1990 gsc-script; do \ (cd $i_bindir && ln -s $r_bindir$file $file); \ done; \ fi mkdir /usr/local/Gambit-C/bin mkdir: /usr/local/Gambit-C/bin: Permission denied mkdir: /usr/local/Gambit-C/bin: Permission denied cp: /usr/local/Gambit-C/bin/#inst.94119#: No such file or directory mkdir: /usr/local/Gambit-C/bin: Permission denied cp: /usr/local/Gambit-C/bin/#inst.94129#: No such file or directory /bin/sh: line 0: cd: /usr/local/Gambit-C/bin: No such file or directory /bin/sh: line 0: cd: /usr/local/Gambit-C/bin: No such file or directory /bin/sh: line 0: cd: /usr/local/Gambit-C/bin: No such file or directory /bin/sh: line 0: cd: /usr/local/Gambit-C/bin: No such file or directory /bin/sh: line 0: cd: /usr/local/Gambit-C/bin: No such file or directory /bin/sh: line 0: cd: /usr/local/Gambit-C/bin: No such file or directory /bin/sh: line 0: cd: /usr/local/Gambit-C/bin: No such file or directory /bin/sh: line 0: cd: /usr/local/Gambit-C/bin: No such file or directory making install in misc c_emacsdir=/usr/local/Gambit-C/share/emacs/site-lisp; \ i_emacsdir=/usr/local/Gambit-C/share/emacs/site-lisp; \ t_emacsdir=$i_emacsdir; \ ../mkidirs $i_emacsdir; \ if test "no" = "yes"; then \ ../mkidirs $c_emacsdir; \ t_emacsdir=$c_emacsdir; \ fi; \ for file in gambit.el; do \ ../install-sh -c -m 644 $file $t_emacsdir/$file; \ done; \ if test "$t_emacsdir" != "$i_emacsdir"; then \ r_emacsdir=`../relpath "$t_emacsdir" "$i_emacsdir" no`; \ for file in gambit.el; do \ (cd $i_emacsdir && ln -s $r_emacsdir$file $file); \ done; \ fi mkdir /usr/local/Gambit-C/share mkdir: /usr/local/Gambit-C/share: Permission denied mkdir /usr/local/Gambit-C/share/emacs mkdir: /usr/local/Gambit-C/share: No such file or directory mkdir /usr/local/Gambit-C/share/emacs/site-lisp mkdir: /usr/local/Gambit-C/share/emacs: No such file or directory mkdir: /usr/local/Gambit-C/share: Permission denied mkdir: /usr/local/Gambit-C/share: No such file or directory mkdir: /usr/local/Gambit-C/share/emacs: No such file or directory cp: /usr/local/Gambit-C/share/emacs/site-lisp/#inst.94162#: No such file or directory making install in doc c_docdir=/usr/local/Gambit-C/doc; \ i_docdir=/usr/local/Gambit-C/doc; \ t_docdir=$i_docdir; \ c_infodir=/usr/local/Gambit-C/info; \ i_infodir=/usr/local/Gambit-C/info; \ t_infodir=$i_infodir; \ c_mandir=/usr/local/Gambit-C/doc/man/man1; \ i_mandir=/usr/local/Gambit-C/share/man/man1; \ t_mandir=$i_mandir; \ ../mkidirs $i_docdir $i_infodir $i_mandir; \ if test "no" = "yes"; then \ ../mkidirs $c_docdir $c_infodir $c_mandir; \ t_docdir=$c_docdir; \ t_infodir=$c_infodir; \ t_mandir=$c_mandir; \ fi; \ for file in gambit-c.pdf gambit-c*.html gambit-c.txt; do \ ../install-sh -c -m 644 $file $t_docdir/$file; \ done; \ for file in gambit-c.info*; do \ ../install-sh -c -m 644 $file $t_infodir/$file; \ done; \ for file in gsi.1; do \ ../install-sh -c -m 644 $file $t_mandir/$file; \ done; \ if test "" = ""; then \ if test "$t_docdir" != "$i_docdir"; then \ r_docdir=`../relpath "$t_docdir" "$i_docdir" no`; \ for file in gambit-c.pdf gambit-c*.html gambit-c.txt; do \ (cd $i_docdir && ln -s $r_docdir$file $file); \ done; \ fi; \ if test "$t_infodir" != "$i_infodir"; then \ r_infodir=`../relpath "$t_infodir" "$i_infodir" no`; \ for file in gambit-c.info*; do \ (cd $i_infodir && ln -s $r_infodir$file $file); \ done; \ fi; \ if test "$t_mandir" != "$i_mandir"; then \ r_mandir=`../relpath "$t_mandir" "$i_mandir" no`; \ for file in gsi.1; do \ (cd $i_mandir && ln -s $r_mandir$file $file); \ done; \ fi; \ fi mkdir /usr/local/Gambit-C/doc mkdir: /usr/local/Gambit-C/doc: Permission denied mkdir /usr/local/Gambit-C/info mkdir: /usr/local/Gambit-C/info: Permission denied mkdir /usr/local/Gambit-C/share mkdir: /usr/local/Gambit-C/share: Permission denied mkdir /usr/local/Gambit-C/share/man mkdir: /usr/local/Gambit-C/share: No such file or directory mkdir /usr/local/Gambit-C/share/man/man1 mkdir: /usr/local/Gambit-C/share/man: No such file or directory mkdir: /usr/local/Gambit-C/doc: Permission denied cp: /usr/local/Gambit-C/doc/#inst.94197#: No such file or directory mkdir: /usr/local/Gambit-C/doc: Permission denied cp: /usr/local/Gambit-C/doc/#inst.94207#: No such file or directory mkdir: /usr/local/Gambit-C/doc: Permission denied cp: /usr/local/Gambit-C/doc/#inst.94217#: No such file or directory mkdir: /usr/local/Gambit-C/info: Permission denied cp: /usr/local/Gambit-C/info/#inst.94227#: No such file or directory mkdir: /usr/local/Gambit-C/info: Permission denied cp: /usr/local/Gambit-C/info/#inst.94237#: No such file or directory mkdir: /usr/local/Gambit-C/info: Permission denied cp: /usr/local/Gambit-C/info/#inst.94247#: No such file or directory mkdir: /usr/local/Gambit-C/share: Permission denied mkdir: /usr/local/Gambit-C/share: No such file or directory mkdir: /usr/local/Gambit-C/share/man: No such file or directory cp: /usr/local/Gambit-C/share/man/man1/#inst.94257#: No such file or directory making install in tests making install in examples making all in distr-comp making all in pi making all in ring making all in web-repl making all in web-server making all in tcltk making all in Xlib-simple making all in pthread making all in misc making install in distr-comp making install in pi making install in ring making install in web-repl making install in web-server making install in tcltk making install in Xlib-simple making install in pthread making install in misc making install in contrib making all in GambitREPL making install in GambitREPL making install in prebuilt making all in macosx making all in windows making install in macosx making install in windows if test "no" = "yes"; then \ if test "" = ""; then \ ./mkidirs /usr/local/Gambit-C; \ rm -f /usr/local/Gambit-C/../current \ /usr/local/Gambit-C/../current.lnk; \ (cd /usr/local/Gambit-C/.. && ln -s v4.7.3 current); \ fi; \ fi ../../misc/build-gambit-iOS: line 185: cd: /Users/lucier/programs/gambit/gambit/contrib/GambitREPL/gambit-iOS/current/lib: No such file or directory ls: *.a: No such file or directory *** Selecting platform "iPhoneSimulator.platform" and SDK "iPhoneSimulator8.0.sdk" for "x86_64". tar (child): gambc-v4_7_3.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now mv: rename gambc-v4_7_3 to /Users/lucier/programs/gambit/gambit-iOS: No such file or directory ../../misc/build-gambit-iOS: line 133: cd: /Users/lucier/programs/gambit/gambit-iOS: No such file or directory ../../misc/build-gambit-iOS: line 134: ./configure: No such file or directory ../../misc/build-gambit-iOS: line 142: cd: /Users/lucier/programs/gambit/gambit-iOS: No such file or directory make[1]: *** No rule to make target `clean'. Stop. ../../misc/build-gambit-iOS: line 155: cd: lib: No such file or directory make[1]: *** No targets specified and no makefile found. Stop. make: *** [gambit-iOS] Error 1 [Media-Mac-mini-3:gambit/contrib/GambitREPL] lucier%
On Oct 10, 2014, at 9:05 PM, Bradley Lucier lucier@math.purdue.edu wrote:
On Oct 10, 2014, at 9:01 PM, Marc Feeley feeley@iro.umontreal.ca wrote:
Hmmm… are you sure you did
cd contrib/GambitREPL make ios
because the error messages don’t seem to indicate you were in the right directory (note that my previous message incorrectly had a dash in the name GambitREPL, so maybe your “cd” failed).
Here’s the entire log:
It seems that the file gambit-c.info-3 is missing and this is causing the “make dist” to fail. I don’t know why it is not being generated on your system. As a quick fix you could “touch doc/gambit-c.info-3” and try again.
Marc
On Oct 10, 2014, at 9:27 PM, Marc Feeley feeley@iro.umontreal.ca wrote:
It seems that the file gambit-c.info-3 is missing and this is causing the “make dist” to fail. I don’t know why it is not being generated on your system. As a quick fix you could “touch doc/gambit-c.info-3” and try again.
I tried it again with a clean build and again doc/gambit-c.info-3 wasn’t built on my system.
Maybe the scripts need to be a bit more robust.
Brad
On Oct 10, 2014, at 1:38 PM, Bradley Lucier lucier@math.purdue.edu wrote:
Marc:
Can you remind me briefly how to build Gambit for iOS?
In case you haven’t seen it, let me direct you to the great blog post by Axis Sivitz on how to build Gambit for iOS (http://asivitz.com/posts/running_gambit_scheme_on_ios).
Marc