bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] [bug-wget] Compiling Wget on Windows


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [bug-wget] Compiling Wget on Windows
Date: Wed, 12 Jun 2013 21:29:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Darshit Shah <address@hidden> writes:

> I wished to compile the latest git revision of Wget on Windows in order to
> run some tests.
> However, I have failed miserably in my attempts to understand how to
> compile Wget on Windows.
>
> I set up a virtual system with MingW installed (I do not wish to create a
> CygWin executable if possible.)
> Alongwith MingW, I installed Perl and Visual Studio Express 2008.
>
> Similar to how one would proceed on a UNIX system, I ran:
> $ ./bootstrap --gnulib-srcdir=../gnulib
> in the MingW shell.
>
> This command however fails with the following error:
> configure.ac:1: error: possibly undefined macro: dnl
>          If this token and others are legitimate, please use
> m4_pattern_allow.
>          See the Autoconf documentation.
> configure.ac:41: error: possibly undefined macro: AC_MSG_NOTICE
> configure.ac:74: error: possibly undefined macro: AC_DEFINE
> configure.ac:253: error: possibly undefined macro: AC_CHECK_LIB
> configure.ac:283: error: possibly undefined macro: AC_MSG_ERROR
> autoreconf-2.68: /mingw/bin/autoconf-2.68 failed with exit status: 1
>
> How am I supposed to solve this?

I haven't tried myself as I have no access to a Windows machine, but
it should just work, have you tried with a newer autoconf version?

In any case, it is not our goal to be able to regenerate configure
scripts under MingW, it is enough that you are able to build wget,
i.e. ./configure && make.

If you still have problems, what about generate these files on a
GNU/Linux machine and use the generated dist files under Windows?

-- 
Giuseppe



reply via email to

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