unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Matthew Keeter <matt.j.keeter@gmail.com>
To: guile-devel@gnu.org
Subject: Guile 2.2 on MSYS2 + MinGW
Date: Tue, 16 Jan 2018 17:50:58 -0500	[thread overview]
Message-ID: <07B6825B-EB62-47B1-957C-2ACB69671AD8@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]

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

mkeeter@MATTHEWKEETA8AA 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

[-- Attachment #2: Type: text/html, Size: 5438 bytes --]

             reply	other threads:[~2018-01-16 22:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 22:50 Matthew Keeter [this message]
2018-01-17 15:54 ` Guile 2.2 on MSYS2 + MinGW Eli Zaretskii
2018-01-17 22:30   ` Matthew Keeter
2018-01-18 14:09     ` Eli Zaretskii
2018-01-18 15:18       ` Matthew Keeter
2018-01-18 16:00         ` Eli Zaretskii
2018-01-24  2:18           ` Matthew Keeter
2018-01-24 18:57             ` Eli Zaretskii
2018-01-25 14:54               ` Matthew Keeter
2018-01-25 17:22                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=07B6825B-EB62-47B1-957C-2ACB69671AD8@gmail.com \
    --to=matt.j.keeter@gmail.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).