lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [Mingw-users] configure error
On Thursday 09 October 2008 17:14:23 Robert wrote:
> ah, hehe, thanks, knew it was something blatantly obvious, im only
> a first year comp sci student, i know i have a lot to learn...
Not least of it being that you shouldn't top post on mailing lists.
> JonY wrote:
> > On 10/9/2008 23:16, Robert wrote:
> >> Hi, I am following the wiki (http://www.mingw.org/wiki/msys) to
> >> install msys+mingw,
> >>
> >> at the following step i get an error...
> >>
> >> "Using MSYS with MinGW
> >> The autotools that are installed by MSYS DTK do not work well
> >> and can't build DLLs. If you need newer versions of autoconf,
> >> automake and libtool then follow these instructions.
> >> We will install autoconf, automake and libtool.
> >>
> >> * You will need to download updated versions.
> >> o autoconf<http://ftp.gnu.org/gnu/autoconf/>
> >> ...
> >>
> >> ./configure --prefix=/mingw&& make&& make install"
> >>
> >> [...]
> >
> > did you "cd" into the unpacked directories? Sorry if it wasn't
> > obvious in the guide.
With recent autoconf, make sure you read the comments attached to that
wiki article -- in particular the one about *not* configuring and
building in the source directory. If you have updated your MSYS make
to version 3.81, it exposes a bug in autoconf, (which I know afflicts
autoconf-2.61 through 2.63), and which makes it impossible to build
using the above commands.
You should build in a separate directory, outside of the source
hierarchy; that's actually good practice to adopt for *any* package,
unless it absolutely does not support such a building method, (known
as a VPATH build, and supported by any autoconfiscated package).
FTR, here's the sequence of commands I recommend, for building
autoconf-2.63:--
$ tar xzf autoconf-2.63.tar.gz
$ mkdir -p build/autoconf-2.63
$ cd build/autoconf-2.63
$ ../../autoconf-2.63/configure --prefix=/mingw
$ make
$ make check
$ make install
Do note that the `make check' step is optional; it confirms that the
build has been completed successfully, but it is rather slow -- it
takes about 7 hours on my MSYS box. If you don't care for the peace
of mind it affords, you may omit it.
HTH,
Keith.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users