0

GCC 3.4.6 を使用する RHEL4 に非特権モードで NETBSD pkgsrc をインストールしようとしています。まず、この設定は古すぎますか?

http://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc.tar.gzから最新の安定版リリースをダウンロードしました。

次のコマンドを使用してブートストラップ スクリプトを実行すると、構文エラーが発生します。

./bootstrap --unprivileged --prefix /the_directory_im_using/pkgtest --varbase /the_directory_im_using/var

/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive -I/the_directory_im_using/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 -I/the_directory_im_using/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -I/usr/include -I. -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DINET6 -DWITH_SSL -DFTP_COMBINE_CWDS -c ftp.c
In file included from /the_directory_im_using/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:50,
             from ftp.c:69:
    /the_directory_im_using/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat/nbcompat/ctype.h:44: error: syntax error before ')' token
*** Error code 1

問題を引き起こしている行は次のとおりです。

#if !HAVE_DECL_ISBLANK
int     isblank(int);
#endif
4

1 に答える 1