[gambit-list] failure building r6gambit

Bradley Lucier lucier at math.purdue.edu
Mon Nov 29 19:20:03 EST 2010


On Mon, 2010-11-29 at 17:41 -0500, Bradley Lucier wrote:

> Any suggestions?  For example, should the environment contain my path?

Bingo! I changed the definition of env in gambc-cc (found in
primitives.scm) to

  (let ((env (append 
	      (list 
	       (envar 'GAMBCDIR_INCLUDE include: (path-expand "~~include"))
	       (envar 'BUILD_DYN_OUTPUT_FILENAME output: "")
	       (envar 'BUILD_DYN_CC_OPTIONS cc-options: "")
	       (envar 'BUILD_DYN_LD_OPTIONS_PRELUDE ld-options-prelude: "")
	       (envar 'BUILD_DYN_LD_OPTIONS ld-options: "")
	       (envar 'BUILD_DYN_INPUT_FILENAMES input-files: '())
	       (envar 'GAMBC_CC_VERBOSE verbose: ""))
	      (get-environment 'LIBRARY_PATH 'CPATH 'PATH))))

and it built.

Brad




More information about the Gambit-list mailing list