default type-database 'types.db' not found

Issue #4 open
svnpenn created an issue

Using this file:

(display "Sunday")
(newline)

I get this:

$ chicken.exe str.scm
Error: default type-database `types.db' not found

Comments (2)

  1. Răzvan Rotaru repo owner
    • changed status to open

    I found the problem, but I'm not sure how it can be solved. I hope the chicken team can provide some insight.

    You can set the environment variable CHICKEN_REPOSITORY_PATH to <install-dir>\lib\chicken\11.

    This should work:

    set CHICKEN_REPOSITORY_PATH=%CHICKEN_PREFIX%\lib\chicken\11
    

    or use your install folder directly:

    set CHICKEN_REPOSITORY_PATH=C:\Program Files (x86)\Chicken Scheme\lib\chicken\11
    

    However the problem is bigger. Other tools seem to be broken as well:

    D:\tmp\chicken>csc test.scm
    The system cannot find the path specified.
    
    Error: shell command terminated with non-zero exit status 1: ""c:/chicken/bin/chicken.exe" "test.scm" -output-file "test.c""
    

    From what environment are you calling chicken.exe, it does not seem to be the Windows Command Line?

  2. Log in to comment