古いパッケージがどこかに行ってしまったので久々にクロスビルド。
$ cd /tmp $ apt-get source psmisc $ cd psmisc-21.5 $ dpkg-buildpackage -us -uc -B -ash4 -rfakeroot ・・・ # Add here commands to compile the package. ./configure --prefix=/usr --mandir=\${prefix}/share/man configure: loading site script /etc/dpkg-cross/cross-config.sh4 checking for a BSD-compatible install... /usr/bin/install -c ・・・ checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make: *** [build-stamp] エラー 1
./configure時に勝手に--host sh4-linuxとかってつくんじゃなかったっけかなぁ。とりあえずdebian/rulesに書き足したら進んだので良し。