<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Cabal-install is awesome</title>
	<atom:link href="http://www.alsonkemp.com/haskell/cabal-install-is-awesome/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/</link>
	<description>Hackfoofery</description>
	<lastBuildDate>Sat, 18 May 2013 16:45:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Anton</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-317</link>
		<dc:creator>Anton</dc:creator>
		<pubDate>Mon, 16 Nov 2009 14:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-317</guid>
		<description><![CDATA[&lt;p&gt;I use cabal install . But did not finish install Turbinado beacause i did not install &#039;happy&#039;.
This is awesome to install from Cabal (&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>I use cabal install . But did not finish install Turbinado beacause i did not install &#8216;happy&#8217;.
This is awesome to install from Cabal (</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodo</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-234</link>
		<dc:creator>bodo</dc:creator>
		<pubDate>Sat, 07 Feb 2009 18:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-234</guid>
		<description><![CDATA[&lt;p&gt;Great, I can start the server right now. So I&#039;ll try the wiki thing you wrote about earlier. :D&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Great, I can start the server right now. So I&#8217;ll try the wiki thing you wrote about earlier. <img src='http://d1r5286bar8cf9.cloudfront.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alson</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-233</link>
		<dc:creator>alson</dc:creator>
		<pubDate>Sat, 07 Feb 2009 17:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-233</guid>
		<description><![CDATA[&lt;p&gt;Bodo,&lt;/p&gt;

&lt;p&gt;A sample App.hs is included with Turbinado, but you need to create your own.  That could be as simple as copying Config/App.hs.sample -&gt; Config/App.hs.&lt;/p&gt;

&lt;p&gt;You might try starting with the turbinado-website (though then you&#039;ll need to disable the databaseConnection in Config/App.hs).&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Bodo,</p>

<p>A sample App.hs is included with Turbinado, but you need to create your own.  That could be as simple as copying Config/App.hs.sample -> Config/App.hs.</p>

<p>You might try starting with the turbinado-website (though then you&#8217;ll need to disable the databaseConnection in Config/App.hs).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodo</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-232</link>
		<dc:creator>bodo</dc:creator>
		<pubDate>Sat, 07 Feb 2009 13:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-232</guid>
		<description><![CDATA[&lt;p&gt;I found the problem that caused the error of my previous post, actually the dev package for postgresql was missing on my machine.&lt;/p&gt;

&lt;p&gt;I switched now to my ubuntu server 8.10 machine and tried to install turbinado there, but I get an error after the dependencies are installed.&lt;/p&gt;

&lt;p&gt;So this is what I did actually on my freshly installed ubuntu box:&lt;/p&gt;

&lt;p&gt;sudo su
apt-get update
apt-get upgrade&lt;/p&gt;

&lt;p&gt;apt-get install libedit-dev darcs git-core libgmp3-dev zlib1g-dev postgresql postgresql-server-dev-8.3 happy make&lt;/p&gt;

&lt;p&gt;cd /usr/local/src
wget http://haskell.org/ghc/dist/6.10.1/ghc-6.10.1-i386-unknown-linux-libedit2.tar.bz2
tar xjvf ghc-6.10.1-i386-unknown-linux-libedit2.tar.bz2
cd ghc-6.10.1
./configure
make install&lt;/p&gt;

&lt;p&gt;cd /usr/local/src
darcs get --partial http://darcs.haskell.org/cabal-install/
cd cabal-install
sh bootstrap.sh&lt;/p&gt;

&lt;p&gt;vim /etc/environment
--&gt; Add the local bin path (reload the path)
--&gt; /root/.cabal/bin/&lt;/p&gt;

&lt;p&gt;reboot (because of a kernel upgrade + path refreshment)&lt;/p&gt;

&lt;p&gt;cabal update&lt;/p&gt;

&lt;p&gt;cd /usr/local/src
git clone git://github.com/alsonkemp/turbinado.git
cd turbinado
cabal install&lt;/p&gt;

&lt;p&gt;And I get the following error:&lt;/p&gt;

&lt;p&gt;Configuring turbinado-0.4.9...
Preprocessing executables for turbinado-0.4.9...
Building turbinado-0.4.9...&lt;/p&gt;

&lt;p&gt;Config/Master.hs:128:7:
    Could not find module `Config.App&#039;:
      Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
turbinado-0.4.9 failed during the building phase. The exception was:
exit: ExitFailure 1&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>I found the problem that caused the error of my previous post, actually the dev package for postgresql was missing on my machine.</p>

<p>I switched now to my ubuntu server 8.10 machine and tried to install turbinado there, but I get an error after the dependencies are installed.</p>

<p>So this is what I did actually on my freshly installed ubuntu box:</p>

<p>sudo su
apt-get update
apt-get upgrade</p>

<p>apt-get install libedit-dev darcs git-core libgmp3-dev zlib1g-dev postgresql postgresql-server-dev-8.3 happy make</p>

<p>cd /usr/local/src
wget <a href="http://haskell.org/ghc/dist/6.10.1/ghc-6.10.1-i386-unknown-linux-libedit2.tar.bz2" rel="nofollow">http://haskell.org/ghc/dist/6.10.1/ghc-6.10.1-i386-unknown-linux-libedit2.tar.bz2</a>
tar xjvf ghc-6.10.1-i386-unknown-linux-libedit2.tar.bz2
cd ghc-6.10.1
./configure
make install</p>

<p>cd /usr/local/src
darcs get &#8211;partial <a href="http://darcs.haskell.org/cabal-install/" rel="nofollow">http://darcs.haskell.org/cabal-install/</a>
cd cabal-install
sh bootstrap.sh</p>

<p>vim /etc/environment
&#8211;&gt; Add the local bin path (reload the path)
&#8211;&gt; /root/.cabal/bin/</p>

<p>reboot (because of a kernel upgrade + path refreshment)</p>

<p>cabal update</p>

<p>cd /usr/local/src
git clone git://github.com/alsonkemp/turbinado.git
cd turbinado
cabal install</p>

<p>And I get the following error:</p>

<p>Configuring turbinado-0.4.9&#8230;
Preprocessing executables for turbinado-0.4.9&#8230;
Building turbinado-0.4.9&#8230;</p>

<p>Config/Master.hs:128:7:
    Could not find module `Config.App&#8217;:
      Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
turbinado-0.4.9 failed during the building phase. The exception was:
exit: ExitFailure 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alson</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-225</link>
		<dc:creator>alson</dc:creator>
		<pubDate>Thu, 05 Feb 2009 22:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-225</guid>
		<description><![CDATA[&lt;p&gt;Bodo,&lt;/p&gt;

&lt;p&gt;Doh.  That doesn&#039;t look too pretty.  You might contact John Goerzen and file a bug.  See here: http://software.complete.org/software/projects/show/hdbc&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Bodo,</p>

<p>Doh.  That doesn&#8217;t look too pretty.  You might contact John Goerzen and file a bug.  See here: <a href="http://software.complete.org/software/projects/show/hdbc" rel="nofollow">http://software.complete.org/software/projects/show/hdbc</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodo</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-224</link>
		<dc:creator>bodo</dc:creator>
		<pubDate>Thu, 05 Feb 2009 21:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-224</guid>
		<description><![CDATA[&lt;p&gt;I tried to install turbinado via cabal on mac but it failed when it tried to install the postgresql hdbc driver:&lt;/p&gt;

&lt;p&gt;/tmp/TMPHDBC-postgresql-2.0.0.0/HDBC-postgresql-2.0.0.0/Setup.hs:3:0:
    Warning: In the use of `defaultUserHooks&#039;
             (imported from Distribution.Simple):
             Deprecated: &quot;Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2
             compatibility in which case you must stick with defaultUserHooks&quot;
Linking /tmp/TMPHDBC-postgresql-2.0.0.0/HDBC-postgresql-2.0.0.0/dist/setup/setup ...
Warning: defaultUserHooks in Setup script is deprecated.&lt;/p&gt;

&lt;p&gt;Configuring HDBC-postgresql-2.0.0.0...
setup: pgconfig is required but it could not be found.
cabal: Error: some packages failed to install:
HDBC-postgresql-2.0.0.0 failed during the configure step. The exception was:
exit: ExitFailure 1
turbinado-0.4.9 depends on HDBC-postgresql-2.0.0.0 which failed to install.&lt;/p&gt;

&lt;p&gt;did someone of you succeed in installing turbinado on leopard? Or does it really work only on linux?&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>I tried to install turbinado via cabal on mac but it failed when it tried to install the postgresql hdbc driver:</p>

<p>/tmp/TMPHDBC-postgresql-2.0.0.0/HDBC-postgresql-2.0.0.0/Setup.hs:3:0:
    Warning: In the use of `defaultUserHooks&#8217;
             (imported from Distribution.Simple):
             Deprecated: &#8220;Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2
             compatibility in which case you must stick with defaultUserHooks&#8221;
Linking /tmp/TMPHDBC-postgresql-2.0.0.0/HDBC-postgresql-2.0.0.0/dist/setup/setup &#8230;
Warning: defaultUserHooks in Setup script is deprecated.</p>

<p>Configuring HDBC-postgresql-2.0.0.0&#8230;
setup: pgconfig is required but it could not be found.
cabal: Error: some packages failed to install:
HDBC-postgresql-2.0.0.0 failed during the configure step. The exception was:
exit: ExitFailure 1
turbinado-0.4.9 depends on HDBC-postgresql-2.0.0.0 which failed to install.</p>

<p>did someone of you succeed in installing turbinado on leopard? Or does it really work only on linux?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wman</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-171</link>
		<dc:creator>wman</dc:creator>
		<pubDate>Mon, 02 Feb 2009 18:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-171</guid>
		<description><![CDATA[&lt;p&gt;Successfully built on Windows (MinGW/MSYS) - don&#039;t know whether it&#039;s due some of your latest effort or updates on hackage, but as the pages are stating that currently Turbinado is linux-only, I&#039;m reporting success ;-).&lt;/p&gt;

&lt;p&gt;Only fetched turbinado from git repository, then for some packages it was necessarry to give exact version to cabal install so it would pick the package at all (cabal install happy 1.18.2).&lt;/p&gt;

&lt;p&gt;hs-plugins required few tweaks: config.h file - double the &#092;&#039;s in GHC_LIB_PATH, otherwisely error is reported in System.Plugins.Consts.hs;&lt;/p&gt;

&lt;p&gt;then two imports in System.Plugins.Env.hs -- System.Environment (getEnv) &amp; System.Plugins.Consts (ghcLibraryPath).&lt;/p&gt;

&lt;p&gt;Then just cabal install in the turbinado dir &amp; evoila ;-)&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Successfully built on Windows (MinGW/MSYS) &#8211; don&#8217;t know whether it&#8217;s due some of your latest effort or updates on hackage, but as the pages are stating that currently Turbinado is linux-only, I&#8217;m reporting success <img src='http://d1r5286bar8cf9.cloudfront.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>

<p>Only fetched turbinado from git repository, then for some packages it was necessarry to give exact version to cabal install so it would pick the package at all (cabal install happy 1.18.2).</p>

<p>hs-plugins required few tweaks: config.h file &#8211; double the &#92;&#8217;s in GHC_LIB_PATH, otherwisely error is reported in System.Plugins.Consts.hs;</p>

<p>then two imports in System.Plugins.Env.hs &#8212; System.Environment (getEnv) &amp; System.Plugins.Consts (ghcLibraryPath).</p>

<p>Then just cabal install in the turbinado dir &amp; evoila <img src='http://d1r5286bar8cf9.cloudfront.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alson</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-141</link>
		<dc:creator>alson</dc:creator>
		<pubDate>Sun, 01 Feb 2009 20:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-141</guid>
		<description><![CDATA[&lt;p&gt;Duncan,&lt;/p&gt;

&lt;p&gt;Yeah, I tried to help out with cabal-install and the directories thing a couple of years ago, but couldn&#039;t figure out a good solution. I probably did more harm than good.  I&#039;ll drop a note in the ticket.&lt;/p&gt;

&lt;p&gt;Erik,&lt;/p&gt;

&lt;p&gt;Thanks for the info.  That might be a nice solution: if bindir isn&#039;t configured, cabal will ask you for the bindir location, then will save it to .cabal/config...  Standard locations could be suggested based on *nix or Windows.&lt;/p&gt;

&lt;p&gt;-A&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Duncan,</p>

<p>Yeah, I tried to help out with cabal-install and the directories thing a couple of years ago, but couldn&#8217;t figure out a good solution. I probably did more harm than good.  I&#8217;ll drop a note in the ticket.</p>

<p>Erik,</p>

<p>Thanks for the info.  That might be a nice solution: if bindir isn&#8217;t configured, cabal will ask you for the bindir location, then will save it to .cabal/config&#8230;  Standard locations could be suggested based on *nix or Windows.</p>

<p>-A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-133</link>
		<dc:creator>Duncan</dc:creator>
		<pubDate>Sun, 01 Feb 2009 14:04:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-133</guid>
		<description><![CDATA[&lt;p&gt;Yes, if we could agree where to install user executables that would be great. The current setting is obviously not ideal and we all know it. However getting a consensus on where is better is much harder than it should be.&lt;/p&gt;

&lt;p&gt;I&#039;d really appreciate some more discussion on what to do here. The ticket is:
http://hackage.haskell.org/trac/hackage/ticket/289&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Yes, if we could agree where to install user executables that would be great. The current setting is obviously not ideal and we all know it. However getting a consensus on where is better is much harder than it should be.</p>

<p>I&#8217;d really appreciate some more discussion on what to do here. The ticket is:
<a href="http://hackage.haskell.org/trac/hackage/ticket/289" rel="nofollow">http://hackage.haskell.org/trac/hackage/ticket/289</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.alsonkemp.com/haskell/cabal-install-is-awesome/comment-page-1/#comment-132</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Sun, 01 Feb 2009 12:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=263#comment-132</guid>
		<description><![CDATA[&lt;p&gt;You can also set the option &#039;bindir&#039; in .cabal/config to something more useful, like ~/bin. But maybe that should be the default. I was confused by this in the beginning.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>You can also set the option &#8216;bindir&#8217; in .cabal/config to something more useful, like ~/bin. But maybe that should be the default. I was confused by this in the beginning.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 432/454 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d1r5286bar8cf9.cloudfront.net

 Served from: www.alsonkemp.com @ 2013-05-23 14:08:17 by W3 Total Cache -->