Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error trying to build #12

Open
scottcarr opened this issue Apr 2, 2013 · 5 comments
Open

error trying to build #12

scottcarr opened this issue Apr 2, 2013 · 5 comments

Comments

@scottcarr
Copy link

Hi, I've read a few wavescript papers. I think it's pretty interesting so I wanted to try it out. I'm running into an error when I try to build it. My setup is: Ubuntu 12.10 with Racket and Ikarus installed from apt-get. This is what I tried:

git clone git://github.com/rrnewton/WaveScript.git
cd Wavescript
source install_environment_vars
cd src
make

I get the error:

BUILDING COMPILER

make[1]: Entering directory /home/carr27/WaveScript/src' ./experimental/r6make.ss regiment.ss env var CHEZD was not set to an existing directory! make[1]: *** [chezincr] Error 255 make[1]: Leaving directory/home/carr27/WaveScript/src'
==== FALLING BACK TO IKARUS ====
make[1]: Entering directory `/home/carr27/WaveScript/src'
ikarus -O2 --compile-dependencies regiment.ss
Unhandled exception:
Condition components:

  1. &who: ik:include
  2. &message: "unbound identifier"
  3. &undefined
  4. &source-position:
    file-name: "./ws/compat/compat.ikarus.sls"
    character: 2936
  5. &trace: #<syntax ik:include [char 2936 of ./ws/compat/compat.ikarus.sls]>
    make[1]: *** [ikarus] Error 255
    make[1]: Leaving directory `/home/carr27/WaveScript/src'
    make: *** [default] Error 2

Do you have an idea what the problem might be? Do I have to use Ikarus or can I build it with Racket?

Thanks.


Full make output for reference:

BUILDING PARSER

make wsparse
make[1]: Entering directory /home/carr27/WaveScript/src' mzc -z --auto-dir parser/*.ss 16 shift/reduce conflicts echo '#!/bin/bash' > bin/wsparse chmod +x bin/wsparse echo 'sourcedirname $0/assert_regimentd' >> bin/wsparse echo 'mzscheme -qu "$REGIMENTD/src/parser/wsparse.ss" $*' >> bin/wsparse make[1]: Leaving directory/home/carr27/WaveScript/src'

GENERATING AGGREGATE LIBRARIES

