关于 wine 的安装问题

关于 wine 的安装问题

我的系统是 ubuntu 8.04.1 ,没上网,编译 wine 0.9.60 时出现错误:
$cd /home/gad
$ls
wine wine-0.9.60
$cd wine
$/home/gad/wine-0.9.60 --prefix=/usr/local/software/wine
......
......
......
configure: WARNING: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need to install
development packages of Xlib/Xfree86 at the very least.

configure: WARNING: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.

configure: Finished.  Do 'make depend && make' to compile Wine.

$make depend
......
......
......
$make
......
......
make[2]: Leaving directory `/home/gad/wine/libs/wine'
make[2]: Entering directory `/home/gad/wine/libs/wpp'
gcc -c -I/home/gad/wine-0.9.60/libs/wpp -I. -I/home/gad/wine-0.9.60/include -I../../include    -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o preproc.o /home/gad/wine-0.9.60/libs/wpp/preproc.c
gcc -c -I/home/gad/wine-0.9.60/libs/wpp -I. -I/home/gad/wine-0.9.60/include -I../../include    -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o wpp.o /home/gad/wine-0.9.60/libs/wpp/wpp.c
bison  -p ppy_ -o ppy.tab.c -d /home/gad/wine-0.9.60/libs/wpp/ppy.y
make[2]: bison: Command not found
make[2]: *** [ppy.tab.h] Error 127
make[2]: Leaving directory `/home/gad/wine/libs/wpp'
make[1]: *** [wpp] Error 2
make[1]: Leaving directory `/home/gad/wine/libs'
make: *** [libs] Error 2

但是我安装了 bison :
$ bison --help
Usage: bison [OPTION]... FILE
Generate LALR(1) and GLR parsers.

Mandatory arguments to long options are mandatory for short options too.
The same is true for optional arguments.

Operation modes:
  -h, --help                 display this help and exit
  -V, --version              output version information and exit
      --print-localedir      output directory containing locale-dependent data
      --print-datadir        output directory containing skeletons and XSLT
  -y, --yacc                 emulate POSIX Yacc
  -W, --warnings=[CATEGORY]  report the warnings falling in CATEGORY

Parser:
  -L, --language=LANGUAGE    specify the output programming language
                             (this is an experimental feature)
  -S, --skeleton=FILE        specify the skeleton to use
  -t, --debug                instrument the parser for debugging
      --locations            enable locations computation
  -p, --name-prefix=PREFIX   prepend PREFIX to the external symbols
  -l, --no-lines             don't generate `#line' directives
  -k, --token-table          include a table of token names

Output:
      --defines[=FILE]       also produce a header file
  -d                         likewise but cannot specify FILE (for POSIX Yacc)
  -r, --report=THINGS        also produce details on the automaton
      --report-file=FILE     write report to FILE
  -v, --verbose              same as `--report=state'
  -b, --file-prefix=PREFIX   specify a PREFIX for output files
  -o, --output=FILE          leave output to FILE
  -g, --graph[=FILE]         also output a graph of the automaton
  -x, --xml[=FILE]           also output an XML report of the automaton
                             (the XML schema is experimental)

Warning categories include:
  `midrule-values'  unset or unused midrule values
  `yacc'            incompatibilities with POSIX YACC
  `all'             all the warnings
  `no-CATEGORY'     turn off warnings in CATEGORY
  `none'            turn off all the warnings
  `error'           treat warnings as errors

THINGS is a list of comma separated words that can include:
  `state'        describe the states
  `itemset'      complete the core item sets with their closure
  `lookahead'    explicitly associate lookahead tokens to items
  `solved'       describe shift/reduce conflicts solving
  `all'          include all the above information
  `none'         disable the report

Report bugs to <bug-bison@gnu.org>.

后来编译成功了,可是:
$ wine
preloader: Warning: failed to reserve range 00000000-00010000
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit
gad@gad-desktop:~$ winecfg
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing.  Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing.  Check your build!
err:ole:apartment_createwindowifneeded CreateWindow failed with error 126

   求哪位大虾告诉我为什么?
安装相关的devel支持,如用gnome桌面的,得安装上gnome-devel