From: Eli Zaretskii <eliz@gnu.org>
To: Panicz Maciej Godek <godek.maciek@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: guile-2.0 on mingw: the sequel
Date: Fri, 23 Aug 2013 13:16:43 +0300 [thread overview]
Message-ID: <83li3siues.fsf@gnu.org> (raw)
In-Reply-To: <CAMFYt2bvYrmYtwJTo-iUObTZNio=raesW7YgZZCs2zEj5yNTsw@mail.gmail.com>
> Date: Fri, 23 Aug 2013 11:29:27 +0200
> From: Panicz Maciej Godek <godek.maciek@gmail.com>
> Cc: "guile-user@gnu.org" <guile-user@gnu.org>
>
> When I enter the build directory and type
> $ find ./ -name '*.go'
> it seems that every .scm file from `modules' directory has its .go
> counterpart,
Are they also present in the tree where you installed Guile after
building it?
> I ./configured with --prefix=/usr (which is at the same mount point
> as / on my mingw configuration). When it comes to make install,
> I don't know what TRT would be
Configuring with --prefix=/usr is a mistake: there's no /usr on your
system, as far as MinGW programs are concerned.
You need to understand the difference between MinGW and MSYS programs
and their respective setups. MSYS, like Cygwin, emulates a Posix
system, so it supports /usr etc. It does so by mounting some Windows
directory (in your case, it seems to be C:/MinGW) as /. But the Guile
you compiled is _not_ an MSYS program, it is a native Windows program,
so it doesn't know about this mount. Since the build process records
the /usr prefix in the binary, the resulting Guile executables will
look for their files starting from the /usr directory on the current
drive, and that directory doesn't exist.
You need to reconfigure Guile with --prefix=c:/MinGW (assuming that is
where you want your installation tree to be rooted), and then rebuild
everything. I would suggest "make distclean" followed by a new
configure command with the right prefix and then "make" and "make
install".
> gc-7.2d compiled from the source from Hans Boehm's web site
> (I don't remember whether I finally configured it with pthreads
> or with windows threads, but I tried both for sure),
> gmp-5.2.1 from the source (I think it is shared version),
> libffi-3.0.13 from the source
> libunistring-0.9.3 from the source
> libiconv-1.14 and a few others bundled with mingw
> Everything built from the source was configured with --prefix=/usr
See above: you will therefore need to reconfigure and rebuild those as
well, using the correct Windows absolute directory name as prefix.
> Both / and /usr point to C:\MinGW\
Right, and this is the source of your problems.
> And would it be possible to distribute the binary release somehow?
> (in particular, the libguile.dll + scm/go modules that would be loaded
> from current directory)
Yes, it should be possible. What I usually do for that install to a
separate empty directory, like this:
make install prefix=d:/test
(you can use any other empty directory as value of "prefix"), then
create a tarball or a zip file from everything under d:/test.
next prev parent reply other threads:[~2013-08-23 10:16 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-22 20:25 guile-2.0 on mingw: the sequel Panicz Maciej Godek
2013-08-23 6:38 ` Eli Zaretskii
2013-08-23 9:29 ` Panicz Maciej Godek
2013-08-23 10:16 ` Eli Zaretskii [this message]
2013-08-23 20:14 ` Panicz Maciej Godek
2013-08-24 6:31 ` Eli Zaretskii
2013-08-24 8:05 ` Panicz Maciej Godek
2013-08-25 15:26 ` Eli Zaretskii
2013-08-25 16:59 ` Mark H Weaver
2013-08-25 17:47 ` Eli Zaretskii
2013-08-25 19:03 ` Ludovic Courtès
2013-08-25 19:34 ` Mark H Weaver
2013-08-27 21:51 ` Panicz Maciej Godek
2013-08-26 13:28 ` Eli Zaretskii
2013-08-23 15:13 ` Mark H Weaver
2013-08-23 15:34 ` Eli Zaretskii
2013-08-25 18:59 ` Ludovic Courtès
2013-08-25 21:19 ` Mark H Weaver
2013-08-26 2:35 ` Eli Zaretskii
2013-08-25 19:50 ` Mark H Weaver
2013-08-25 19:56 ` Mark H Weaver
2013-08-25 20:33 ` Eli Zaretskii
2013-08-25 20:40 ` Eli Zaretskii
2013-08-25 21:42 ` Mark H Weaver
2013-08-25 23:24 ` dsmich
2013-08-26 2:44 ` Eli Zaretskii
2013-08-26 5:56 ` Mark H Weaver
2013-08-26 6:26 ` Mark H Weaver
2013-08-26 13:10 ` Eli Zaretskii
2013-08-26 2:40 ` Eli Zaretskii
2013-08-25 20:32 ` 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=83li3siues.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=godek.maciek@gmail.com \
--cc=guile-user@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).