Moshをコンパイル

Schemeの実装である、Moshをセットアップしてみた。
環境は、VMWare上のUbuntu 7.10


/usr/local/src/mosh-0.0.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.


C++をインストール

sudo apt-get install g++


/usr/local/src/mosh-0.0.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
(略)
for long... yes
checking size of long... 4
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating onig-config
config.status: creating sample/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands


make && make installも問題なく終了。

mosh -V
Mosh R6RS scheme interpreter, version 0.0.2


REPLは次のバージョンからなのか。READMEは、0バイト。

コメント

人気の投稿