<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>42 &#187; Mandriva</title>
	<atom:link href="http://www.42.mach7x.com/tag/mandriva/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.42.mach7x.com</link>
	<description>Thoughts and tips about programming with Ruby on Rails</description>
	<lastBuildDate>Fri, 06 Aug 2010 11:57:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Problem with Sansa mp3 player automatic connection in Mandriva</title>
		<link>http://www.42.mach7x.com/2010/04/28/problem-with-sansa-mp3-player-automatic-connection-in-mandriva/</link>
		<comments>http://www.42.mach7x.com/2010/04/28/problem-with-sansa-mp3-player-automatic-connection-in-mandriva/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 23:12:17 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Sansa]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=196</guid>
		<description><![CDATA[Problem After an upgrade my Sansa E260 is no longer automatically recognised in Mandriva and looking at the /var/log/messages displays the error: reset high speed USB device using ehci_hcd and address 5 Solution Run as su the following (maybe a couple of times), while the sansa is connected: sudo rmmod ehci_hcd sudo modprobe ehci_hcd]]></description>
			<content:encoded><![CDATA[<p><Strong>Problem</strong><br />
After an upgrade my Sansa E260 is no longer automatically recognised in Mandriva and looking at the /var/log/messages displays the error:<br />
<span class="code">reset high speed USB device using ehci_hcd and address 5</span></p>
<p><Strong>Solution</strong><br />
Run as su the following (maybe a couple of times), while the sansa is connected:<br />
<span class="code">sudo rmmod ehci_hcd<br />
sudo modprobe ehci_hcd</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2010/04/28/problem-with-sansa-mp3-player-automatic-connection-in-mandriva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing MySQL GUI tools (mysql-query-browser, mysql-administrator) in Mandriva 2010</title>
		<link>http://www.42.mach7x.com/2010/04/14/installing-mysql-gui-tools-mysql-query-browser-mysql-administrator-in-mandriva-2010/</link>
		<comments>http://www.42.mach7x.com/2010/04/14/installing-mysql-gui-tools-mysql-query-browser-mysql-administrator-in-mandriva-2010/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 10:46:00 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Administrator]]></category>
		<category><![CDATA[Query Browser]]></category>
		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=191</guid>
		<description><![CDATA[Problem You want to install the GUI tools for MySQL in Mandriva 2010 but a quick search in the MySQL website doesn&#8217;t list the Mandriva rpm files. Solution To install the tools in Mandriva 2010 run: sudo urpmi mysql-query-browser mysql-administrator.]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You want to install the GUI tools for MySQL in Mandriva 2010 but a quick search in the MySQL website doesn&#8217;t list the Mandriva rpm files.</p>
<p><strong>Solution</strong><br />
To install the tools in Mandriva 2010 run:<br />
<span class="code">sudo urpmi mysql-query-browser mysql-administrator</span>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2010/04/14/installing-mysql-gui-tools-mysql-query-browser-mysql-administrator-in-mandriva-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mandriva &#8211; Eclipse &#8211; Aptana RadRails</title>
		<link>http://www.42.mach7x.com/2009/06/29/mandriva-eclipse-aptana-radrails/</link>
		<comments>http://www.42.mach7x.com/2009/06/29/mandriva-eclipse-aptana-radrails/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 17:09:45 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=122</guid>
		<description><![CDATA[Problem You want to do a new installation of Aptana RadRails IDE in Mandriva as an eclipse plugin. Solution Install eclipse first (selecting openjdk when prompted): sudo urpmi eclipse According to the instructions here take the following steps: From the Help menu in Eclipse, select Software Updates Select the Available Sotware tab Click the &#8220;Add [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You want to do a new installation of Aptana RadRails IDE in Mandriva as an eclipse plugin.</p>
<p><strong>Solution</strong></p>
<ul>
<li>Install eclipse first (selecting openjdk when prompted):
<pre class="code">sudo urpmi eclipse</pre>
</li>
<li>According to the instructions <a href="http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration">here</a> take the following steps:</li>
<li>From the Help menu in Eclipse, select Software Updates</li>
<li>Select the Available Sotware tab</li>
<li>Click the &#8220;Add Site..&#8221; button.</li>
<li>Specify the Location Url update site: http://update.aptana.com/update/studio/3.4/ and click OK</li>
<li>Select the checkbox next to the added update site.</li>
<li>Click the install button.</li>
<li>Complete instruction to install from update site and restart eclipse</li>
<li>Go to &#8216;My Aptana&#8217; page and then the &#8216;Plugins&#8217; tab on the top</li>
<li>Click on Aptana Rad Rails &#8216;Get It&#8217; link and get through the next sequence of screens select &#8216;ok&#8217;.</li>
<li>Restart Eclipse and RadRails should now be installed.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2009/06/29/mandriva-eclipse-aptana-radrails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Spree installation error in Mandriva.</title>
		<link>http://www.42.mach7x.com/2009/05/01/spree-installation-error-in-mandriva/</link>
		<comments>http://www.42.mach7x.com/2009/05/01/spree-installation-error-in-mandriva/#comments</comments>
		<pubDate>Fri, 01 May 2009 12:35:10 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[installation error]]></category>
		<category><![CDATA[spree]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=103</guid>
		<description><![CDATA[Problem You are trying to install spree from the git source, following the instructions from here, but there are errors like: gem install activemerchant --version "= 1.4.1" ERROR: While generating documentation for builder-2.1.2 ... MESSAGE: Unhandled special: Special: type=17, text="" ... RDOC args: --ri --op /usr/lib/ruby/gems/1.8/doc/builder-2.1.2/ri --title Builder -- Easy XML Building --main README --line-numbers [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You are trying to install spree from the git source, following the instructions from <a href="http://spreecommerce.com/documentation">here</a>, but there are errors like:</p>
<pre class="code">gem install activemerchant --version "= 1.4.1"
ERROR:  While generating documentation for builder-2.1.2
... MESSAGE:   Unhandled special: Special: type=17, text="<!-- HI -->"
... RDOC args: --ri --op /usr/lib/ruby/gems/1.8/doc/builder-2.1.2/ri --title Builder
    -- Easy XML Building --main README --line-numbers
    --quiet lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc
    doc/releases/builder-2.0.0.rdoc doc/releases/builder-2.1.1.</pre>
<p><strong>Solution</strong><br />
Make sure you have the following gems installed:</p>
<pre class="code">sudo gem install builder haml echoe
</pre>
<p>and then run:</p>
<pre class="code">sudo rake gems:install</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2009/05/01/spree-installation-error-in-mandriva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mandriva &#8211; Rails 2.3.2 &#8211; mysql gem &#8211; &#8216;ERROR:  Error installing mysql&#8217;</title>
		<link>http://www.42.mach7x.com/2009/04/29/mandriva-rails-232-mysql-gem-problem/</link>
		<comments>http://www.42.mach7x.com/2009/04/29/mandriva-rails-232-mysql-gem-problem/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 12:29:32 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[ruby on rails 2.3.2]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=101</guid>
		<description><![CDATA[Problem You are trying to install the mysql gem in Mandriva, but it fails with error messages: ERROR: Error installing mysql: ERROR: Failed to build gem native extension... checking for mysql_query() in -lmysclient... no .... Solution After searching in google, with solutions about providing different options (&#8211; &#8211;with-mysql-config, ..etc), even trying different combinations for providing [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You are trying to install the mysql gem in Mandriva, but it fails with error messages:</p>
<pre class="code">ERROR:  Error installing mysql:
ERROR: Failed to build gem native extension...
checking for mysql_query() in -lmysclient... no ....</pre>
<p><strong>Solution</strong><br />
After searching in google, with solutions about providing different options (&#8211; &#8211;with-mysql-config, ..etc), even trying different combinations for providing the client library path, the configuration file, or the header file path, was still faced with the same error installing the mysql gem.<br />
As the Mandriva installation was quite new, it turns out to be a couple of missing packages.<br />
So try:</p>
<pre class="code">urpmi gcc
urpmi make</pre>
<p>and run:</p>
<pre class="code">gem install mysql</pre>
<p>again.</p>
<p>It should work out ok install the gem and output:</p>
<pre class="code">Building native extensions. This could take a while...
Successfully installed mysql-2.7
1 gem installed</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2009/04/29/mandriva-rails-232-mysql-gem-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mandriva and Sqlite3</title>
		<link>http://www.42.mach7x.com/2009/01/21/mandriva-and-sqlite3/</link>
		<comments>http://www.42.mach7x.com/2009/01/21/mandriva-and-sqlite3/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 11:21:13 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[sqlite3]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=82</guid>
		<description><![CDATA[Problem You want to work with sqlite3 in Mandriva (2009), but the standard installation doesn&#8217;t work, and you cannot use urpmi sqlite3. Solution You need to install the sqlite3 command line tools, like: urpmi sqlite3-tools]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You want to work with sqlite3 in Mandriva (2009), but the standard installation doesn&#8217;t work, and you cannot use urpmi sqlite3.</p>
<p><strong>Solution</strong><br />
You need to install the sqlite3 command line tools, like:</p>
<p><span class="code">urpmi sqlite3-tools</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2009/01/21/mandriva-and-sqlite3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phusion Passenger installation in Mandriva 2009</title>
		<link>http://www.42.mach7x.com/2009/01/08/phusion-passenger-installation-in-mandriva-2009/</link>
		<comments>http://www.42.mach7x.com/2009/01/08/phusion-passenger-installation-in-mandriva-2009/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 11:30:53 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Passenger]]></category>
		<category><![CDATA[phusion passenger]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=71</guid>
		<description><![CDATA[Problem You have recently installed Mandriva 2009 and you want to install phusion passenger. Solution First make sure that apache is installed. If it is not installed (default), do: urpmi apache On the selection question about the dependencies select option 1 (apache-prefork) Use the details from the phusion passenger website. ie: Install passenger: gem install [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You have recently installed Mandriva 2009 and you want to install phusion passenger.</p>
<p><strong>Solution</strong></p>
<ol>
<li>First make sure that apache is installed. If it is not installed (default), do:
<pre class="code">urpmi apache</pre>
<p>On the selection question about the dependencies select option 1 (apache-prefork)</li>
<li>Use the details from the phusion passenger website. ie:<br />
Install passenger:</p>
<pre class="code">gem install passenger</pre>
</li>
<li>Run the passenger installation:
<pre class="code">passenger-install-apache2-module</pre>
</li>
<li>If at the second stage of the installation the installer complains that <em>GNU C++ compiler &#8230; not found</em>, install the gnu c++ compiler, with:
<pre class="code">urpmi gcc_c++</pre>
</li>
<li>Run the passenger installation (step 3) again. If at this stage the installer complains that <em>Apache 2 development headers &#8230; not found</em>, use:
<pre class="code">urpmi apache-devel</pre>
</li>
<li>Run passenger installer (step 3), once more. Now everything should be ok and the apache 2 module will be installed when the installer finishes.</li>
<li>Restart the Apache webserver, and you should be able to add your Rails application. Use the following to deploy your application in /somewhere/public:
<pre class="code">&lt;VirtualHost *:80&gt;
  ServerName www.yourhost.com
  DocumentRoot /somewhere/public
&lt;/VirtualHost&gt;</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2009/01/08/phusion-passenger-installation-in-mandriva-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>git and Mandriva</title>
		<link>http://www.42.mach7x.com/2008/10/02/git-and-mandriva/</link>
		<comments>http://www.42.mach7x.com/2008/10/02/git-and-mandriva/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 10:54:23 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[urpmi]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=51</guid>
		<description><![CDATA[Problem You want to install the git (Fast version control system) in Mandriva, but using: urpmi git installs the GNU Interactive Tools. Solution Use the following to install the version control system urpmi git-core]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You want to install the git (<a href="http://git.or.cz/">Fast version control system</a>) in Mandriva, but using:</p>
<pre class="code">urpmi git</pre>
<p>installs the <a href="http://www.gnu.org/software/gnuit/">GNU Interactive Tools</a>.</p>
<p><strong>Solution</strong><br />
Use the following to install the version control system</p>
<pre code="class">urpmi git-core</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2008/10/02/git-and-mandriva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git: fatal error: `chdir&#8217; failed: permission denied.</title>
		<link>http://www.42.mach7x.com/2008/04/24/git-fatal-error-chdir-failed-permission-denied/</link>
		<comments>http://www.42.mach7x.com/2008/04/24/git-fatal-error-chdir-failed-permission-denied/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 13:20:30 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[Mandriva]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=30</guid>
		<description><![CDATA[Problem Trying to use the heroku gem to clone a project and do local modifications I got the following error: git: fatal error: `chdir' failed: permission denied. Solution It turns out that in Mandriva, when using: sudo urpmi git what gets installed is the &#8216;GNU Interactive Tools&#8217; that has nothing to do with the git [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
Trying to use the heroku gem to clone a project and do local modifications I got the following error:</p>
<pre class="code">git: fatal error: `chdir' failed: permission denied.</pre>
<p><strong>Solution</strong><br />
It turns out that in Mandriva, when using:</p>
<pre class="code">sudo urpmi git</pre>
<p>what gets installed is the &#8216;GNU Interactive Tools&#8217; that has nothing to do with the git version control system.<br />
So make sure you first uninstall the git installed:</p>
<pre class="code">sudo rpm -e git</pre>
<p>and then install the Git &#8211; Fast version control system, by doing:</p>
<pre class="code">sudo urpmi git-core</pre>
<p>You should then be able to clone a heroku application:</p>
<pre class="code">heroku clone myapp</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2008/04/24/git-fatal-error-chdir-failed-permission-denied/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing sqlite3-ruby in Mandriva and Rails 2.0.2</title>
		<link>http://www.42.mach7x.com/2008/04/11/installing-sqlite3-ruby-in-mandriva-and-rails-202/</link>
		<comments>http://www.42.mach7x.com/2008/04/11/installing-sqlite3-ruby-in-mandriva-and-rails-202/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 15:48:36 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[ruby on rails 2.0.2]]></category>
		<category><![CDATA[sqlite3-ruby]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=26</guid>
		<description><![CDATA[Problem After upgrading to Rails 2.0.2 when trying to install the sqlite3-ruby gem got the following error: ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb install sqlite3-ruby checking for sqlite3.h... no make make: *** No rule to make target `ruby.h', needed by `sqlite3_api_wrap.o'. Stop. Gem files will remain installed in [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
After upgrading to Rails 2.0.2 when trying to install the sqlite3-ruby gem got the following error:</p>
<pre class="code">
ERROR:  Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb install sqlite3-ruby
checking for sqlite3.h... no
make
make: *** No rule to make target `ruby.h', needed by `sqlite3_api_wrap.o'.  Stop.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api/gem_make.out</pre>
<p><strong>Solution</strong><br />
In Mandriva you need to install the ruby-sqlite3 and the development libraries first, like:</p>
<pre class="code">sudo urpmi ruby-sqlite3
sudo urpmi libsqlite3-devel</pre>
<p>After that you should be able to install the gem as normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2008/04/11/installing-sqlite3-ruby-in-mandriva-and-rails-202/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
