bcardiff / icrystal

Jupyter kernel for the Crystal language
MIT License
11 stars 1 forks source link

Compile time error #1

Closed alexkutsan closed 1 year ago

alexkutsan commented 1 year ago

Hello,

May be there is some my local problem or misconfiguration.

make -C ./lib/crystal-repl-server ../../bin/crystal-repl-server BINDIR=../../bin CRYSTAL=crystal CRYSTAL_CONFIG_PATH="lib:/usr/bin/../share/crystal/src" CRYSTAL_CONFIG_LIBRARY_PATH="/usr/bin/../lib/crystal"
make[1]: Entering directory '/home/developer/icrystal/lib/crystal-repl-server'
mkdir -p ../../bin
CRYSTAL_CONFIG_PATH="lib:/usr/bin/../share/crystal/src" CRYSTAL_CONFIG_LIBRARY_PATH="/usr/bin/../lib/crystal" crystal build  src/server/cli.cr -o ../../bin/crystal-repl-server
Showing last frame. Use --error-trace for full trace.

In src/compiler/no_vendor_requires.cr:82:1

 82 | require "compiler/crystal/tools/dependencies"
      ^
Error: can't find file 'compiler/crystal/tools/dependencies'

I am using crystal Crystal 1.8.2. Is it suitable version? Or I should use newer one? Should I have cloned crystal compiler sources.

alexkutsan commented 1 year ago

Yep, looks like it was a problem of my crystal version, I have tried with Crystal 1.10.1 and it works