我看了一下linux/unix odbc 并在自己的虛擬機(jī)上裝了一下,開始給我報 找不到 X includes ,發(fā)現(xiàn)需要xwindows的桌面環(huán)境。我的虛機(jī)當(dāng)初為了節(jié)省空間,沒有裝桌面環(huán)境。我也看了看解包出來的readme 和 install文件 都沒有發(fā)現(xiàn)不用Xwindows的安裝方法。
在install 文件中只說明了安裝需要
o gnu make version 3.7 or newer (required)
o C++ compiler and library (required):
- egcs 1.x, or
- g++ 2.8.x and libg++ 2.8.x (where x > 0), or
- g++ 2.7.2.x and libg++ 2.7.2
這些software packages
所以我覺得應(yīng)該有辦法使用odbc脫離桌面系統(tǒng)。
有哪位曾經(jīng)用到過?期待您的賜教,謝謝~作者: famous 時間: 2007-06-12 10:40
解決了,仔細(xì)又看了一遍INSTALL文件,有如下一段
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
覺得可以實(shí)現(xiàn)。
./configure --help中
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
因?yàn)椴恢纗 windows system的PACKAGE是什么?(還請高手指點(diǎn))用--without-x 和 --with-x=no 試過了,都不行。最后查到--disable-gui 屏蔽 gui的環(huán)境,就可以了。