Trouble compiling Vice commodore emulator on Haiku

Vice is a great commodore machine emulator, and it’s usually very easy to compile. I’ve had no problems compiling on linux and BeOS. When trying to compile on Haiku, it seems “configure” can’t figure out what type of machine/ or OS I’m using. I realize there are prebuilt VICE binaries for BeOS/Haiku, but I’d much rather compile it myself. Any suggestions? Thanks for any help. I’ve included the terminal output below:

~/Desktop> cd vice-2.1
~/Desktop/vice-2.1> ./configure
checking for a BSD-compatible install… /bin/install -c
checking whether build environment is sane… yes
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking build system type… ./config.guess: unable to guess system type

This script, last modified 2005-07-08, 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

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 in order to provide the needed
information to handle your system.

config.guess timestamp = 2005-07-08

uname -m = BePC
uname -r = 1
uname -s = Haiku
uname -v = r33109 Sep 12 2009 17:45:45

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

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

UNAME_VERSION = r33109 Sep 12 2009 17:45:45
configure: error: cannot guess build type; you must specify one

Haiku was only added to the config.* files 3 years ago, your version of vice uses config.* files from 4 and a half years ago.

Try this just before compiling:

 cp /boot/common/share/libtool/config/config.* .

If that did not work, download a new config.guess and config.sub via the links in the output you gave; replace the config.* files that came with vice.

Also if this is the latest version of vice, you should let them know that their config.* files need updating.

If you need any more help try reading this:
and this:

There is also a mailing list for compiling ports on haiku that can be very helpful; it can be found here:

Thanks for all of the resources. I’ve tried the things you’ve mentioned, copying the config.* files to the directory of the source (just copied your line), and also downloaded and replaced the config files with current versions from their respective websites, but to no avail. The terminal output is still giving me the same deal. I’m not giving up though, I just have to do some more research.


libtoolize --force --copy -install
./configure --prefix=/boot/common