<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://www.sandpit.jp/rss/style.css" type="text/css"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:content="http://purl.org/rss/1.0/modules/content/"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xml:lang="ja">
<channel rdf:about="http://www.sandpit.jp/rss/recent.php">
<title>Sandpit.jp(砂場)</title>
<link>http://www.sandpit.jp/index.php</link>
<dc:date>2007-05-17T22:33:15+09:00</dc:date>
<description>
Sandpit.jp(砂場) - RSS (RDF Site Summary) Feed.
</description>
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://www.sandpit.jp/article.php?id=252" />
<rdf:li rdf:resource="http://www.sandpit.jp/article.php?id=250" />
<rdf:li rdf:resource="http://www.sandpit.jp/article.php?id=249" />
<rdf:li rdf:resource="http://www.sandpit.jp/article.php?id=248" />
<rdf:li rdf:resource="http://www.sandpit.jp/article.php?id=246" />
<rdf:li rdf:resource="http://www.sandpit.jp/article.php?id=245" />
<rdf:li rdf:resource="http://www.sandpit.jp/article.php?id=244" />
</rdf:Seq>
</items>
</channel>
<item rdf:about="http://www.sandpit.jp/article.php?id=252">
<title>引っ越し</title>
<link>http://www.sandpit.jp/article.php?id=252</link>
<dc:date>2007-05-17T22:33:15+09:00</dc:date>
<description>突然だけど、ブログの引っ越し。

はてなへ。
http://d.hatena.ne.jp/Suna/...</description>
<content:encoded>
<![CDATA[
突然だけど、ブログの引っ越し。

はてなへ。<br>
<a href="http://d.hatena.ne.jp/Suna/">http://d.hatena.ne.jp/Suna/</a>
]]>
</content:encoded>
</item>
<item rdf:about="http://www.sandpit.jp/article.php?id=250">
<title>Apache2 + mod_lisp2 + TBNL + SBCL</title>
<link>http://www.sandpit.jp/article.php?id=250</link>
<dc:date>2007-05-14T04:16:11+09:00</dc:date>
<description>
mod_lisp2
TBNL - A toolkit for dynamic Lisp websites
About SBCL - Steel Bank Common Lisp


とりあえず、この構成でサンプルページは出せる...</description>
<content:encoded>
<![CDATA[
<ul>
<li><a class="ex-ref" href="http://www.fractalconcept.com:8000/public/open-source/mod_lisp/">mod_lisp2</a></li>
<li><a class="ex-ref" href="http://www.weitz.de/tbnl/">TBNL - A toolkit for dynamic Lisp websites</a></li>
<li><a class="ex-ref" href="http://sbcl.sourceforge.net/">About SBCL - Steel Bank Common Lisp</a></li>
</ul>

とりあえず、この構成でサンプルページは出せるようになった。

でも、やはり SBCL に問題があるのだろうか、asdf-install とかすると、すぐにしばらく入力も受け付けない状態になってしまう。放置しておけば、そのうち戻ってはいるのだけど、効率が悪すぎてやる気がなくなる。
]]>
</content:encoded>
</item>
<item rdf:about="http://www.sandpit.jp/article.php?id=249">
<title>SBCL 1.0.5 インストール</title>
<link>http://www.sandpit.jp/article.php?id=249</link>
<dc:date>2007-05-13T02:38:39+09:00</dc:date>
<description>
About SBCL - Steel Bank Common Lisp


SBCL バイナリ版 0.9.14 インストール

