Gauche:Solaris/SPARC
INSTALLがinstall-shだと不完全にインストールされる
(2010/04/15 03:39:57 PDT)
Solaris10にGauche-0.9をインストールしようとしたところ、いくつかインストールされないファイルがありました。
install-shが複数のファイルを一度にインストールできないようで、以下の例だとgosh以外はインストールされません。
.././install-sh -c -m 555 gosh gauche-config gauche-install gauche-package gauche-cesconv /usr/local/bin
configureでINSTALLを/usr/ucb/installとして解決しました。
Gauche 0.7.2 on Solaris 2.7
solaris2.7にGauche-0.7.2を入れようとしてmakeが通りませんでした。
for d in gc src lib ext doc; do (cd $d; make all); done
Making all in doc
Making all in include
for d in auxsys threads uvector charconv net termios fcntl sxml syslog dbm mt-ra
ndom digest; do (cd $d; make default); done
../..//src/gosh -ftest genstub auxsyslib.stub
*** ERROR: unbound variable: module-name->path
Stack Trace:
_______________________________________
0 (module-name->path file)
At line 128 of "../../src/gauche-init.scm"
Error in initialization file.
*** ERROR: unbound variable: module-name->path
Stack Trace:
_______________________________________
0 (module-name->path module)
At line 79 of "../../src/gauche-init.scm"
*** Error code 70
make: Fatal error: Command failed for target `auxsyslib.c'
Current working directory $HOME/src/Gauche-0.7.2/ext/auxsys
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory $HOME/src/Gauche-0.7.2/ext
*** Error code 1
make: Fatal error: Command failed for target `all'
- Shiro (2003/10/11 12:53:25 PDT): むむ。module-name->pathが見付からないということは goshが古いバージョンのlibgauche.soを見ている可能性が高いです。 ダイナミックリンクのリンクパス問題かなあ。 もし可能ならば、既にインストールされているGaucheを取り除いて 試してみていただけますか。
- (2003/10/11 15:19:16 PDT): ありがとうございます。make成功しました。
今度は、gmake installでこける。
diff ext/Makefile.ext ext/Makefile.ext~ 35c35 < INSTALL = ../../install-sh -c --- > INSTALL = .././install-sh -c
で通った。
- Shiro (2003/10/11 16:17:32 PDT): あっそうか。ext/Makefile.extはもう一段下の ディレクトリにあるMakefile.inからインクルードされるんで、 $(top_srcdir)/install-shだとまずいんですね。うちの環境ではINSTALLが/usr/bin/installになるので気がつきませんでした。