Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Installation and Live Media
FedoraForum Search

Forgot Password? Join Us!

Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th June 2012, 03:41 AM
hlfmanhlfamzng's Avatar
hlfmanhlfamzng Offline
Registered User
 
Join Date: Jul 2004
Location: Arris Dome
Posts: 216
linuxfirefox
configure: error: cannot guess build type; you must specify one

The new beta 11 of WZ2100 was released recently.

http://developer.wz2100.net/wiki/Dow...WarzoneonLinux

http://developer.wz2100.net/wiki/CompileGuideLinux

I don't think this is a bug with their software. I think I'm missing something. There's a bug in their system for building with automake 1.12 being broken, so it's verified to work with 1.11 http://developer.wz2100.net/ticket/3538

Anybody know what I need? I'm running Fedora 17, all latest updates installed.

Quote:
[root@localhost warzone2100-3.1_beta11]# ./autogen.sh
+ checking for autoconf >= 2.56 ... found 2.68, ok.
+ checking for automake >= 1.10 ... found 1.11.3, ok.
+ running aclocal ...
+ running autoheader ...
+ running autoconf ...
+ running automake ...
+ removing config.cache ...

Now type './configure && make' to compile.
Quote:
[root@localhost warzone2100-3.1_beta11]# ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2009-06-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?....guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?...ig.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-06-10

uname -m = i686
uname -r = 3.3.7-1.fc17.i686
uname -s = Linux
uname -v = #1 SMP Mon May 21 22:50:24 UTC 2012

/usr/bin/uname -p = i686
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = i686
UNAME_RELEASE = 3.3.7-1.fc17.i686
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Mon May 21 22:50:24 UTC 2012
configure: error: cannot guess build type; you must specify one
So I tried:

Quote:
[root@localhost warzone2100-3.1_beta11]# ./configure --host=i686-pc-linux
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-pc-linux-strip... no
checking for strip... no
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2009-06-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?....guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?...ig.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-06-10

uname -m = i686
uname -r = 3.3.7-1.fc17.i686
uname -s = Linux
uname -v = #1 SMP Mon May 21 22:50:24 UTC 2012

/usr/bin/uname -p = i686
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = i686
UNAME_RELEASE = 3.3.7-1.fc17.i686
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Mon May 21 22:50:24 UTC 2012
configure: error: cannot guess build type; you must specify one
I don't know what it wants. I know that the old 2.3.9 is in the repositories, but just for testing purposes I downloaded the source for 2.3.9, and it doesn't compile either. Same error message.

Last edited by hlfmanhlfamzng; 25th June 2012 at 03:56 AM.
Reply With Quote
  #2  
Old 25th June 2012, 11:19 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,717
linuxfirefox
Re: configure: error: cannot guess build type; you must specify one

You know how to read?
Quote:
config.guess timestamp = 2009-06-10
This script is from 2009. So why don't you download these two files which are dated 2012-06-17 (or newer)

http://git.savannah.gnu.org/gitweb/?....guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?...ig.sub;hb=HEAD

Try to right click on the links and select "Save Link As..." or use wget.

Quote:
configure: error: cannot guess build type; you must specify one
[root@localhost warzone2100-3.1_beta11]# ./configure --host=i686-pc-linux
configure: WARNING: if you wanted to set the --build type, don't use --host.
It says not to use --host ;-)

Last edited by george_toolan; 25th June 2012 at 11:21 AM.
Reply With Quote
  #3  
Old 25th June 2012, 04:07 PM
hlfmanhlfamzng's Avatar
hlfmanhlfamzng Offline
Registered User
 
Join Date: Jul 2004
Location: Arris Dome
Posts: 216
linuxfirefox
Re: configure: error: cannot guess build type; you must specify one

Quote:
Originally Posted by george_toolan View Post
You know how to read?
Now that wasn't necessary. I missed that part.

Quote:
Originally Posted by george_toolan View Post
This script is from 2009. So why don't you download these two files which are dated 2012-06-17 (or newer)
It's odd that F17 would ship with such an old script in it when newer ones are available. I got it to work though, without messing with the scripts.

Quote:
Originally Posted by george_toolan View Post
It says not to use --host ;-)
That did the trick. Wish I would've seen it earlier. For the benefit of others:

./configure --build=i686-pc-linux

(I was asked for other development headers, but they were all in the repositories)

Then

./make

Then to launch the game:

./src/warzone2100

Because this is a beta build, it's been purposely designed to stay within this folder, without being installed, at least that's what it seems like to me based on what it says on the warzone site for 3.1.
Reply With Quote
  #4  
Old 25th June 2012, 01:17 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,104
linuxfirefox
Re: configure: error: cannot guess build type; you must specify one

You also have the option to look at the configure script (and a bit of tracing) look at what it is testing for.

Sometimes, the test has a bug in it - In the current case, it may be expecting something like a 2.6.x.y-patch version number, where the current is 3.4.2-patch number which will fail the match format.
Reply With Quote
  #5  
Old 25th June 2012, 02:00 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxchrome
Re: configure: error: cannot guess build type; you must specify one

If you have the redhat-rpm-config package installed (also possibly the rpmdevtools package), you can find your "build system type" easily. In my case, on F16.x86_64:
Code:
BASH:~/-> rpm --eval %{_host}
x86_64-unknown-linux-gnu
Then,
Code:
./configure --build=x86_64-unknown-linux-gnu
Reply With Quote
Reply

Tags
build, configure, error, guess, type

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Build error with Fedora 16 - thoggen - dependency build error - hal? jonathonp Using Fedora 4 17th November 2011 07:59 AM
Error: mount: you must specify the filesystem type panamaszr12 Using Fedora 8 24th January 2006 08:47 PM
error: array type has incomplete element type jattoo Using Fedora 4 7th October 2005 05:18 AM
Guess what happens when you type: imdeemvp Linux Chat 10 7th August 2004 01:44 PM


Current GMT-time: 20:03 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat