[root@localhost bochs]# ./configure --enable-debugger --enable-disasm
checking for wxWidgets configuration script... not_found
checking for wxWidgets library version...
checking for default gui on this platform... x11
ERROR: X windows gui was selected, but X windows libraries were not found.
[root@localhost bochs]# yum install libX11-devel
Installing:
libX11-devel i686 1.3.4-3.fc14 fedora 1.0 M
Installing for dependencies:
libXau-devel i686 1.0.6-1.fc14 fedora 13 k
libxcb-devel i686 1.7-1.fc14 fedora 139 k
xorg-x11-proto-devel noarch 7.4-39.fc14 updates 250 k
Transaction Summary
[root@localhost bochs]# ./configure --enable-debugger --enable-disasm
checking for display libraries... X11
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.
Install pkg-config and the gtk+ development package,
or disable the gui debugger, or the wxWidgets display library (whichever is being used).
[root@localhost bochs]# yum install gtk2-devel
//In Fedora, gtk+-2.x package is named gtk2[-devel]
//The earlier version, 1.x.x, is named gtk+[-devel]
//ubuntu下是sudo aptitude install libgtk2.0-dev
[root@localhost bochs]# ./configure --enable-debugger –enable-disasm
[root@localhost bochs]# make
[root@localhost bochs]# make install
成功安装