|
sylpheed-jp:878
From: okushima <okushima@xxxxxxxxxx> okushima です。 On Sun, 29 Jul 2001 23:11:42 +0900 HIRAMATU Masami <zero@xxxxxxxxxx> wrote: > Zerow_jpです。 ありがとうございます。m(__)m > 単純にrpm -i (srpm)でソースRPMをインストールした後、specを書き直してパッチを当 > て > rpm -bb (spec)で作るのはダメなのでしょうか? > > Kondarizeのカラミでうちではいっつもこんなかんじですが。 make 辺りでエラーになります。 私はいくつかのパッチを当てるのと、--enable-gpgme も行うことから、 通常の操作として、上記の手順で行ってきましたし、 sylpheed-0.5.1-1.src.rpm までは問題なく上記操作でバイナリが作成 できていました。 以下は $ rpm -i sylpheed-0.5.1-0.cvs6.010729.src.rpm を実行後、spec を 修正後(修正しなくても)の $ rpm -bb sylpheed-0.5.1-0.cvs6.010729.src.rpm を実行した結果の抜粋です。 長くなって申し訳ありません。 (最初のエラーらしきものが出てから、異常終了するまでです) sed: can't read ./intl/po2tbl.sed.in: そのようなファイルやディレクトリはありませ ん checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.6... yes checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.6... yes checking for gdk-pixbuf-config... /usr/bin/gdk-pixbuf-config checking for GDK_PIXBUF - version >= 0.8.0... yes checking for gpgme-config... /usr/bin/gpgme-config checking for gpgme - version >= 0.2.1... yes checking for uncompface in -lcompface... yes checking for jconv_alloc_conv in -ljconv... yes checking for setlocale in -lxpg4... no checking whether to use threads... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking for paths.h... yes checking for sys/param.h... (cached) yes checking for sys/utsname.h... yes checking for wchar.h... yes checking for wctype.h... yes checking for working const... (cached) yes checking for off_t... (cached) yes checking for pid_t... yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for wint_t... yes checking for u32 typedef... no checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 4 checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for gethostname... yes checking for mkdir... yes checking for mktime... yes checking for socket... yes checking for strstr... yes checking for wcsstr... yes checking for wcswcs... yes checking for iswalnum... yes checking for iswspace... yes checking for towlower... yes checking for wcslen... yes checking for wcscpy... yes checking for wcsncpy... yes checking for uname... yes checking for flock... yes checking for lockf... yes checking for inet_aton... yes checking for inet_addr... yes checking for fchmod... yes checking for mkstemp... yes updating cache ./config.cache creating ./config.status creating Makefile creating sylpheed.spec creating intl/Makefile creating ac/Makefile creating po/Makefile.in creating libkcc/Makefile creating src/Makefile creating manual/Makefile creating manual/en/Makefile creating manual/ja/Makefile creating config.h + make make all-recursive make[1]: 入ります ディレクトリ `/home/okushima/rpm/BUILD/sylpheed-0.5.1cvs6' Making all in ac make[2]: 入ります ディレクトリ `/home/okushima/rpm/BUILD/sylpheed-0.5.1cvs6/ac' make[2]: `all' に対して行うべき事はありません。 make[2]: 出ます ディレクトリ `/home/okushima/rpm/BUILD/sylpheed-0.5.1cvs6/ac' Making all in po make[2]: 入ります ディレクトリ `/home/okushima/rpm/BUILD/sylpheed-0.5.1cvs6/po' make[2]: `all' に対して行うべき事はありません。 make[2]: 出ます ディレクトリ `/home/okushima/rpm/BUILD/sylpheed-0.5.1cvs6/po' Making all in intl make[2]: 入ります ディレクトリ `/home/okushima/rpm/BUILD/sylpheed-0.5.1cvs6/intl ' make[2]: *** `all-no' に必要なターゲット `all-no-@BUILD_INCLUDED_LIBINTL@' を ma ke するルールがありません. 中止。 make[2]: 出ます ディレクトリ `/home/okushima/rpm/BUILD/sylpheed-0.5.1cvs6/intl' make[1]: *** [all-recursive] エラー 1 make[1]: 出ます ディレクトリ `/home/okushima/rpm/BUILD/sylpheed-0.5.1cvs6' make: *** [all-recursive-am] エラー 2 /var/tmp/rpm-tmp.47038 の不正な終了ステータス (%build) と、all in intl(all-no) の部分で終了してしまいます。 これは、ソースベース(./configure, make)でも同様で、ことぶきさんが書かれた 様に all-no: をコメントにするか、今野さんのログの様にするかしないと make できません。 そのことから、-bp,ソース変更, -bc, -bi, -bb と段階を追って、なんとか バイナリを作成しようと試みた訳です。 -- ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 Mail To : <okushima@xxxxxxxxxx> PC & OS : GP7-450 + Vine-2.1.5 GnuPG Key = 1353 37F5 0C70 B162 9C62 50CC 6C87 5790 3DC8 D4D2 ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 871 2001-07-27 23:47 [okushima@xxxxxxxxxx ] CVS で Give Up 872 2001-07-28 02:00 ┣[FZE01202@xxxxxxxxxx ] 873 2001-07-28 03:58 ┣[owari@xxxxxxxxxx ] 874 2001-07-28 23:41 ┗[okushima@xxxxxxxxxx ] @ 875 2001-07-29 00:38 ┗[kajiwara@xxxxxxxxxx ] 876 2001-07-29 15:37 ┗[okushima@xxxxxxxxxx ] 877 2001-07-29 23:11 ┗[zero@xxxxxxxxxx ] -> 878 2001-07-30 00:03 ┗[okushima@xxxxxxxxxx ] |