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

I am trying to build wxPython under Cygwin64 on Windows 7.
./configure --with-gtk

produces the following…

checking build system type… ./config.guess: unable to guess system type

This script, last modified 2004-08-13, 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

ftp://ftp.gnu.org/pub/gnu/config/

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 = 2004-08-13

uname -m = x86_64

uname -r = 1.7.25(0.270/5/3)

uname -s = CYGWIN_NT-6.1

uname -v = 2013-08-31 20:37

/usr/bin/uname -p = unknown

/bin/uname -X =

hostinfo =

/bin/universe =

/usr/bin/arch -k =

/bin/arch = x86_64

/usr/bin/oslevel =

/usr/convex/getsysinfo =

UNAME_MACHINE = x86_64

UNAME_RELEASE = 1.7.25(0.270/5/3)

UNAME_SYSTEM = CYGWIN_NT-6.1

UNAME_VERSION = 2013-08-31 20:37

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

···

the problem is that I don’t know how to specify build type. Which configure option specifies the build type and what are the possible values?

Michael Landis wrote:

I am trying to build wxPython under Cygwin64 on Windows 7.
./configure --with-gtk
produces the following...

checking build system type... ./config.guess: unable to guess system type

This script, last modified 2004-08-13, 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

ftp://ftp.gnu.org/pub/gnu/config/

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 = 2004-08-13

uname -m = x86_64
uname -r = 1.7.25(0.270/5/3)
uname -s = CYGWIN_NT-6.1
uname -v = 2013-08-31 20:37

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

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

UNAME_MACHINE = x86_64
UNAME_RELEASE = 1.7.25(0.270/5/3)
UNAME_SYSTEM = CYGWIN_NT-6.1
UNAME_VERSION = 2013-08-31 20:37
configure: error: cannot guess build type; you must specify one
--------------
the problem is that I don't know how to specify build type. Which
configure option specifies the build type and what are the possible values?

You should ask about this on the wx-users list.

Also note that wxPython's config.py and/or setup.py will probably also need to be updated to support a Cygwin64 build. There were some patches a while back for cygwin support, but I suspect that there will be some changes or additions needed for the 64 bit version.

···

--
Robin Dunn
Software Craftsman