- PR -

RHEL4 Update3のanacondaについて

1
投稿者投稿内容
kotti
会議室デビュー日: 2005/02/28
投稿数: 14
投稿日時: 2006-03-13 22:29
RHEL4 Update3をインストールした環境でanaconda-10.1.1.37-1.src.rpmをインストールし、以下のコマンドを実行したところ、エラーが出てしまいました。
実行コマンド:
# rpmbuild -bb /usr/src/redhat/SPECS/anaconda.spec

エラー:
diet gcc -g -static -o loader loader.o log.o moduleinfo.o loadermisc.o modules.o moduledeps.o windows.o lang.o kbd.o modstubs.o driverdisk.o selinux.o
md5.o mediacheck.o kickstart.o driverselect.o getparts.o dirbrowser.o pcmcia.o usb.o firewire.o hardware.o method.o cdinstall.o hdinstall.o nfsinstal
l.o urlinstall.o dietstubs.o ctype.o net.o urls.o ftp.o telnet.o telnetd.o -lpopt \
-lkudzu_loader -lpci_loader ../isys/libisys-diet.a - lrpc ../isys/gzlib/libgunzip-diet.a \
-lpump -lresolv -lnewt -lslang -lbtermdiet -lbogldiet -lwlitediet
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x2b9): In function `entryDraw':
: undefined reference to `__ctype_get_mb_cur_max'
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x2cc): In function `entryDraw':
: undefined reference to `mbtowc'
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x329): In function `entryDraw':
: undefined reference to `__ctype_get_mb_cur_max'
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x342): In function `entryDraw':
: undefined reference to `mbtowc'
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x559): In function `previous_char':
: undefined reference to `__ctype_get_mb_cur_max'
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x568): In function `previous_char':
: undefined reference to `mblen'
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x599): In function `next_char':
: undefined reference to `__ctype_get_mb_cur_max'
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x5a8): In function `next_char':
: undefined reference to `mblen'
collect2: ld returned 1 exit status
make[1]: *** [loader] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/anaconda-10.1.1.37/loader2'
make: *** [subdirs] Error 1
礙礬禺: Bad exit status from /var/tmp/rpm-tmp.2593 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.2593 (%build)

原因がわからなくて困っています。

よろしくお願いします。
zume
ベテラン
会議室デビュー日: 2003/06/05
投稿数: 93
投稿日時: 2006-03-14 00:23
こんばんは。

何でRPMを使わないんだろう?という疑問はさておき。

まずは、SPECファイルの中に記述されている”BuildPreReq:”と”Requires:”で指定
されているパッケージが、インストールされているか確認してみてはどうでしょう?
※かなりの数のパッケージが要求されてるみたいですね。。
1

スキルアップ/キャリアアップ(JOB@IT)