SBCL ソース版 1.0.5 をインストールしようとしているのだけど、make するのに ANS...</description>
<content:encoded>
<![CDATA[
<ul>
<li><a class="ex-ref" href="http://sbcl.sourceforge.net/">About SBCL - Steel Bank Common Lisp</a></li>
</ul>

<h3>SBCL バイナリ版 0.9.14 インストール</h3>

SBCL ソース版 1.0.5 をインストールしようとしているのだけど、make するのに ANSI Common Lisp 準拠の実装が必要になるようで、SBCL バイナリ版を使うことにする。

<pre class="code">
# gzip -dc sbcl-0.9.14-x86-solaris-binary.tar.gz | tar xf -
# cd sbcl-0.9.14-x86-solaris
# export INSTALL_ROOT=/usr/local
# sh install.sh
</pre>

<h3>SBCL ソース版 1.0.5 インストール</h3>

<pre class="code">
# bzip2 -dc sbcl-1.0.5-source.tar.bz2 | tar xf -
# cd sbcl-1.0.5
# export GNUMAKE=/usr/sfw/bin/gmake
# sh make.sh

……

nm -xgp sbcl | ggrep -v " [FUw] " &gt; ,sbcl.nm
nm: invalid option -- x
Usage: nm [option(s)] [file(s)]
 List symbols in [file(s)] (a.out by default).
 The options are:
  -a, --debug-syms       Display debugger-only symbols
  -A, --print-file-name  Print name of the input file before every symbol
  -B                     Same as --format=bsd

……

</pre>

make.sh を動かすと、nm コマンドに x オプションがないとかで止まってしまう。man あたりで確認してみても確かになさそう。

<pre class="code">
# diff Config.x86-sunos.orig Config.x86-sunos
5c5
&lt; NM = nm -xgp
---
&gt; NM = nm -gp
</pre>

src/runtime/Config.x86-sunos を編集。x を外し、もう一回 make.sh してみたところでは終了したような感じ。

run-test.sh を動かしテスト。これがまた run-program.impure.lisp で止まってしまう。

<pre class="code">
# export INSTALL_ROOT=/usr/local
# sh install.sh
</pre>

よく分からないので、そのままインストールしてしまう。

<pre class="code">
# sbcl
This is SBCL 1.0.5, an implementation of ANSI Common Lisp.
More information about SBCL is available at &lt;http://www.sbcl.org/&gt;.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (quit)
#
</pre>

不安ではあるけど、とりあえず、動いているみたい。
]]>
</content:encoded>
</item>
<item rdf:about="http://www.sandpit.jp/article.php?id=248">
<title>Apache 2.2.4 インストール</title>
<link>http://www.sandpit.jp/article.php?id=248</link>
<dc:date>2007-05-10T03:27:49+09:00</dc:date>
<description>インストール


# bzip2 -dc httpd-2.2.4.tar.bz2 | tar xf -
# cd httpd-2.2.4
# ./configure

……