make aggregated
make[1]: Entering directory /home/carr27/WaveScript/src' rm -f ws/common.sls main_r6rs.sls make ws/common.sls main_r6rs.sls make[2]: Entering directory/home/carr27/WaveScript/src'
ikarus --r6rs-script ./generate_main_r6rs.ss common_import_list.sexp R6PATH ws common
command line arguments: ("./generate_main_r6rs.ss" "common_import_list.sexp" "R6PATH" "ws" "common")
imports/output: ("common_import_list.sexp" (ws common))
Reading ./ws/compat/compat
Reading ./ws/globals
Reading ./ws/util/hashtab
Reading ./ws/util/iu-match
Reading ./ws/util/reg_macros
Reading ./ws/util/helpers
Reading ./ws/util/streams
Reading ./ws/compiler_components/prim_defs
Reading ./ws/compiler_components/regiment_helpers
Reading ./ws/compiler_components/type_environments
Reading ./ws/compiler_components/reg_core_generic_traverse
Reading ./ws/compiler_components/hm_type_inference
Reading ./ws/grammars/grammar_checker
Reading ./ws/passes/pass-mechanism_basic
Reading ./ws/passes/pass-mechanism
File written: ./ws/common
ikarus --r6rs-script ./generate_main_r6rs.ss
command line arguments: ("./generate_main_r6rs.ss")
imports/output: ("main_r6rs_import_list.sexp" (main_r6rs))
Reading ./ws/common
Reading ./ws/util/scheme_fft
Reading ./ws/util/slib_fft
Reading ./ws/util/fft
Reading ./ws/util/tsort
Reading ./ws/util/hash
Reading ./ws/util/slib_hashtab
Reading ./ws/util/bos_oop
Reading ./ws/util/imperative_streams
Reading ./ws/compiler_components/annotations
Reading ./ws/compiler_components/c_generator
Reading ./ws/compiler_components/source_loader
Reading ./ws/passes/small-ws-passes
Reading ./ws/passes/partition-graph
Reading ./ws/passes/graphviz
Reading ./depends/matpak
Reading ./ws/langs/lang_wavescript
Reading ./ws/testing/lang_wavescript_tests
Reading ./ws/sim/wavescript_sim_library_push
Reading ./ws/passes/normalize_source/verify-regiment
Reading ./ws/passes/normalize_source/typecheck
Reading ./ws/passes/normalize_source/desugar-pattern-matching
Reading ./ws/passes/normalize_source/resolve-varrefs
Reading ./ws/passes/normalize_source/ws-label-mutable
Reading ./ws/passes/normalize_source/rename-vars
Reading ./ws/passes/normalize_source/eta-primitives
Reading ./ws/passes/normalize_source/desugar-misc
Reading ./ws/passes/normalize_source/remove-unquoted-constant
Reading ./ws/passes/static_elaborate/static-elaborate
Reading ./ws/passes/normalize_query/reduce-primitives
Reading ./ws/passes/normalize_query/records-to-tuples
Reading ./ws/passes/normalize_query/ws-remove-letrec
Reading ./ws/passes/normalize_query/ws-remove-complex-opera
Reading ./ws/passes/normalize_query/ws-lift-let
Reading ./ws/passes/normalize_query/remove-complex-constant
Reading ./ws/passes/normalize_query/uncover-free
Reading ./ws/passes/normalize_query/lift-letrec
Reading ./ws/passes/normalize_query/lift-letrec-body
Reading ./ws/passes/normalize_query/remove-lazy-letrec
Reading ./ws/passes/normalize_query/verify-core
Reading ./ws/passes/normalize_query/ws-normalize-context
Reading ./ws/passes/static_elaborate/interpret-meta
Reading ./ws/passes/static_elaborate/degeneralize-arithmetic
Reading ./ws/passes/static_elaborate/verify-elaborated
Reading ./ws/passes/static_elaborate/split-union-types
Reading ./ws/passes/optimizations/smoosh-together
Reading ./ws/passes/optimizations/rewrite_opts
Reading ./ws/passes/optimizations/merge-iterates
Reading ./ws/passes/optimizations/merge-iterates2
Reading ./ws/passes/optimizations/simple-merge-iterates
Reading ./ws/passes/wavescope_bkend/nominalize-types
Reading ./ws/passes/wavescope_bkend/convert-sums-to-tuples
Reading ./ws/passes/wavescope_bkend/reify-certain-types
Reading ./ws/passes/wavescope_bkend/type-annotate-misc
Reading ./ws/passes/wavescope_bkend/flatten-iterate-spine
Reading ./ws/passes/wavescope_bkend/anihilate-higher-order
Reading ./ws/passes/wavescope_bkend/explicit-stream-wiring
Reading ./ws/passes/wavescope_bkend/emit-c
Reading ./ws/passes/wavescope_bkend/insert-refcounts
Reading ./ws/passes/wavescope_bkend/emit-c2
Reading ./ws/passes/wavescope_bkend/emit-tbb
Reading ./ws/passes/wavescope_bkend/emit-tinyos
Reading ./ws/passes/wavescope_bkend/emit-java
Reading ./ws/passes/ocaml_bkend/shared-emit-ml
Reading ./ws/passes/ocaml_bkend/emit-caml
Reading ./ws/passes/mlton_bkend/emit-mlton
Reading ./ws/passes/analyze_data_rates/annotate-with-data-rates
File written: ./main_r6rs
make[2]: Leaving directory /home/carr27/WaveScript/src' make[1]: Leaving directory/home/carr27/WaveScript/src'

BUILDING COMPILER

