chicken-users
[Top][All Lists]
Advanced

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

Re: Installing Chicken 5.2.0 on Windows - chicken-install -update-db han


From: Mark Fisher
Subject: Re: Installing Chicken 5.2.0 on Windows - chicken-install -update-db hanging
Date: Wed, 25 Aug 2021 20:34:47 +0100

I just can't get this working.

I've finally been able to get chicken installed and working, but I had to pretend to be cygwin.
I think there's errors in the mingw-msys Makefile, or my assumptions about it are wrong.
I would expect:
  - "Makefile.mingw" to produce files for MingW64 in a windows cmd shell
  - "Makefile.mingw-msys" to produce files for MingW64 in msys2 shells (bash etc with unix paths)
  - "Makefile.cygwin" to require some kind of cygwin setup, which I don't have

I found this site: https://github-wiki-see.page/m/accidentalrebel/rebel-game-engine/wiki/Building-and-running-the-engine-for-Windows-%28using-Msys2%29

This time, I compiled under an MSYS shell (not MingW64)

    $ make PLATFORM=cygwin install

I still needed at least a chicken.exe from the previous installs I did, but it compiled and installed fine.
It also was able to install an egg:

    $ chicken-install uri-common
    fetching uri-common
    fetching uri-generic
    ...
    installing uri-common

which subsequently works in a csi shell:

    #;2> (import uri-common)
    ; loading /usr/local/lib/chicken/11/uri-common.import.so ...
    ; ...
    #;3> (uri->string (update-uri (uri-reference "") path: '("example" "greeting") query: '((hi . "there"))))
    "example/greeting?hi=there"

So I finally have an install that honours the unix paths.

In the MSYS shell, my versions are:

$ uname -a
MSYS_NT-10.0-19043 teeny 3.2.0-340.x86_64 2021-08-02 16:30 UTC x86_64 Msys

$ make --version
GNU Make 4.3
Built for x86_64-pc-msys

$ gcc --version
gcc (GCC) 10.2.0



reply via email to

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