1.依存パッケージの導入
1).Xソフトウェア開発の導入
アプリケーション→ソフトウェアの追加/削除
開発→Xソフトウェア開発にチェック (35 of 43)
(※ホントはもっと対象を絞れるかもしませんが。)
2).QTの導入
QTのパッケージの取得
wget ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.0.tar.gz
tar等で解凍
tar -xvzf qt-everywhere-opensource-src-4.6.0.tar.gz
解凍先のフォルダ内で
./configure
しばらく待つと
Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.
o(oとタイプしEnter)
This is the Qt for Linux/X11 Open Source Edition.
(中略)
Do you accept the terms of either license? yes(yesとタイプしEnter)
make (3〜4時間かかる場合もあります)
make install
パスを通す
PATH=$PATH:/usr/local/Trolltech/Qt-4.6.0/bin/
export PATH
2.BATのビルド
rpmbuild --rebuild bacula-bat-5.0.0-1.src.rpm
30分程度でビルド完了です。
0 件のコメント:
コメントを投稿