[Momonga-devel.ja:00691] avifile-0.7.17-0.20021028.1mのビルド
- From: Katsunari Inagaki <inagaki@xxxxxxxxxx>
- Date: Tue, 29 Oct 2002 22:04:58 +0900
稲垣と申します。
head環境で日々快適に使わせてもらっています。
本日、avifile-0.7.17-0.20021028.1mをOmoiKondaraでビルドしたのですが、
configureの途中で、
(略)
checking for Qt library (version >= 200)... no
configure: WARNING:
*** Could not run Qt test program, checking why...
*** Configure discovered/uses these settings:
*** Qt libraries: /usr/local/lib
*** Qt headers: /usr/lib/qt3/include
*** Note:
*** Compilation of Qt utilities also might be turned off (if not wanted).
*** If you are experiencing problems which will not be described
*** bellow please report then on 'avifile@xxxxxxxx' mailing list
*** (i.e. some misdetection or omitted path)
configure: error:
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Qt was incorrectly installed
*** or that you have moved Qt since it was installed. In the latter case, you
*** may want to set QTDIR shell variable
(略)
というメッセージが出て止まりました。
そこで、エラーメッセージを参考に、export QTDIR='/usr/lib/qt-3.0.5'して
からOmoiKondara avifileしましたが、やはり同じ場所で止まりました。
次に、avifile.specを下記のように
%configure \
--enable-release \
--enable-lame-bin \
--disable-divx4 \
--enable-quiet \
--with-qt \
--with-qt-dir=/usr/lib/qt-3.0.5 \
--with-qt-includes=/usr/lib/qt-3.0.5/include \
--with-qt-libraries=/usr/lib/qt-3.0.5/lib
と、--with-qt以下4行を付け足すことでビルドできました。
なぜ、configureがqtの場所を認識してくれないのか謎なのですが、とりあえ
ず、上記のような形でビルドできましたので、報告させていただきます。
--
いながき +----------------------------+
Katsunari Inagaki <inagaki@xxxxxxxxxx>
http://www.novella.jp/%7Einagaki/
+------------------------+ Tokyo Japan