<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">

<channel>
	<title>. cassiano leal .</title>
	
	<link>http://cassianoleal.wordpress.com</link>
	<description>freedom for what it's worth</description>
	<lastBuildDate>Tue, 31 Mar 2009 19:27:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain="cassianoleal.wordpress.com" port="80" path="/?rsscloud=notify" registerProcedure="" protocol="http-post" />
<image>
		<url>http://www.gravatar.com/blavatar/30b0ea91e5f0e1b13313098741097872?s=96&amp;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>. cassiano leal .</title>
		<link>http://cassianoleal.wordpress.com</link>
	</image>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/cassianoleal" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>pdo_oci the Debian way (almost)</title>
		<link>http://cassianoleal.wordpress.com/2009/03/31/pdo_oci-the-debian-way-almost/</link>
		<comments>http://cassianoleal.wordpress.com/2009/03/31/pdo_oci-the-debian-way-almost/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 19:22:56 +0000</pubDate>
		<dc:creator>cassiano leal</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://cassianoleal.wordpress.com/?p=22</guid>
		<description><![CDATA[Following up to this post and this post, here&#8217;s quick instructions on how to actually get the proper pdo_oci package on Debian Squeeze.
First, install the pdo extension as described in the second link above.
Then, begin the same procedure for pdo_oci, but stop right after the command dh-make-pecl
Now comes the magic. Open the file debian/rules in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=22&subd=cassianoleal&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Following up to <a href="http://cassianoleal.wordpress.com/2008/03/03/how-i-managed-to-install-pdo_oci-under-debianlenny/">this post</a> and <a href="http://cassianoleal.wordpress.com/2009/01/14/compiling-php5-modules-in-debian/">this post</a>, here&#8217;s quick instructions on how to actually get the proper pdo_oci package on Debian Squeeze.</p>
<p>First, install the pdo extension as described in the second link above.</p>
<p>Then, begin the same procedure for pdo_oci, but stop right after the command <code>dh-make-pecl</code></p>
<p>Now comes the magic. Open the file debian/rules in the newly created dir (php-pdo-oci-1.0.1).</p>
<p>Change the constant <code>PECL_PKG_NAME=pdo-oci</code> to <code>PECL_PKG_NAME=pdo_oci</code></p>
<p>Now look for the block <code>configure-stamp-v4 configure-stamp-v5:</code></p>
<p>There, right after the line that says <code>$(PHPIZE)$*; \</code></p>
<p>insert these lines:</p>
<p><code>sed -e 's/prefix\/include\/php\/ext/prefix\/include\/php5\/ext/' configure &gt; /tmp/pdo_oci-configure; \<br />
cp /tmp/pdo_oci-configure ./configure; \</code></p>
<p>Save the file and proceed as explained in the referred post. That should do it! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cassianoleal.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cassianoleal.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cassianoleal.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cassianoleal.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cassianoleal.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cassianoleal.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cassianoleal.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cassianoleal.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cassianoleal.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cassianoleal.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=22&subd=cassianoleal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cassianoleal.wordpress.com/2009/03/31/pdo_oci-the-debian-way-almost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cassiano leal</media:title>
		</media:content>
	</item>
		<item>
		<title>Ardour in need of support from the community</title>
		<link>http://cassianoleal.wordpress.com/2009/02/08/ardour-in-need-of-support-from-the-community/</link>
		<comments>http://cassianoleal.wordpress.com/2009/02/08/ardour-in-need-of-support-from-the-community/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 14:57:36 +0000</pubDate>
		<dc:creator>cassiano leal</dc:creator>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://cassianoleal.wordpress.com/?p=18</guid>
		<description><![CDATA[This will be a quick post on a subject that I think needs great attention from the music and the FOSS communities.
Ardour (http://www.ardour.org/) is a fantastic free DAW (Digital Audio Workstation) software. It aims to meet and supercede commercial DAW features, like Cubase, Logic and others. It already is a great tool (the latest one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=18&subd=cassianoleal&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This will be a quick post on a subject that I think needs great attention from the music and the FOSS communities.</p>
<p>Ardour (<a href="http://www.ardour.org/">http://www.ardour.org/</a>) is a fantastic free DAW (Digital Audio Workstation) software. It aims to meet and supercede commercial DAW features, like Cubase, Logic and others. It already is a great tool (the latest one that I have used was 2.0 &#8212; current stable release is 2.7.1 while 3.0 is already in the works) and many people of the FOSS community benefit from it.</p>
<p>It just came to me today as sad news that the company that was supporting the project, SAE, is now discontinuing this much needed support, leaving Paul, Ardour’s lead developer, in <a href="http://www.ardour.org/node/2406">need for a job</a> and thus less attentious to the project.</p>
<p>Many people are already moving fingers to help the project, but it certainly needs much more help. One way to help is to spread the word (like I am doing, as I currently don&#8217;t have the means to support financially the project), another is to make donations or to subscribe to their donation plan. More info can be found in their <a href="http://www.ardour.org/">home page</a>.</p>
<p>Please do not let the best FOSS DAW die.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cassianoleal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cassianoleal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cassianoleal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cassianoleal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cassianoleal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cassianoleal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cassianoleal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cassianoleal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cassianoleal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cassianoleal.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=18&subd=cassianoleal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cassianoleal.wordpress.com/2009/02/08/ardour-in-need-of-support-from-the-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cassiano leal</media:title>
		</media:content>
	</item>
		<item>
		<title>Compiling PHP5 modules in Debian</title>
		<link>http://cassianoleal.wordpress.com/2009/01/14/compiling-php5-modules-in-debian/</link>
		<comments>http://cassianoleal.wordpress.com/2009/01/14/compiling-php5-modules-in-debian/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 17:12:29 +0000</pubDate>
		<dc:creator>cassiano leal</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://cassianoleal.wordpress.com/?p=15</guid>
		<description><![CDATA[Hey!
This post explains my first attempts in getting PDO_OCI installed in Debian. Even though it works and has served me quite well for some time, now I&#8217;ve found a way to make actual .deb packages of these modules so I can save them for later use (or distribution, as long as their source code goes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=15&subd=cassianoleal&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hey!</p>
<p><a href="http://cassianoleal.wordpress.com/2008/03/03/how-i-managed-to-install-pdo_oci-under-debianlenny/" target="_self">This post</a> explains my first attempts in getting PDO_OCI installed in Debian. Even though it works and has served me quite well for some time, now I&#8217;ve found a way to make actual .deb packages of these modules so I can save them for later use (or distribution, as long as their source code goes along) and have them installed in a sane way via the package manager.</p>
<p>So, first things first. You have to download php5 source (apt-get source php5) and its build dependencies (apt-get build-dep php5). Next thing is to build the extension you need.</p>
<p>I&#8217;ll take PDO for an example.</p>
<p>First, enter the extension&#8217;s directory:<br />
<code>cd php5-5.2.6.dfsg.1/ext/pdo</code><br />
Now, look for a .xml file in this directory. In this case, it is called package2.xml. It contains the extension&#8217;s package description. Now, build a .tgz of the extension:<br />
<code>pecl package package2.xml</code><br />
It will generate a PDO-1.0.3.tgz file. Now, create a Debian package source for this archive:<br />
<code>dh-make-pecl --only 5 PDO-1.0.3.tgz</code><br />
The &#8211;only 5 parameter tells the script builder to make only the php5 package (not php4). Next step is to build the package:<br />
<code>cd php-pdo-1.0.3<br />
fakeroot debian/rules binary</code><br />
If all goes well, there&#8217;s a ../php5-pdo_1.0.3-1_i386.deb file, ready to be installed!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cassianoleal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cassianoleal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cassianoleal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cassianoleal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cassianoleal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cassianoleal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cassianoleal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cassianoleal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cassianoleal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cassianoleal.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=15&subd=cassianoleal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cassianoleal.wordpress.com/2009/01/14/compiling-php5-modules-in-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cassiano leal</media:title>
		</media:content>
	</item>
		<item>
		<title>One more try on the mach64</title>
		<link>http://cassianoleal.wordpress.com/2008/03/08/one-more-try-on-the-mach64/</link>
		<comments>http://cassianoleal.wordpress.com/2008/03/08/one-more-try-on-the-mach64/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 18:15:53 +0000</pubDate>
		<dc:creator>cassiano leal</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://cassianoleal.wordpress.com/?p=9</guid>
		<description><![CDATA[Still tryin to get DRI and Composite on my mach64, I bumped on this site: http://ubuntuforums.org/showpost.php?p=3264969&#38;postcount=6. I have somewhat adapted some of the steps to simplify and better organise things.
First thing is to get the latest xf86-video-ati driver from http://xorg.freedesktop.org/archive/individual/driver/ and untar it to ~/src. If you have no such directory, create it first.
Then, get [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=9&subd=cassianoleal&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Still tryin to get DRI and Composite on my mach64, I bumped on this site: <a href="http://ubuntuforums.org/showpost.php?p=3264969&amp;postcount=6">http://ubuntuforums.org/showpost.php?p=3264969&amp;postcount=6</a>. I have somewhat adapted some of the steps to simplify and better organise things.</p>
<p>First thing is to get the latest xf86-video-ati driver from <a href="http://xorg.freedesktop.org/archive/individual/driver/">http://xorg.freedesktop.org/archive/individual/driver/</a> and untar it to <strong>~/src</strong>. If you have no such directory, create it first.</p>
<p>Then, get the headers for your running kernel and the build-essential: <strong>apt-get install linux-headers-`uname -r` build-essential</strong>.</p>
<p>Create a <strong>~/src/drm-git</strong> directory and run <strong>git clone git://anongit.freedesktop.org/git/mesa/drm</strong> from inside it. This will get the latest drm drivers from upstream.</p>
<p>$ cd drm/linux-core</p>
<p>$ make DRM_MODULES=&#8221;mach64&#8243; </p>
<p>$ sudo cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/</p>
<p>$ sudo depmod -a</p>
<p>$ sudo modprobe mach64</p>
<p>(&#8230;)</p>
<p>$ cd ~/src/xf86-video-ati-6.8.0</p>
<p>$ ./configure &#8211;prefix=/usr</p>
<p>$ make</p>
<p>$ sudo make install</p>
<p>$ sudo /etc/init.d/gdm restart</p>
<p>(to be continued&#8230;)</p>
<p>$ glxinfo | grep direct<br />
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)</p>
<p>$ LIBGL_DEBUG=verbose glxinfo<br />
name of display: :0.0<br />
libGL: XF86DRIGetClientDriverName: 6.7.0 mach64 (screen 0)<br />
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mach64_dri.so<br />
libGL error: dlopen /usr/X11R6/lib/modules/dri/mach64_dri.so failed (/usr/X11R6/lib/modules/dri/mach64_dri.so: cannot open shared object file: No such file or directory)<br />
libGL error: unable to find driver: mach64_dri.so<br />
display: :0  screen: 0<br />
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)<br />
(&#8230;)</p>
<p>The file mach64_dri.so is in the package <strong>libgl1-mesa-dri</strong>. If you don&#8217;t have it installed, <strong>aptitude install libgl1-mesa-dri</strong>. This might not be enough, though, as the dri libs are not in /usr/X11R6/lib/modules/dri, but rather in /usr/lib/dri. What I did to correct this issue was to check that /usr/X11R6/lib/modules/dri was empty, then:</p>
<p>$ sudo rmdir /usr/X11R6/lib/modules/dri<br />
$ sudo ln -s /usr/lib/dri /usr/X11R6/lib/modules/dri</p>
<p>And finaly:</p>
<p>$ glxinfo | grep direct<br />
DISPATCH ERROR! _glapi_add_dispatch failed to add glAreTexturesResident!<br />
DISPATCH ERROR! _glapi_add_dispatch failed to add glGenTextures!<br />
DISPATCH ERROR! _glapi_add_dispatch failed to add glIsTexture!<br />
do_wait: drmWaitVBlank returned -1, IRQs don&#8217;t seem to be working correctly.<br />
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.<br />
direct rendering: Yes</p>
<p>Yay! That&#8217;s it! Now, to get the transparent terminal&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cassianoleal.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cassianoleal.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cassianoleal.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cassianoleal.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cassianoleal.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cassianoleal.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cassianoleal.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cassianoleal.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cassianoleal.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cassianoleal.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cassianoleal.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cassianoleal.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=9&subd=cassianoleal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cassianoleal.wordpress.com/2008/03/08/one-more-try-on-the-mach64/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cassiano leal</media:title>
		</media:content>
	</item>
		<item>
		<title>How to get the C-Cedilla on GNOME</title>
		<link>http://cassianoleal.wordpress.com/2008/03/04/how-to-get-the-c-cedilla-on-gnome/</link>
		<comments>http://cassianoleal.wordpress.com/2008/03/04/how-to-get-the-c-cedilla-on-gnome/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 23:41:53 +0000</pubDate>
		<dc:creator>cassiano leal</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cassianoleal.wordpress.com/?p=8</guid>
		<description><![CDATA[I have been through a lot of trouble to get c-cedilla (cê-cedilha, in portuguese) as the default for &#8216; + c (accute accent + c) on GNOME. In case you don&#8217;t know what I am talking about, this is what the character looks like: ç.
Turns out that if I set my language to portuguese, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=8&subd=cassianoleal&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been through a lot of trouble to get c-cedilla (<em>cê-cedilha</em>, in portuguese) as the default for &#8216; + c (accute accent + c) on GNOME. In case you don&#8217;t know what I am talking about, this is what the character looks like: <strong>ç</strong>.</p>
<p>Turns out that if I set my language to portuguese, I do get the cedilla by default. The problem is that I really prefer to have my system in english, and with this language I get this character by default: <strong>ć</strong>.</p>
<p>After reading a bit, I found the <em>gtk-query-immodules-2.0</em> command, which I have used this way:</p>
<pre>$ gtk-query-immodules-2.0 | grep cedilla
"/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa"</pre>
<p>This tells me which languages will have the c-cedilla behaviour by default. After some more research I found <a href="http://ubuntuforums.org/showthread.php?t=594736">this link</a> which pointed me to the file <em>/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules</em>. I have edited the cedilla section of this file by adding<br />
<blockquote>:en</p></blockquote>
<p> to the end of the languages array, like this:</p>
<pre>"/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa:en"</pre>
<p>This should be enough. When I restart X I will post the results here.</p>
<p><strong>Update:</strong> Yes, it did! Just as a reminder, it is also necessary to choose the international variant of your keyboard. To do that, go to System / Preferences / Keyboard, open the <em>Layouts</em> tab, click on <em>Add</em> and choose your layout (United Kingdom, in my case) and Variation: <em>International (with dead keys)</em>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cassianoleal.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cassianoleal.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cassianoleal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cassianoleal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cassianoleal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cassianoleal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cassianoleal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cassianoleal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cassianoleal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cassianoleal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cassianoleal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cassianoleal.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=8&subd=cassianoleal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cassianoleal.wordpress.com/2008/03/04/how-to-get-the-c-cedilla-on-gnome/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cassiano leal</media:title>
		</media:content>
	</item>
		<item>
		<title>DRI on an old ATI mach64 card</title>
		<link>http://cassianoleal.wordpress.com/2008/03/04/dri-on-an-old-ati-mach64-card/</link>
		<comments>http://cassianoleal.wordpress.com/2008/03/04/dri-on-an-old-ati-mach64-card/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 11:51:21 +0000</pubDate>
		<dc:creator>cassiano leal</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cassianoleal.wordpress.com/?p=7</guid>
		<description><![CDATA[So, here I go trying to get some transparency on my old laptop. I have done it in the past, so I know it is posible.
The laptop is a VM7000 made by RM. It has a Coppermine Celeron 500MHz and it had originally 128MB of RAM. I have recently increased that to 256, which is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=7&subd=cassianoleal&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So, here I go trying to get some transparency on my old laptop. I have done it in the past, so I know it is posible.</p>
<p>The laptop is a VM7000 made by RM. It has a Coppermine Celeron 500MHz and it had originally 128MB of RAM. I have recently increased that to 256, which is the maximum it supports.</p>
<p>The video card, according to lspci, is a &#8220;VGA compatible controller: ATI Technologies Inc 3D Rage LT Pro (rev dc)&#8221;. It uses the mach64 driver. My goal here is to get DRI working on it so I can have drop shadows and real translucency for the terminal windows (I know it is rather useless, but it looks cool).</p>
<p>The system is an up-to-date Debian Lenny. To achieve this objective, I am mostly being guided by this thread on the Ubuntu Forums: <a href="http://ubuntuforums.org/showthread.php?t=7200">http://ubuntuforums.org/showthread.php?t=7200</a>.</p>
<p>So far, I have accomplished steps 1 &#8211; 5. The install.sh script in the mach64 directory has given trouble. First, by looking at the dri.log file generated by the script, I have found that it is trying to find a linux/config.h in the kernel headers directory. It is not there because it has been deprecated. By following <a href="http://www.mail-archive.com/pwc@lists.saillard.org/msg00501.html">this tip</a> I have managed to get past all the config.h errors by substituting it by autoconf.h in all files that were trying to include it.</p>
<p>This, though, has led me to another error, a quite esoteric one: &#8220;error: size of array ‘type name’ is negative&#8221;.</p>
<p>After reading <a href="http://lkml.org/lkml/2007/5/10/461">this</a> I have decided to recompile my kernel with </p>
<blockquote><p>CONFIG_PHYSICAL_START=0&#215;200000</p></blockquote>
<p>I know that the solution mentioned in the link is about x64 and this laptop is definitely not 64 bit, but I guess it&#8217;s worth the shot. It might just work.</p>
<p><strong>Update:</strong> No, it didn&#8217;t. After recompiling the kernel, the install.sh script of mach64 still gave the same error. I&#8217;ll keep trying and will keep posting the results here.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cassianoleal.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cassianoleal.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cassianoleal.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cassianoleal.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cassianoleal.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cassianoleal.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cassianoleal.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cassianoleal.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cassianoleal.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cassianoleal.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cassianoleal.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cassianoleal.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=7&subd=cassianoleal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cassianoleal.wordpress.com/2008/03/04/dri-on-an-old-ati-mach64-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cassiano leal</media:title>
		</media:content>
	</item>
		<item>
		<title>How I managed to install PDO_OCI on Debian Lenny</title>
		<link>http://cassianoleal.wordpress.com/2008/03/03/how-i-managed-to-install-pdo_oci-under-debianlenny/</link>
		<comments>http://cassianoleal.wordpress.com/2008/03/03/how-i-managed-to-install-pdo_oci-under-debianlenny/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 13:40:57 +0000</pubDate>
		<dc:creator>cassiano leal</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://cassianoleal.wordpress.com/?p=5</guid>
		<description><![CDATA[After successfully installing the PDO extension through a simple &#8216;pecl install package2.xml&#8217; from inside pdo&#8217;s directory of the php-5.2.5 sources, this is what I did:
(Note that I have done an &#8216;apt-get source php5&#8242; in /usr/src, and un-tar-ed it in the same place.)
/usr/src/php-5.2.5/ext/pdo_oci$ sudo phpize5
Configuring for:
PHP Api Version:         [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=5&subd=cassianoleal&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After successfully installing the PDO extension through a simple &#8216;pecl install package2.xml&#8217; from inside pdo&#8217;s directory of the php-5.2.5 sources, this is what I did:</p>
<p>(Note that I have done an &#8216;apt-get source php5&#8242; in /usr/src, and un-tar-ed it in the same place.)</p>
<pre>/usr/src/php-5.2.5/ext/pdo_oci$ sudo phpize5
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519

/usr/src/php-5.2.5/ext/pdo_oci$ sudo ./configure --prefix=/usr --with-pdo-oci=/usr/lib/oracle/10.2.0.3/client
(... usual ./configure output ...)</pre>
<p>Now, if I try to run make, I get some dependency problems:</p>
<pre>In file included from /usr/src/php-5.2.5/ext/pdo_oci/pdo_oci.c:31:
/usr/src/php-5.2.5/ext/pdo_oci/php_pdo_oci_int.h:21:17: error: oci.h: No such file or directory</pre>
<p><del datetime="00">So, I &#8216;vi Makefile&#8217; and added the oracle lib path to the &#8216;INCLUDES=&#8217; line, like that:</p>
<pre>INCLUDES = -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/oracle/10.2.0.3/client/lib</pre>
<p>then I was able to do the usual &#8217;sudo make &amp;&amp; sudo make install&#8217; and all was good.</del></p>
<p>UPDATE: I have actually found what seems to be the most correct way of telling the compiler where to look for headers. You have to use <i>ldconfig</i> to point to the directories that hold them.</p>
<p>Now, the instantclient packages install things in two different directories: /usr/lib/oracle and /usr/include/oracle. We will add links to both:</p>
<pre>$ sudo ldconfig /usr/lib/oracle/10.2.0.3/client/lib
$ sudo ldconfig /usr/include/oracle/10.2.0.3/client</pre>
<p>These should be enough in order for our usual &#8217;sudo make &amp;&amp; sudo make install&#8217; work as usual! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cassianoleal.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cassianoleal.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cassianoleal.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cassianoleal.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cassianoleal.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cassianoleal.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cassianoleal.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cassianoleal.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cassianoleal.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cassianoleal.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cassianoleal.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cassianoleal.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cassianoleal.wordpress.com&blog=1005445&post=5&subd=cassianoleal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cassianoleal.wordpress.com/2008/03/03/how-i-managed-to-install-pdo_oci-under-debianlenny/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cassiano leal</media:title>
		</media:content>
	</item>
	</channel>
</rss>
