プロが教えるわが家の防犯対策術!

tcshをIntel版solarisでコンパイルしてインストールした経験がある方にお伺いしたいのですが、tcshの最新版をインストールしようとして、tcsh-6.12.00 をDLし sh ./confirure; make とするのですが、以下のようなエラーが出てしまいコンパイルが出来ませんでした。
コンパイル関連の知識が無く途方に暮れてしまうのですが、どのような事をチェックしたり試したりしたら宜しいでしょうか?
================
make
gcc -E -I. -I. -D_PATH_TCSHELL='"/usr/local/bin/tcsh"'

gcc -c -g -O2 -I. -I. -D_PATH_TCSHELL='"/usr/local/bin/tcsh"' sh.func.c
sh.func.c: In function `dologin':
sh.func.c:350: parse error before `char'
sh.func.c:354: `p' undeclared (first use in this function)
sh.func.c:354: (Each undeclared identifier is reported only once
sh.func.c:354: for each function it appears in.)
make: *** [sh.func.o] Error 1
================
現在使用しているのはsolaris8intel版です。
SunOS epson 5.8 Generic_108529-29 i86pc i386 i86pc
makeはgmakeを、gccがコンパイラとして指定されています
==================
/var[49(0)]>>make -version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-pc-solaris2.8
==================
/var[52(1)]>>gcc --version
2.95.3
==================
なお、configureの時のメッセージを書ききれないので後ほど。以上宜しくお願いします。

A 回答 (2件)

自宅サーバはSolaris9(Intel版) ですが、問題なくコンパイル・インストールできました。


各ツールのバージョンは以下のとおり。
Sunから提供される、Solaris9のクラスタパッチも当てています。
ご参考まで。

# uname -a
SunOS unknown 5.9 Generic_112234-08 i86pc i386 i86pc Solaris

# make -version
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

# gcc --version
gcc (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


# ./configure
# make
# make -n install

mkdir -p /usr/local/bin
mv -f /usr/local/bin/tcsh /usr/local/bin/tcsh.old
cp tcsh /usr/local/bin/tcsh
strip /usr/local/bin/tcsh
chmod 555 /usr/local/bin/tcsh
    • good
    • 0

こんにちは。


Solarisのバージョンが不明ですが、tcshであれば、
初めからバイナリで提供されています。
コンパニオンCDからインストールできると思うのですが、
どうでしょうか?
参考URLからSolaris8または9のISOファイルがダウンロードできます。

参考URL:http://wwws.sun.com/software/solaris/freeware/in …
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!