ODBCのインストールを行なった。
今回はソースからコンパイルを行なう。
しかし、以下のようなエラーが発生した。
# tar -xvzf unixODBC-2.2.12.tar.gz # cd unixODBC-2.2.12 # ./configure --prefix=/home/hoge/unixODBC ... checking for semundo union... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for X... no configure: checking for Qt checking for Qt headers... no configure: error: cannot find correct Qt headers!
http://blogs.grf-design.com/archives/2007/04/howto_linux_tal.html
正直に言うとソースからのインストールも試みたのですが、Qt ライブラリがないというエラーで ./configure から先に進みませんでした。Web サイトによると Qt は設定用の GUI に必要で、 なければ無視して先に進むとあったのですが…
だそうだ。
GUIは使用しないので–disable-guiオプションを付与。
# ./configure --prefix=/home/hoge/unixODBC --disable-gui # make # make install
成功。

