Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

configure: error: cannot guess build type; you must specify one

6,650 views
Skip to first unread message

Mark Hobley

unread,
Mar 3, 2009, 2:08:01 PM3/3/09
to
I am trying to build the binutils suite, and I am getting an eroor as
follows, after I run the configure script:

./configure
configure: error: cannot guess build type; you must specify one

I now try again:
./configure --host='i386-pc-linux'

but the error persists.

This occurs following replacement of the uname tool from GNU coreutils
with the version from unix-sys-tools.

Is there a switch that I need to pass to the configure script to tell it
that my uname tool is not a GNU version from coreutils?

Shouldn't the configure script have determined this by itself?

Mark.

--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/

Gil Hamilton

unread,
Mar 3, 2009, 4:56:38 PM3/3/09
to
markh...@hotpop.donottypethisbit.com (Mark Hobley) wrote in news:4pb086-
pnl...@neptune.markhobley.yi.org:

> I am trying to build the binutils suite, and I am getting an eroor as
> follows, after I run the configure script:
>
> ./configure
> configure: error: cannot guess build type; you must specify one
>
> I now try again:
> ./configure --host='i386-pc-linux'
>
> but the error persists.

Try ./configure --build='i386-pc-linux'

# ./configure --help
[snip]
System types:
--build=BUILD configure for building on BUILD [guessed] <===*******
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
[snip]


GH

Mark Hobley

unread,
Mar 3, 2009, 6:08:01 PM3/3/09
to
Gil Hamilton <gil_ha...@hotmail.com> wrote:

> Try ./configure --build='i386-pc-linux'

Wahay!!! That's a lot better :)

Cheers.

ankitte...@gmail.com

unread,
Sep 22, 2014, 4:17:54 PM9/22/14
to
How to find the BUILD type on windows machine?

Jasen Betts

unread,
Sep 23, 2014, 6:57:11 AM9/23/14
to
On 2014-09-22, ankitte...@gmail.com <ankitte...@gmail.com> wrote:
> How to find the BUILD type on windows machine?

It could be i586mingw32msvc but I don't do automake, to me M4 is a
bolt, so I do.


--
umop apisdn


--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---
0 new messages