[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:26841] host type of alpha



土屋です。


研究室にやってきた Alpha マシンに Debian(potato) をインストールしてい
るのですが、幾つか必要なパッケージを自前で rebuild しようとすると、以
下のようなエラーメッセージで失敗することがあります。

$ dpkg-buildpackage -us -uc -rfakeroot
[中略]
running /bin/sh ./configure  --prefix=/usr --without-dialog --without-texinfo --with-system-ncurses --without-x --with-system-zlib --with-system-pnglib --disable-multiplatform --enable-shared --cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
checking host system type... Invalid configuration `alphaev6-unknown-linux-gnu': machine `alphaev6-unknown' not recognized
checking target system type... Invalid configuration `alphaev6-unknown-linux-gnu': machine `alphaev6-unknown' not recognized
checking build system type... Invalid configuration `alphaev6-unknown-linux-gnu': machine `alphaev6-unknown' not recognized
checking for a BSD compatible install... (cached) /usr/bin/install -c
[中略]
checking whether ln -s works... (cached) yes
ltconfig: you must specify a host type if you use `--no-verify'
configure: error: libtool configure failed
configure: error: ./configure failed for libwww
configure: error: ./configure failed for libs
make: *** [build-stamp] Error 1


今までに失敗したのは xdvik-ja と ptex-bin の2つですが、1つだけならとも
かく、2つということは何かの設定が不良なのかもしれない、と気になってい
ます。

問題になっているのは、"Invalid configuration ... nor recognized" の部
分だと思われます。その証拠に、debian/rules を書き換えて

    ./configure alpha-linux --prefix=/usr [other options]

というように、明示的に host type を指定すると、正常に rebuild できます。

関係しそうなパッケージは以下の通り。

ii  autoconf        2.13-20         automatic configure script builder
ii  automake        1.4-8           A tool for generating GNU Standards-compliant 
ii  libtool         1.3.3-9.1       Generic library support script

という状況なのですが、この host type をきちんと設定する方法はないでしょ
うか。

-- 
土屋 雅稔  ( TSUCHIYA Masatoshi )
    http://www-nagao.kuee.kyoto-u.ac.jp/member/tsuchiya/