make[1]: Entering directory /home/carr27/WaveScript/src' ./experimental/r6make.ss regiment.ss env var CHEZD was not set to an existing directory! make[1]: *** [chezincr] Error 255 make[1]: Leaving directory/home/carr27/WaveScript/src'
==== FALLING BACK TO IKARUS ====
make[1]: Entering directory `/home/carr27/WaveScript/src'
ikarus -O2 --compile-dependencies regiment.ss
Unhandled exception:
Condition components:

  1. &who: ik:include
  2. &message: "unbound identifier"
  3. &undefined
  4. &source-position:
    file-name: "./ws/compat/compat.ikarus.sls"
    character: 2936
  5. &trace: #<syntax ik:include [char 2936 of ./ws/compat/compat.ikarus.sls]>
    make[1]: *** [ikarus] Error 255
    make[1]: Leaving directory `/home/carr27/WaveScript/src'
    make: *** [default] Error 2
@ivertan
Copy link

ivertan commented Nov 20, 2013

i am having the same problem

@ivertan
Copy link

ivertan commented Nov 20, 2013

i am having the same problem and i urgently need the solution could anyone tell me solution to for this unhandled exception

@meiyuan
Copy link
Collaborator

meiyuan commented Nov 20, 2013

hi, it seems the problem of CHEZD
you should set CHEZD to where you install chez

@ivertan
Copy link

ivertan commented Nov 20, 2013

in my .bashrc i set CHEZD=$HOME/Desktop/Wavescript-master/depends but the error i am now getting is:
make[1]: Entering directory /home/everton/Desktop/WaveScript-master/src' ./experimental/r6make.ss regiment.ss /home/everton/Desktop/WaveScript-master/depends/chez: line 27: /home/everton/Desktop/WaveScript-master/depends/bin/ta6le/scheme: No such file or directory make[1]: *** [chezincr] Error 127 make[1]: Leaving directory/home/everton/Desktop/WaveScript-master/src'
==== FALLING BACK TO IKARUS ====
make[1]: Entering directory `/home/everton/Desktop/WaveScript-master/src'
ikarus -O2 --compile-dependencies regiment.ss
Unhandled exception:
Condition components:

  1. &who: ik:include
  2. &message: "unbound identifier"
  3. &undefined
  4. &source-position:
    file-name: "./ws/compat/compat.ikarus.sls"
    character: 2936
  5. &trace: #<syntax ik:include [char 2936 of ./ws/compat/compat.ikarus.sls]>
    make[1]: *** [ikarus] Error 255
    make[1]: Leaving directory `/home/everton/Desktop/WaveScript-master/src'
    make: *** [default] Error 2

@ivertan
Copy link

ivertan commented Nov 22, 2013

in my .bashrc i set CHEZD=$HOME/Desktop/Wavescript-master/depends but the
error i am now getting is:
make[1]: Entering directory /home/everton/Desktop/WaveScript-master/src'
./experimental/r6make.ss regiment.ss
/home/everton/Desktop/WaveScript-master/depends/chez: line 27:
/home/everton/Desktop/WaveScript-master/depends/bin/ta6le/scheme: No such
file or directory
make[1]: *** [chezincr] Error 127
make[1]: Leaving directory/home/everton/Desktop/WaveScript-master/src'
==== FALLING BACK TO IKARUS ====
make[1]: Entering directory `/home/everton/Desktop/WaveScript-master/src'
ikarus -O2 --compile-dependencies regiment.ss
Unhandled exception:
Condition components:

  1. &who: ik:include
  2. &message: "unbound identifier"
  3. &undefined
  4. &source-position: file-name: "./ws/compat/compat.ikarus.sls"
    character: 2936
  5. &trace: # make[1]: *** [ikarus] Error 255 make[1]: Leaving directory
    `/home/everton/Desktop/WaveScript-master/src' make: *** [default] Error 2

On Wed, Nov 20, 2013 at 4:40 PM, meiyuan [email protected] wrote:

hi, it seems the problem of CHEZD
you should set CHEZD to where you install chez


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-28933860
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants