guile-devel
[Top][All Lists]
Advanced

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

Guile 2.2 on MSYS2 + MinGW


From: Matthew Keeter
Subject: Guile 2.2 on MSYS2 + MinGW
Date: Tue, 16 Jan 2018 17:50:58 -0500

I’m dipping my toe into the tarpit of making a native Windows build for Guile 2.2,
using msys2 (http://www.msys2.org/).  My efforts are here:
    https://github.com/mkeeter/guile-mingw

So far, I’ve adapted or created a handful of patches, and have successfully
built guile.exe.  The build is failing after this point, when it tries to build the
documentation (?):

make[3]: Entering directory '/home/mkeeter/guile/src/build-x86_64-w64-mingw32/libguile'
  GEN      guile-procedures.texi
Backtrace:
           0 (primitive-load-path "C:/msys64/home/mkeeter/guile/src/▒")

ERROR: In procedure primitive-load-path:
ERROR: In procedure primitive-load-path: Unable to find file "C:/msys64/home/mkeeter/guile/src/build-x86_64-w64-mingw32/libguile/C:/msys64/home/mkeeter/guile/src/build-x86_64-w64-mingw32/meta/guild" in load path

Does anyone have tips for why primitive-load-path would be failing like this?

Thanks,
Matt

p.s.  I’d prefer to focus on one issue at a time, but in case you’re wondering, the guile.exe
that it has built is… eccentric.  To get anywhere, I have to run it with auto-compilation turned off,
and even then, it’s non-functional:

address@hidden MINGW64 ~/guile/src/build-x86_64-w64-mingw32
$ GUILE_AUTO_COMPILE=0 ./meta/build-env guile
GNU Guile 2.2.0
Copyright (C) 1995-2017 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (+ 1 2)
While compiling _expression_:
ERROR: In procedure bytevector-u64-set!: Value out of range: -149659645

reply via email to

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