Configuring Apache Port...</description>
<content:encoded>
<![CDATA[
<h3>インストール</h3>

<pre class="code">
# bzip2 -dc httpd-2.2.4.tar.bz2 | tar xf -
# cd httpd-2.2.4
# ./configure

……

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
configure: error: Cannot use an external APR-util with the bundled APR
#
</pre>

./configure 時にエラーになる。エラーメッセージで検索すると、原因と対応方法がヒットするのでそれを参照。2.2.4 から追加されたらしい configure オプション「--with-included-apr」の指定で回避。

<pre class="code">
# ./configure --with-included-apr
# make
# make install
</pre>


<h3>設定</h3>

httpd.conf の以下の項目のみ設定。

<ul>
<li>User</li>
<li>Group</li>
<li>ServerAdmin</li>
<li>ServerName</li>
</ul>


<h3>起動/停止</h3>

SMF 管理せず、手動で起動/停止。

<pre class="code">
# /usr/local/apache2/bin/apachectl start
# /usr/local/apache2/bin/apachectl stop
</pre>
]]>
</content:encoded>
</item>
<item rdf:about="http://www.sandpit.jp/article.php?id=246">
<title>環境構築 1</title>
<link>http://www.sandpit.jp/article.php?id=246</link>
<dc:date>2007-05-07T00:59:51+09:00</dc:date>
<description>
Solaris10 をインストール、必要なパッチ当て
zone &quot;zweb1&quot; 作成 (Web サーバ)
Apache 2.2.4
zone &quot;zdb1&quot; 作成 (DB サーバ)
PostgreSQL 8.2.4
zone &quot;...</description>
<content:encoded>
<![CDATA[
<ul>
<li>Solaris10 をインストール、必要なパッチ当て</li>
<li>zone "zweb1" 作成 (Web サーバ)<br />
Apache 2.2.4</li>
<li>zone "zdb1" 作成 (DB サーバ)<br />
PostgreSQL 8.2.4</li>
<li>zone "zname1" 作成</li>
</ul>

ここまで。あまり進まなかったなぁ。
この後の予定?、目標?、妄想?

<ul>
<li>OpenLDAP を入れ、とりあえずアカウントの統合</li>
<li>テストアプリ作成</li>
<li>pgpool を入れ、コネクションプーリング</li>
<li>zone "zdb2" を作り、PostgreSQL レプリケーション</li>
<li>zone "zweb2" を作り、冗長/負荷分散構成みたいなこと</li>
<li>Dynamic Resource Pool 調査</li>
<li>Trusted Extension 調査</li>
</ul>
]]>
</content:encoded>
</item>
<item rdf:about="http://www.sandpit.jp/article.php?id=245">
<title>魔法少女リリカルなのは (&amp;amp; A's)</title>
<link>http://www.sandpit.jp/article.php?id=245</link>
<dc:date>2007-04-30T02:48:22+09:00</dc:date>
<description>調子悪く、あまり動く気もしないので、ニコニコ動画でダラ見。何となく MAD とかでもちらちら見ていた、


魔法少女リリカルなのは
魔法少女リリカルなのは A's


あたり。

1 期が終わり、2 期 (A's) 1 話...</description>
<content:encoded>
<![CDATA[
調子悪く、あまり動く気もしないので、ニコニコ動画でダラ見。何となく MAD とかでもちらちら見ていた、

<ul>
<li>魔法少女リリカルなのは</li>
<li>魔法少女リリカルなのは A's</li>
</ul>

あたり。

1 期が終わり、2 期 (A's) 1 話だけ見て止めようかと思ったのだけど、何やら 1 話から熱く、そのまま続けてしまい、連続 13 時間くらい。何、やってんだ……。

変身シーンはお決まりな魔法少女物なのだけど、キャラクタの持つ超科学的なデバイスとか、それを使ってのバトルシーンとかは少年マンガ的で熱い。

次は 3 期 (StrikerS) か。
]]>
</content:encoded>
</item>
<item rdf:about="http://www.sandpit.jp/article.php?id=244">
<title>機動戦士ガンダム DVD-BOX</title>
<link>http://www.sandpit.jp/article.php?id=244</link>
<dc:date>2007-04-30T00:27:34+09:00</dc:date>
<description>機動戦士ガンダムDVD-BOX 1 特典フィギュア付(完全初回限定生産)矢立肇 富野喜幸 古谷徹 バンダイビジュアル  2006-12-22売り上げランキング : 1996おすすめ平均  Amazonで詳しく見る by G-Tools
...</description>
<content:encoded>
<![CDATA[
<table  border="0" cellpadding="5"><tr><td valign="top"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B000ETQSKS/sandpitjp-22/"><img src="http://ec1.images-amazon.com/images/I/21ZEA6DG77L.jpg" alt="機動戦士ガンダムDVD-BOX 1 特典フィギュア付(完全初回限定生産)" /></a></td><td valign="top"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B000ETQSKS/sandpitjp-22/">機動戦士ガンダムDVD-BOX 1 特典フィギュア付(完全初回限定生産)</a><br />矢立肇 富野喜幸 古谷徹 <br /><br />バンダイビジュアル  2006-12-22<br />売り上げランキング : 1996<br />おすすめ平均  <img src="http://g-images.amazon.com/images/G/01/detail/stars-4-0.gif" alt="stars4.0" /><br /><br /><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B000ETQSKS/sandpitjp-22/">Amazonで詳しく見る</a> by <a href="http://www.goodpic.com/mt/aws/index.html" >G-Tools</a></td></tr>

<tr><td valign="top"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B000F9TD5O/sandpitjp-22/"><img src="http://ec1.images-amazon.com/images/I/21KHM4H2SYL.jpg" alt="機動戦士ガンダムDVD-BOX 2" /></a></td><td valign="top"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B000F9TD5O/sandpitjp-22/">機動戦士ガンダムDVD-BOX 2</a><br />矢立肇 富野喜幸 古谷徹 <br /><br />バンダイビジュアル  2007-01-26<br />売り上げランキング : 910<br />おすすめ平均  <img src="http://g-images.amazon.com/images/G/01/detail/stars-4-5.gif" alt="stars4.5" /><br /><br /><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B000F9TD5O/sandpitjp-22/">Amazonで詳しく見る</a> by <a href="http://www.goodpic.com/mt/aws/index.html" >G-Tools</a></td></tr></table>

近くの店でなぜか半額で売っていたので、まとめて購入してしまった。
]]>
</content:encoded>
</item>

</rdf:RDF>
