<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>RemVee.blog</title>
    <link>http://blog.remvee.net/</link>
    <description>RemVee.blog do { |item| item.mangle }</description>
    <item>
      <title>Installing CLSQL on OS X</title>
      <link>http://blog.remvee.net/2008/11/22/Installing_CLSQL_on_OS_X</link>
      <description>&lt;p&gt;Here&amp;#8217;s my recipe to get &lt;a href=&quot;http://clsql.b9.com/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CLSQL&lt;/span&gt;&lt;/a&gt; to work on my OS X development environment.  I already had &lt;a href=&quot;http://www.sbcl.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;SBCL&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;http://www.mysql.org/&quot;&gt;MySQL 5&lt;/a&gt; installed using &lt;a href=&quot;http://www.macports.org/&quot;&gt;MacPorts&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;First you need to get the code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
git clone git://git.b9.com/clsql.git
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;MacPorts &lt;em&gt;hides&lt;/em&gt; the MySQL libraries and headers somewhere in &lt;code&gt;/opt&lt;/code&gt; so you need to make some tweaks.  Change &lt;code&gt;db-mysql/Makefile&lt;/code&gt;, by adding:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
-I/opt/local/include/mysql5/mysql
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to &lt;code&gt;CFLAGS&lt;/code&gt; (first appearance) and:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
-L/opt/local/lib/mysql5/mysql/
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to &lt;code&gt;LDFLAGS&lt;/code&gt; (also first appearance).  You&amp;#8217;re now ready to build the interface.  Run &lt;code&gt;make&lt;/code&gt; from the &lt;code&gt;clsql&lt;/code&gt; directory:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
make&lt;/pre&gt;&lt;p&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This should finish without errors.  Now you can install &lt;span class=&quot;caps&quot;&gt;CLSQL&lt;/span&gt; with the rest of you &lt;a href=&quot;http://common-lisp.net/project/asdf/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;ASDF&lt;/span&gt;&lt;/a&gt; systems (I prefer to keep them in my home location):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
cp -rp clsql ~/.sbcl/site
(cd ~/.sbcl/system; ln -s ../site/clsql/*.asd .)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To allow &lt;span class=&quot;caps&quot;&gt;CLSQL&lt;/span&gt; to find the &lt;code&gt;mysqlclient&lt;/code&gt; library you need to create &lt;code&gt;/etc/clsql-init.lisp&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
echo '(clsql:push-library-path #p&quot;/opt/local/lib/mysql5/mysql/&quot;)' &amp;gt; /etc/clsql-init.lisp
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Finally you can run the included test suite to see if it all works fine.  Run the tests (my mysql root user doesn&amp;#8217;t have a password on my development machine) as follows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
mysqladmin5 create clsql-test
echo '((:mysql (&quot;localhost&quot; &quot;clsql-test&quot; &quot;root&quot; &quot;&quot;)))' &amp;gt; ~/.clsql-test.config
sbcl &amp;lt;&amp;lt; EOF
(require 'asdf)
(asdf:oos 'asdf:test-op :clsql)
EOF
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Not as easy as installing it on a Debian system (&lt;code&gt;apt-get install cl-sql&lt;/code&gt;) but not very hard either.&lt;/p&gt;
&lt;p&gt;Happy MySQL hacking with Common Lisp on OS X!&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Sat, 22 Nov 2008 09:03:00 +0100</pubDate>
    </item>
    <item>
      <title>Lisp is 50 jaar!</title>
      <link>http://blog.remvee.net/2008/10/19/Lisp_is_50_jaar</link>
      <description>&lt;p&gt;Vandaag wordt er gevierd dat &lt;a href=&quot;http://www.lisp50.org/&quot;&gt;Lisp 50 jaar&lt;/a&gt; bestaat!  &lt;a href=&quot;http://www8.informatik.uni-erlangen.de/html/lisp/histlit1.html&quot;&gt;Hiep&lt;/a&gt; &lt;a href=&quot;http://www.lisp.org/&quot;&gt;hiep&lt;/a&gt; &lt;a href=&quot;http://common-lisp.net/&quot;&gt;hoera&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update:&lt;/em&gt; Had je erbij willen zijn?  &lt;a href=&quot;http://www.lispcast.com/drupal/blog/1&quot;&gt;Eric&lt;/a&gt; was erbij: &lt;a href=&quot;http://www.lispcast.com/drupal/node/77&quot;&gt;13 hours of Lisp&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update 2:&lt;/em&gt; &lt;a href=&quot;http://lispy.wordpress.com/&quot;&gt;Lispy&lt;/a&gt; doet uitgebreid verslag in &lt;a href=&quot;http://lispy.wordpress.com/2008/10/22/lisp50-notes-part-i-johnl-recalls-how-sussman-revealed-nature-of-intelligence/&quot;&gt;I&lt;/a&gt;, &lt;a href=&quot;http://lispy.wordpress.com/2008/10/22/lisp50-notes-part-ii-model-view-controller-considered-harmful/&quot;&gt;II&lt;/a&gt;, &lt;a href=&quot;http://lispy.wordpress.com/2008/10/23/lisp50-notes-part-iii-mccarthy-reaffirms-the-importance-of-having-access-to-the-abstract-syntax/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;III&lt;/span&gt;&lt;/a&gt;, &lt;a href=&quot;http://lispy.wordpress.com/2008/10/23/lisp50-notes-part-iv-fritz-kunz-enters-the-lisp-mine-field/&quot;&gt;IV&lt;/a&gt;, &lt;a href=&quot;http://lispy.wordpress.com/2008/10/24/lisp50-notes-part-v-interlisp-parc-and-the-common-lisp-consolidation-wars/&quot;&gt;V&lt;/a&gt;, &lt;a href=&quot;http://lispy.wordpress.com/2008/10/25/lisp50-notes-part-vi-the-future-of-lisp/&quot;&gt;VI&lt;/a&gt; delen.&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Sun, 19 Oct 2008 15:00:00 +0200</pubDate>
    </item>
  </channel>
</rss>
