Make エラー

vine 4.1 で HP の raid 管理ソフト( Redhat 用)をインストールしようとしたら、

compat-gcc-32-3.2.3-47.3.i386.rpm
compat-gcc-32-c++-3.2.3-47.3.i386.rpm

がインストールされていないと言われる。
Redhat ES4 ならすんなりインストールできたのに…。(当たり前か…)

Vine にはその RPM がないので、WhiteBox から SRPM をこっそり持ってきて rpmbuild する。

で Make エラー。


++ echo 3.3.11
++ cut -f1,2 -d.
+ soversion=3.3
+ make libdb=libdb-3.3.a libcxx=libdb_cxx-3.3.a
/bin/sh ./libtool --mode=compile cc -c -I. -I./../include -I./../include_auto -D_GNU_SOURCE -D_REENTRANT -O2 -m32 -march=i386 -mcpu=i686 ../mutex/mut_tas.c
./libtool: line 1: s,^./,,g: そのようなファイルやディレクトリはありません
./libtool: line 1: -e: command not found
*
* Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
./libtool: line 1: -e: command not found
./libtool: line 1: -e: command not found
./libtool: line 1: -e: command not found
./libtool: line 1: -e: command not found
./libtool: line 1: -e: command not found
./libtool: line 1: -e: command not found
./libtool: line 1: -e: command not found
./libtool: line 1: -e: command not found

libtool を見ると、一行目に sed のスクリプトが書いてある。。
sed がないと言っている様子。

ググったら、同じような人が
こうすればいいらしい。環境変数を追加↓
$ SED=sed ;export SED

でも、間違えて、 compat-db-4.1.25-9.src.rpm をリビルドしてた…。orz
完全に無駄。

結局、whitebox をインストールすることに…。あはは。