chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choco : csc complains about "Error: default type-database `types.db'


From: Vasilij Schneidermann
Subject: Re: choco : csc complains about "Error: default type-database `types.db' not found"
Date: Wed, 1 Apr 2020 15:38:27 +0200

Hello Jo,

I can reproduce the issue with a fresh VM.  It appears that the chocolatey
package is completely broken as I cannot even do something as simple as
evaluating `(load (chicken io))` in a `csi` session, let alone compile files
(there is no C toolchain included in the dependencies).

Now, what you can do is a manual installation using the mingw64-msys2 package
installed as a dependency:

- Execute `mingw64` from a `cmd` session
- Execute the following commands in that window:

    pacman -S mingw-w64-x86_64-toolchain make curl winpty
    curl -LO https://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz
    tar -xf chicken-5.2.0.tar.gz
    cd chicken-5.2.0
    make PLATFORM=mingw-msys PREFIX=C:/tools/chicken-5.2.0
    make PLATFORM=mingw-msys PREFIX=C:/tools/chicken-5.2.0 install
    echo 'export PATH=/c/tools/chicken-5.2.0/bin:$PATH' >> ~/.bash_profile
    export PATH=/c/tools/chicken-5.2.0/bin:$PATH

You can now execute `winpty csi` to spawn a `csi` session and compile Scheme
files with `csc`.

Vasilij

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]