blog/content/post/2008/07/24/2008-07-24-00000978.md

83 lines
3.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Gaucheのインストール
author: kazu634
date: 2008-07-24
url: /2008/07/24/_1052/
wordtwit_post_info:
- 'O:8:"stdClass":13:{s:6:"manual";b:0;s:11:"tweet_times";i:1;s:5:"delay";i:0;s:7:"enabled";i:1;s:10:"separation";s:2:"60";s:7:"version";s:3:"3.7";s:14:"tweet_template";b:0;s:6:"status";i:2;s:6:"result";a:0:{}s:13:"tweet_counter";i:2;s:13:"tweet_log_ids";a:1:{i:0;i:4161;}s:9:"hash_tags";a:0:{}s:8:"accounts";a:1:{i:0;s:7:"kazu634";}}'
categories:
- gauche
- Lisp
---
<div class="section">
<p>
Cの勉強はそこそこに切り上げて、次はLispを見てみようと思っている。色々な考え方に触れるのは悪いことじゃないし、そこから発想が広がることもあるし。自分はネットワーク構築関係の仕事に就くことにはなったけれど、上のレイヤーで何が行われているのかは押さえておきたい。
</p>
<p>
後、自分のキャリアを考えていく上で先端の技術を日本に持ってくるようなポジションにつきたいと思っている。そういうチャンスは転がっているところだし。それにはやっぱり色々と知っていないとね。様々な言語が影響を受けているというLispをとりあえず触ってみる。
</p>
<h4>
インストール
</h4>
<p>
<a href="http://practical-scheme.net/gauche/download-j.html" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://practical-scheme.net/gauche/download-j.html', 'Gauche &#8211; A Scheme Interpreter');" target="_blank">Gauche &#8211; A Scheme Interpreter</a>からソースをダウンロードする。どうやら自分の環境(Mac OSX)では最新のバージョンはビルドできない(管理者権限でビルドしてなかったからかな?)ようなので、一つ前のでビルドする。やり方は簡単で、ダウンロードした圧縮ファイルを解凍して、そこのディレクトリに移って
</p>
<blockquote title="Gauche - A Scheme Interpreter" cite="http://practical-scheme.net/gauche/download-j.html">
<p>
% ./configure
</p>
<p>
% make
</p>
<p>
% make install
</p>
<p>
<cite><a href="http://practical-scheme.net/gauche/download-j.html" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://practical-scheme.net/gauche/download-j.html', 'Gauche &#8211; A Scheme Interpreter');" target="_blank">Gauche &#8211; A Scheme Interpreter</a></cite>
</p>
</blockquote>
<p>
これで全てがすむ。管理者権限が必要だから、suとかsudoしておいてね。
</p>
<p>
よく探してみると、
</p>
<blockquote title="[Think IT] 第1回Gaucheをはじめてみませんか %281/3%29" cite="http://www.thinkit.co.jp/article/74/1/">
<p>
また、DebianLinuxはapt、MacはMacPortからもインストール可能です。
</p>
<p>
<cite><a href="http://www.thinkit.co.jp/article/74/1/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.thinkit.co.jp/article/74/1/', '&#091;Think IT');" target="_blank">&#91;Think IT</a></cite>
</p>
</blockquote>
<p>
だそうです。玄箱のDebianにも入れた。
</p>
<blockquote>
<p>
% apt-get install gauche
</p>
</blockquote>
<p>
これでインストールできる。こっちの方が楽だ。
</p>
<p>
日曜日から本格的にいじってみよう。
</p>
</div>