unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Cesar Strauss <cestrauss@gmail.com>
To: guile-user@gnu.org
Subject: Re: Compiling guile on mingw32
Date: Tue, 05 Jun 2007 21:29:54 -0300	[thread overview]
Message-ID: <f44v64$m6b$1@sea.gmane.org> (raw)
In-Reply-To: <20070605185653.P21652@verden.pvv.ntnu.no>

Andreas Røsdal wrote:
> Hello,
> 
> I'm trying to compile guile 1.8.1 for the mingw32 platform on Windows.
> When running configure, I get this error message:
> 
> 
> checking for lt_dlinit in -lltdl... no
> configure: error: libltdl not found.  See README.
> 
> 
> However, I have compiled and installed libtool. (libtool-1.5.22)
> So I commented out the check for lltdl in configure, and ran it again.
> Then I got the following error message:
> 
> checking for gethostname... no
> checking whether sethostname is declared... no
> checking for library containing crypt... no
> checking for cexp... yes
> checking for clog... yes
> checking for carg... yes
> checking whether csqrt is usable... no, glibc 2.3 bug
> checking for __gmpz_init in -lgmp... no
> configure: error: GNU MP not found, see README
> 
> Then I compiled and installed GNU MP (gmp-4.2.1).
> However, I the above still occurs after installing GNU MP.
> 
> So it seems that configure is not able to find the two above error
> messages. I have also tried guile-core.unstable-20070429, and get the
> same problems there. Has anyone successfully been able to compile guile
> on mingw32?
> 
> 
>  - Andreas
> 
> 

Hello, Andreas

I was able to compile guile on mingw32.

First, you should use the guile-core-1.8-20070429.tar.gz snapshot, or
use "cvs" to download the code in the 1.8 branch. The unstable branch is
not mingw32 compatible, at the moment.

Then, make sure you configured libtool, gmp and guile with

./configure --prefix=$(cd /mingw && pwd -W)

This will install the libraries at the right location in the MinGW
compiler tree and allow guile to find its data files at run-time.

Also, add to the guile configure line:

--without-libiconv-prefix --without-libintl-prefix

due to a problem in the MinGW gettext support.

Hope this helps,
Cesar



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2007-06-06  0:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 17:01 Compiling guile on mingw32 Andreas Røsdal
2007-06-06  0:29 ` Cesar Strauss [this message]
2007-06-06 15:40   ` Andreas Røsdal
2007-06-06 17:18     ` Andreas Røsdal
2007-06-06 18:12       ` Cesar Strauss
2007-06-06  8:05 ` Ludovic Courtès

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='f44v64$m6b$1@sea.gmane.org' \
    --to=cestrauss@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).