<?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>Linux für alle &#187; Karmic</title>
	<atom:link href="http://www.simplylinux.ch/tag/karmic/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simplylinux.ch</link>
	<description>Jeder kann Linux beherrschen lernen...</description>
	<lastBuildDate>Thu, 08 Jul 2010 08:37:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Kubuntu Karmic 9.10 &amp; Sony Ericsson C905</title>
		<link>http://www.simplylinux.ch/kubuntu-karmic-9-10-sony-ericsson-c905</link>
		<comments>http://www.simplylinux.ch/kubuntu-karmic-9-10-sony-ericsson-c905#comments</comments>
		<pubDate>Wed, 02 Dec 2009 21:38:05 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[C905]]></category>
		<category><![CDATA[Ericsson]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Massenspeicher]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[Speicherkarte]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=291</guid>
		<description><![CDATA[Wie schon unter Jaunty habe ich wiederum Probleme auf die Speicherkarten in meinem Sony Ericsson C905 zugreifen zu können. Wenn ich den Massenspeicher anwähle, dann kann Karmic einfach nicht darauf zugreifen. Die Lösung ist dieselbe wie schon unter Jaunty, aber ich poste das nochmals. Das Problem liegt darin, dass die entsprechenden udev Rules nicht aktiviert [...]]]></description>
			<content:encoded><![CDATA[<p>Wie schon unter Jaunty habe ich wiederum Probleme auf die Speicherkarten in meinem Sony Ericsson C905 zugreifen zu können. Wenn ich den Massenspeicher anwähle, dann kann Karmic einfach nicht darauf zugreifen. Die Lösung ist dieselbe wie schon unter Jaunty, aber ich poste das nochmals.</p>
<p>Das Problem liegt darin, dass die entsprechenden udev Rules nicht aktiviert sind. Kubuntu Karmic kommt zwar mit einem Set <em>/lib/udev/rules.d/60-persistent-storage.rules</em> aber die sind einerseits nicht aktiviert, weil sie nicht in <em>/etc/udev/rules.d/</em> liegen und auch wenn ich es dort rüberkopiere hat es nicht geklappt..</p>
<p><span id="more-291"></span></p>
<p>Die Rules von Arch funktionieren wiederum. </p>
<p>Also zuerst mal schauen, ob überhaupt irgendwelche rules vorhanden sind:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">cat</span> <span class="sy0">/</span>etc<span class="sy0">/</span>udev<span class="sy0">/</span>rules.d<span class="sy0">/</span><span class="nu0">60</span>-persistent-storage.rules</pre></div></div>
<p>Wenn da nichts angezeigt wird, dann sind noch keine Rules vorhanden und der folgende Schritt kann ausgeführt werden. Sollte etwas angezeigt werden, dann funktioniert wohl der Massenspeicher, dann zuerst überprüfen ob der Massenspeicher Modus schon funktioniert. Wenn nicht, zuerst ein Backup der Datei machen und dann folgendes ausführen:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">rm</span> <span class="sy0">/</span>etc<span class="sy0">/</span>udev<span class="sy0">/</span>rules.d<span class="sy0">/</span>60-persistent-storage.rules
<span class="kw2">sudo</span> <span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>udev<span class="sy0">/</span>rules.d<span class="sy0">/</span><span class="nu0">60</span>-persistent-storage.rules</pre></div></div>
<p>und in die leere Datei das hier einfügen:</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0"># do not edit this file, it will be overwritten on update</span>
&nbsp;
<span class="co0"># persistent storage links: /dev/disk/{by-id,by-uuid,by-label,by-path}</span>
<span class="co0"># scheme based on &quot;Linux persistent device names&quot;, 2004, Hannes Reinecke </span>
&nbsp;
<span class="co0"># forward scsi device event to corresponding block device</span>
<span class="co0">#ACTION==&quot;change&quot;, SUBSYSTEM==&quot;scsi&quot;, ENV{DEVTYPE}==&quot;scsi_device&quot;, TEST==&quot;block&quot;, ATTR{block/*/uevent}=&quot;change&quot;</span>
&nbsp;
ACTION<span class="sy0">!</span>=<span class="st0">&quot;add|change&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
SUBSYSTEM<span class="sy0">!</span>=<span class="st0">&quot;block&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># skip rules for inappropriate block devices</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># never access non-cdrom removable ide devices, the drivers are causing event loops on open()</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[!0-9]&quot;</span>, ATTR<span class="br0">&#123;</span>removable<span class="br0">&#125;</span>==<span class="st0">&quot;1&quot;</span>, <span class="re2">DRIVERS</span>==<span class="st0">&quot;ide-cs|ide-floppy&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[0-9]&quot;</span>, ATTRS<span class="br0">&#123;</span>removable<span class="br0">&#125;</span>==<span class="st0">&quot;1&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># ignore partitions that span the entire disk</span>
<span class="re2">TEST</span>==<span class="st0">&quot;whole_disk&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># /sys/class/block will export this</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, ATTR<span class="br0">&#123;</span>range<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>=<span class="st0">&quot;disk&quot;</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, ATTR<span class="br0">&#123;</span>start<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>=<span class="st0">&quot;partition&quot;</span>
&nbsp;
<span class="co0"># for partitions import parent information</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;partition&quot;</span>, IMPORT<span class="br0">&#123;</span>parent<span class="br0">&#125;</span>=<span class="st0">&quot;ID_*&quot;</span>
&nbsp;
<span class="co0"># by-id (hardware serial number)</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[!0-9]&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;ata_id --export <span class="es2">$tempnode</span>&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[!0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/ata-<span class="es2">$env</span>{ID_MODEL}_<span class="es2">$env</span>{ID_SERIAL}&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/ata-<span class="es2">$env</span>{ID_MODEL}_<span class="es2">$env</span>{ID_SERIAL}-part%n&quot;</span>
&nbsp;
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*&quot;</span>, ATTRS<span class="br0">&#123;</span>ieee1394_id<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>=<span class="st0">&quot;<span class="es2">$attr</span>{ieee1394_id}&quot;</span>, ENV<span class="br0">&#123;</span>ID_BUS<span class="br0">&#125;</span>=<span class="st0">&quot;ieee1394&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, <span class="re2">SUBSYSTEMS</span>==<span class="st0">&quot;usb&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;usb_id --export %p&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;scsi_id --export --whitelisted -d <span class="es2">$tempnode</span>&quot;</span>, ENV<span class="br0">&#123;</span>ID_BUS<span class="br0">&#125;</span>=<span class="st0">&quot;scsi&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;cciss?c[0-9]d[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;scsi_id --export --whitelisted -d <span class="es2">$tempnode</span>&quot;</span>, ENV<span class="br0">&#123;</span>ID_BUS<span class="br0">&#125;</span>=<span class="st0">&quot;cciss&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*|cciss?c[0-9]d[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/<span class="es2">$env</span>{ID_BUS}-<span class="es2">$env</span>{ID_SERIAL}&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[0-9]|cciss*p[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/<span class="es2">$env</span>{ID_BUS}-<span class="es2">$env</span>{ID_SERIAL}-part%n&quot;</span>
&nbsp;
<span class="co0"># libata compat (links like hd*)</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*&quot;</span>, ENV<span class="br0">&#123;</span>ID_VENDOR<span class="br0">&#125;</span>==<span class="st0">&quot;ATA&quot;</span>, <span class="re2">PROGRAM</span>=<span class="st0">&quot;ata_id <span class="es2">$tempnode</span>&quot;</span>, <span class="re2">RESULT</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>ID_ATA_COMPAT<span class="br0">&#125;</span>=<span class="st0">&quot;<span class="es2">$result</span>&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/ata-<span class="es2">$env</span>{ID_ATA_COMPAT}&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_ATA_COMPAT<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/ata-<span class="es2">$env</span>{ID_ATA_COMPAT}-part%n&quot;</span>
&nbsp;
<span class="re2">KERNEL</span>==<span class="st0">&quot;mmcblk[0-9]&quot;</span>, <span class="re2">SUBSYSTEMS</span>==<span class="st0">&quot;mmc&quot;</span>, ATTRS<span class="br0">&#123;</span>name<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ATTRS<span class="br0">&#123;</span>serial<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>ID_NAME<span class="br0">&#125;</span>=<span class="st0">&quot;<span class="es2">$attr</span>{name}&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>=<span class="st0">&quot;<span class="es2">$attr</span>{serial}&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/mmc-<span class="es2">$env</span>{ID_NAME}_<span class="es2">$env</span>{ID_SERIAL}&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;mmcblk[0-9]p[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_NAME<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/mmc-<span class="es2">$env</span>{ID_NAME}_<span class="es2">$env</span>{ID_SERIAL}-part%n&quot;</span>
&nbsp;
<span class="co0"># by-path (shortest physical path)</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;disk&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;path_id %p&quot;</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;disk&quot;</span>, ENV<span class="br0">&#123;</span>ID_PATH<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-path/<span class="es2">$env</span>{ID_PATH}&quot;</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;partition&quot;</span>, ENV<span class="br0">&#123;</span>ID_PATH<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-path/<span class="es2">$env</span>{ID_PATH}-part%n&quot;</span>
&nbsp;
<span class="co0"># skip unpartitioned removable media devices from drivers which do not send &quot;change&quot; events</span>
<span class="co0"># ENV{DEVTYPE}==&quot;disk&quot;, KERNEL!=&quot;sd*|sr*&quot;, ATTR{removable}==&quot;1&quot;, GOTO=&quot;persistent_storage_end&quot;</span>
<span class="co0"># skip optical drives without media</span>
&nbsp;
<span class="co0">#XXX</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;partition&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;vol_id --export <span class="es2">$tempnode</span>&quot;</span>
&nbsp;
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;disk&quot;</span>, <span class="re2">KERNEL</span>==<span class="st0">&quot;sr*&quot;</span>, ENV<span class="br0">&#123;</span>ID_CDROM_MEDIA_TRACK_COUNT<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># import filesystem metadata</span>
<span class="co0">#IMPORT{program}=&quot;vol_id --export $tempnode&quot;</span>
&nbsp;
<span class="co0"># by-label/by-uuid links (filesystem metadata)</span>
ENV<span class="br0">&#123;</span>ID_FS_USAGE<span class="br0">&#125;</span>==<span class="st0">&quot;filesystem|other|crypto&quot;</span>, ENV<span class="br0">&#123;</span>ID_FS_UUID_ENC<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-uuid/<span class="es2">$env</span>{ID_FS_UUID_ENC}&quot;</span>
ENV<span class="br0">&#123;</span>ID_FS_USAGE<span class="br0">&#125;</span>==<span class="st0">&quot;filesystem|other&quot;</span>, ENV<span class="br0">&#123;</span>ID_FS_LABEL_ENC<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-label/<span class="es2">$env</span>{ID_FS_LABEL_ENC}&quot;</span>
&nbsp;
<span class="re2">LABEL</span>=<span class="st0">&quot;persistent_storage_end&quot;</span></pre></div></div>
<p>Nach dem Reboot funktioniert dann der Massenspeicher wieder und man kann frisch und fröhlich Dateien hin und her kopieren.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/kubuntu-karmic-9-10-sony-ericsson-c905/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rTorrent unter Ubuntu Karmic 9.10 / Debian 5 Lenny kompilieren mit Magnet Link Support (und weiterem&#8230;)</title>
		<link>http://www.simplylinux.ch/rtorrent-unter-ubuntu-karmic-9-10-debian-5-lenny-kompilieren-mit-magnet-link-support-und-weiterem</link>
		<comments>http://www.simplylinux.ch/rtorrent-unter-ubuntu-karmic-9-10-debian-5-lenny-kompilieren-mit-magnet-link-support-und-weiterem#comments</comments>
		<pubDate>Sun, 29 Nov 2009 18:28:21 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[magnet]]></category>
		<category><![CDATA[magnet link]]></category>
		<category><![CDATA[rtorrent]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=271</guid>
		<description><![CDATA[rTorrent ist ein genialer Bittorrent Client. Es basiert auf ncurses und wird normalerweise über die Command Line aus gesteuert. Gegenüber anderen Clients wie Vuze ist er auch wenig speicherintensiv. Es gibt zwar verschieden Web Interfaces, aber ich benutze keine davon. rTorrent in Screen mit SSH Zugriff ist alles was ich brauche. Kürzlich wurde auch von [...]]]></description>
			<content:encoded><![CDATA[<p>rTorrent ist ein genialer Bittorrent Client. Es basiert auf ncurses und wird normalerweise über die Command Line aus gesteuert. Gegenüber anderen Clients wie Vuze ist er auch wenig speicherintensiv. Es gibt zwar verschieden Web Interfaces, aber ich benutze keine davon. rTorrent in Screen mit SSH Zugriff ist alles was ich brauche.</p>
<p>Kürzlich wurde auch von The Pirate Bay angekündigt, dass in Zukunft dort kein Tracker mehr betrieben wird und alle Torrents als Magnet Links angeboten werden. rTorrent hat von Hause aus zu diesem Zeitpunkt noch keinen Magnet Link Support. Allerdings gibt es &#8220;einen&#8221; Patch, der Magnet Link Support integriert. Nachfolgendes HowTo ist eine Schritt-für-Schritt Anleitung um rTorrent mit Magnet Link Support zu kompilieren. Zudem werde ich auch noch ein paar weitere Erweiterungen einspielen (und diese jeweils markieren).</p>
<p>Diese Howto gilt sowohl für Ubuntu Karmic 9.10 wie auch Debian 5 Etch. Der einzige Unterschied liegt darin, dass Ubuntu <em>sudo</em> benutzt und alles was mit <em>sudo</em> bezeichnet wird, muss unter Debian als <em>root</em> ausgeführt werden.</p>
<p><span id="more-271"></span></p>
<p>Ich gehe in diesem Howto davon aus, dass die SVN Quellen unter ~/rtorrent gespeichert werden resp. in ~/rtorrent/trunk</p>
<p>&nbsp;</p>
<h2>1: Bisherige rTorrent Installation entfernen</h2>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> remove rtorrent libtorrent<span class="sy0">*</span></pre></div></div>
<p>&nbsp;</p>
<h2>2: Notwendige Pakete installieren</h2>
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> subversion build-essential libtool <span class="kw2">automake</span> openssl libsigc++-<span class="nu0">2.0</span>-dev libncurses5-dev libcurl4-openssl-dev</pre></div></div>
<p>&nbsp;</p>
<h2>3. rtorrent Verzeichnis kreieren</h2>
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> ~<span class="sy0">/</span>rtorrent</pre></div></div>
<p>&nbsp;</p>
<h2>4. Ins rtorrent Verzeichnis wechseln</h2>
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ~<span class="sy0">/</span>rtorrent</pre></div></div><br />
<em>Pfad: /home/USER/rtorrent</em></p>
<p>&nbsp;</p>
<h2>5. SVN Daten holen</h2>
<p><div id="wpshdo_8" class="wp-synhighlighter-outer"><div id="wpshdt_8" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_8"></a><a id="wpshat_8" class="wp-synhighlighter-title" href="#codesyntax_8"  onClick="javascript:wpsh_toggleBlock(8)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_8" onClick="javascript:wpsh_code(8)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_8" onClick="javascript:wpsh_print(8)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>rakshasa.no<span class="sy0">/</span>libtorrent<span class="sy0">/</span>trunk</pre></div></div><br />
Derzeit ist die aktuelle Version rev. 1105. </p>
<p>&nbsp;</p>
<h2>6. Ins trunk Verzeichnis wechseln</h2>
<p><div id="wpshdo_9" class="wp-synhighlighter-outer"><div id="wpshdt_9" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_9"></a><a id="wpshat_9" class="wp-synhighlighter-title" href="#codesyntax_9"  onClick="javascript:wpsh_toggleBlock(9)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_9" onClick="javascript:wpsh_code(9)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_9" onClick="javascript:wpsh_print(9)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_9" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> trunk</pre></div></div><br />
<em>Pfad: /home/USER/rtorrent/trunk</em></p>
<p>&nbsp;</p>
<h2>7. Patches herunter laden</h2>
<p>Für Magnet Link Support:<br />
<div id="wpshdo_10" class="wp-synhighlighter-outer"><div id="wpshdt_10" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_10"></a><a id="wpshat_10" class="wp-synhighlighter-title" href="#codesyntax_10"  onClick="javascript:wpsh_toggleBlock(10)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_10" onClick="javascript:wpsh_code(10)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_10" onClick="javascript:wpsh_print(10)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_10" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>ovh.ttdpatch.net<span class="sy0">/</span>~jdrexler<span class="sy0">/</span>rt<span class="sy0">/</span>experimental<span class="sy0">/</span>dht-pex-static_map.diff
<span class="kw2">wget</span> http:<span class="sy0">//</span>ovh.ttdpatch.net<span class="sy0">/</span>~jdrexler<span class="sy0">/</span>rt<span class="sy0">/</span>experimental<span class="sy0">/</span>magnet-uri.diff
<span class="kw2">wget</span> http:<span class="sy0">//</span>ovh.ttdpatch.net<span class="sy0">/</span>~jdrexler<span class="sy0">/</span>rt<span class="sy0">/</span>experimental<span class="sy0">/</span>object-sstr.diff</pre></div></div><br />
Der Magent Link Support Patch wurde von Josef geschrieben. Ich verweise hierbei auf <a href="http://libtorrent.rakshasa.no/ticket/955">http://libtorrent.rakshasa.no/ticket/955</a>.</p>
<p>Farbsupport für rTorrent nCurses:<br />
<div id="wpshdo_11" class="wp-synhighlighter-outer"><div id="wpshdt_11" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_11"></a><a id="wpshat_11" class="wp-synhighlighter-title" href="#codesyntax_11"  onClick="javascript:wpsh_toggleBlock(11)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_11" onClick="javascript:wpsh_code(11)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_11" onClick="javascript:wpsh_print(11)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_11" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>canvas-color.patch</pre></div></div><br />
Solltest du Rev. 1131 oder neuer benutzen, dann muss dieser Patch hier verwendet werden (Danke an Italian_Plumber für den Patch):<br />
<div id="wpshdo_12" class="wp-synhighlighter-outer"><div id="wpshdt_12" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_12"></a><a id="wpshat_12" class="wp-synhighlighter-title" href="#codesyntax_12"  onClick="javascript:wpsh_toggleBlock(12)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_12" onClick="javascript:wpsh_code(12)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_12" onClick="javascript:wpsh_print(12)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_12" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>canvas-color_1131.patch</pre></div></div><br />
Damit kann im rTorrent Interface farblich zwischen fertigen/unfertigen sowie aktive/inaktive Torrents unterschieden werden. Ich musste mich zuerst auch daran gewöhnen, aber zwischenzeitlich finde ich das ganz praktisch. Der Patch kommt von hier: <a href="http://libtorrent.rakshasa.no/ticket/1382">http://libtorrent.rakshasa.no/ticket/1382</a>. Allerdings funktioniert der Patch mit rev. 1105 nicht mehr, ich müsste eine Änderung vornehmen und der Original-Patch hat noch nie vom Trunk Verzeichnis aus funktioniert. Auch das habe ich behoben.</p>
<p>Torrent Tracker Stats:<br />
<div id="wpshdo_13" class="wp-synhighlighter-outer"><div id="wpshdt_13" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_13"></a><a id="wpshat_13" class="wp-synhighlighter-title" href="#codesyntax_13"  onClick="javascript:wpsh_toggleBlock(13)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_13" onClick="javascript:wpsh_code(13)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_13" onClick="javascript:wpsh_print(13)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_13" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>trackerinfo.patch</pre></div></div><br />
Dieser Patch zeigt in der Tracker View an, wieviele Leute diesen Torrent ziehen. Allerdings sind die Stats sehr unzuverlässig aber es gibt doch eine gewisse Idee. Ich benutz es hauptsächlich um zu sehen welcher Tracker hat überhaupt irgendwelche Peers.</p>
<p>&nbsp;</p>
<h2>8. Patches anwenden</h2>
<p>Für Magnet Link Support:<br />
<div id="wpshdo_14" class="wp-synhighlighter-outer"><div id="wpshdt_14" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_14"></a><a id="wpshat_14" class="wp-synhighlighter-title" href="#codesyntax_14"  onClick="javascript:wpsh_toggleBlock(14)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_14" onClick="javascript:wpsh_code(14)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_14" onClick="javascript:wpsh_print(14)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_14" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> dht-pex-static_map.diff
<span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> magnet-uri.diff
<span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> object-sstr.diff</pre></div></div>
<p>Sollte der erste Patch oben folgenden Fehler verursachen:<br />
<div id="wpshdo_15" class="wp-synhighlighter-outer"><div id="wpshdt_15" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_15"></a><a id="wpshat_15" class="wp-synhighlighter-title" href="#codesyntax_15"  onClick="javascript:wpsh_toggleBlock(15)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_15" onClick="javascript:wpsh_code(15)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_15" onClick="javascript:wpsh_print(15)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_15" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">patching <span class="kw2">file</span> libtorrent<span class="sy0">/</span>src<span class="sy0">/</span>torrent<span class="sy0">/</span>Makefile.am
Hunk <span class="co0">#1 FAILED at 41.</span>
Hunk <span class="co0">#2 FAILED at 77.</span>
2 out of 2 hunks FAILED <span class="re5">--</span> saving rejects to <span class="kw2">file</span> libtorrent<span class="sy0">/</span>src<span class="sy0">/</span>torrent<span class="sy0">/</span>Makefile.am.rej</pre></div></div><br />
Dann ist die rTorrent Version zu neu und der Patch wurde noch nicht geupdated. Aus diesem Grunde habe ich einen eigenen weiteren Patch kreiert um das zu beheben. Einfach folgendes ausführen:<br />
<div id="wpshdo_16" class="wp-synhighlighter-outer"><div id="wpshdt_16" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_16"></a><a id="wpshat_16" class="wp-synhighlighter-title" href="#codesyntax_16"  onClick="javascript:wpsh_toggleBlock(16)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_16" onClick="javascript:wpsh_code(16)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_16" onClick="javascript:wpsh_print(16)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_16" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>dht-pex-static_map_rev1117.diff
<span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> dht-pex-static_map_rev1117.diff</pre></div></div></p>
<p>Farbsupport für rTorrent nCurses:<br />
<div id="wpshdo_17" class="wp-synhighlighter-outer"><div id="wpshdt_17" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_17"></a><a id="wpshat_17" class="wp-synhighlighter-title" href="#codesyntax_17"  onClick="javascript:wpsh_toggleBlock(17)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_17" onClick="javascript:wpsh_code(17)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_17" onClick="javascript:wpsh_print(17)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_17" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> canvas-color.patch</pre></div></div></p>
<p>Torrent Tracker Stats:<br />
<div id="wpshdo_18" class="wp-synhighlighter-outer"><div id="wpshdt_18" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_18"></a><a id="wpshat_18" class="wp-synhighlighter-title" href="#codesyntax_18"  onClick="javascript:wpsh_toggleBlock(18)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_18" onClick="javascript:wpsh_code(18)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_18" onClick="javascript:wpsh_print(18)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_18" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> trackerinfo.patch</pre></div></div></p>
<p>&nbsp;</p>
<h2>9. Ins libtorrent Verzeichnis wechseln</h2>
<div id="wpshdo_19" class="wp-synhighlighter-outer"><div id="wpshdt_19" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_19"></a><a id="wpshat_19" class="wp-synhighlighter-title" href="#codesyntax_19"  onClick="javascript:wpsh_toggleBlock(19)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_19" onClick="javascript:wpsh_code(19)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_19" onClick="javascript:wpsh_print(19)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_19" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> libtorrent</pre></div></div><br />
Pfad: /home/USER/rtorrent/trunk/libtorrent</p>
<p>&nbsp;</p>
<h2>10. Autogen laufen lassen</h2>
<p><div id="wpshdo_20" class="wp-synhighlighter-outer"><div id="wpshdt_20" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_20"></a><a id="wpshat_20" class="wp-synhighlighter-title" href="#codesyntax_20"  onClick="javascript:wpsh_toggleBlock(20)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_20" onClick="javascript:wpsh_code(20)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_20" onClick="javascript:wpsh_print(20)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_20" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>autogen.sh</pre></div></div>
<p>&nbsp;</p>
<h2>11. libtorrent konfigurieren</h2>
<div id="wpshdo_21" class="wp-synhighlighter-outer"><div id="wpshdt_21" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_21"></a><a id="wpshat_21" class="wp-synhighlighter-title" href="#codesyntax_21"  onClick="javascript:wpsh_toggleBlock(21)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_21" onClick="javascript:wpsh_code(21)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_21" onClick="javascript:wpsh_print(21)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_21" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure</pre></div></div>
<p>&nbsp;</p>
<h2>12. libtorrent kompilieren</h2>
<div id="wpshdo_22" class="wp-synhighlighter-outer"><div id="wpshdt_22" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_22"></a><a id="wpshat_22" class="wp-synhighlighter-title" href="#codesyntax_22"  onClick="javascript:wpsh_toggleBlock(22)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_22" onClick="javascript:wpsh_code(22)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_22" onClick="javascript:wpsh_print(22)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_22" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<p>&nbsp;</p>
<h2>13. libtorrent installieren</h2>
<div id="wpshdo_23" class="wp-synhighlighter-outer"><div id="wpshdt_23" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_23"></a><a id="wpshat_23" class="wp-synhighlighter-title" href="#codesyntax_23"  onClick="javascript:wpsh_toggleBlock(23)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_23" onClick="javascript:wpsh_code(23)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_23" onClick="javascript:wpsh_print(23)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_23" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<p>&nbsp;</p>
<h2>14. /etc/ld.so.conf erweitern</h2>
<div id="wpshdo_24" class="wp-synhighlighter-outer"><div id="wpshdt_24" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_24"></a><a id="wpshat_24" class="wp-synhighlighter-title" href="#codesyntax_24"  onClick="javascript:wpsh_toggleBlock(24)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_24" onClick="javascript:wpsh_code(24)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_24" onClick="javascript:wpsh_print(24)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_24" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st0">&quot;include /usr/local/lib&quot;</span> <span class="sy0">|</span> <span class="kw2">sudo</span> <span class="kw2">tee</span> <span class="re5">-a</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf</pre></div></div>
<p>&nbsp;</p>
<h2>15. ld.so Cache neu laden</h2>
<div id="wpshdo_25" class="wp-synhighlighter-outer"><div id="wpshdt_25" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_25"></a><a id="wpshat_25" class="wp-synhighlighter-title" href="#codesyntax_25"  onClick="javascript:wpsh_toggleBlock(25)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_25" onClick="javascript:wpsh_code(25)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_25" onClick="javascript:wpsh_print(25)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_25" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> ldconfig</pre></div></div>
<p>&nbsp;</p>
<h2>16. Ins rtorrent Verzeichnis wechseln</h2>
<div id="wpshdo_26" class="wp-synhighlighter-outer"><div id="wpshdt_26" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_26"></a><a id="wpshat_26" class="wp-synhighlighter-title" href="#codesyntax_26"  onClick="javascript:wpsh_toggleBlock(26)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_26" onClick="javascript:wpsh_code(26)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_26" onClick="javascript:wpsh_print(26)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_26" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ..<span class="sy0">/</span>rtorrent</pre></div></div><br />
Pfad: /home/USER/rtorrent/trunk/rtorrent</p>
<p>&nbsp;</p>
<h2>17. Autogen laufen lassen</h2>
<p><div id="wpshdo_27" class="wp-synhighlighter-outer"><div id="wpshdt_27" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_27"></a><a id="wpshat_27" class="wp-synhighlighter-title" href="#codesyntax_27"  onClick="javascript:wpsh_toggleBlock(27)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_27" onClick="javascript:wpsh_code(27)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_27" onClick="javascript:wpsh_print(27)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_27" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>autogen.sh</pre></div></div>
<p>&nbsp;</p>
<h2>18. rtorrent konfigurieren</h2>
<div id="wpshdo_28" class="wp-synhighlighter-outer"><div id="wpshdt_28" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_28"></a><a id="wpshat_28" class="wp-synhighlighter-title" href="#codesyntax_28"  onClick="javascript:wpsh_toggleBlock(28)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_28" onClick="javascript:wpsh_code(28)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_28" onClick="javascript:wpsh_print(28)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_28" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure</pre></div></div>
<p>&nbsp;</p>
<h2>19. rtorrent kompilieren</h2>
<div id="wpshdo_29" class="wp-synhighlighter-outer"><div id="wpshdt_29" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_29"></a><a id="wpshat_29" class="wp-synhighlighter-title" href="#codesyntax_29"  onClick="javascript:wpsh_toggleBlock(29)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_29" onClick="javascript:wpsh_code(29)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_29" onClick="javascript:wpsh_print(29)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_29" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<p>&nbsp;</p>
<h2>20. rtorrent installieren</h2>
<div id="wpshdo_30" class="wp-synhighlighter-outer"><div id="wpshdt_30" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_30"></a><a id="wpshat_30" class="wp-synhighlighter-title" href="#codesyntax_30"  onClick="javascript:wpsh_toggleBlock(30)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_30" onClick="javascript:wpsh_code(30)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_30" onClick="javascript:wpsh_print(30)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_30" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<p>&nbsp;</p>
<h2>21. rTorrent Konfiguration erweitern</h2>
<p>Der Magnet Link Support setzt zwingend ein Session Verzeichnis voraus. Falls noch kein Session Verzeichnis oder noch gar keine rTorrent Config Datei vorhande ist, dann das noch hinzufügen. Eine Beispiel rTorrent Config Datei findet sich hier: <a href="http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc#latest">http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc#latest</a> oder man kann sie einfach aus dem Trunk kopieren (und danach anpassen):<br />
<div id="wpshdo_31" class="wp-synhighlighter-outer"><div id="wpshdt_31" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_31"></a><a id="wpshat_31" class="wp-synhighlighter-title" href="#codesyntax_31"  onClick="javascript:wpsh_toggleBlock(31)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_31" onClick="javascript:wpsh_code(31)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_31" onClick="javascript:wpsh_print(31)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_31" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">cp</span> ~<span class="sy0">/</span>rtorrent<span class="sy0">/</span>trunk<span class="sy0">/</span>rtorrent<span class="sy0">/</span>doc<span class="sy0">/</span>rtorrent.rc ~<span class="sy0">/</span>.rtorrent.rc</pre></div></div><br />
Ebenfalls würde ich noch DHT auf ON setzen in der Config.<br />
<em>Danke Xo für den Hinweis fürs Kopieren</em></p>
<p>Um von den Farben gebrauch zu machen, müssen diese auch noch hinzugefügt werden. Bei mir sieht das derzeiten so aus:<br />
<div id="wpshdo_32" class="wp-synhighlighter-outer"><div id="wpshdt_32" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_32"></a><a id="wpshat_32" class="wp-synhighlighter-title" href="#codesyntax_32"  onClick="javascript:wpsh_toggleBlock(32)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_32" onClick="javascript:wpsh_code(32)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_32" onClick="javascript:wpsh_print(32)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_32" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0"># Color / Canvas patch</span>
done_fg_color = <span class="nu0">2</span>
<span class="co0">#done_bg_color = 2</span>
active_fg_color = <span class="nu0">1</span>
<span class="co0">#active_bg_color = 4</span></pre></div></div><br />
Dadurch werden inaktive fertige Torrent dunkelgrün, aktive fertige Torrents hellgrün, inaktive unvollständigen Torrents dunkelrot und aktive unvollständige Torrents hellrot. Mit den Farben kann herumgespielt werden. Die verwendbaren Farben sind: 0 = schwarz; 1 = rot; 2 = grün; 3 = gelb; 4 = blau; 5 = magenta; 6 = cyan; 7 = weiss; </p>
<p>&nbsp;</p>
<h2>22. rTorrent kann nun gestartet werden</h2>
<div id="wpshdo_33" class="wp-synhighlighter-outer"><div id="wpshdt_33" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_33"></a><a id="wpshat_33" class="wp-synhighlighter-title" href="#codesyntax_33"  onClick="javascript:wpsh_toggleBlock(33)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_33" onClick="javascript:wpsh_code(33)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_33" onClick="javascript:wpsh_print(33)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_33" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">rtorrent</pre></div></div>
<p>&nbsp;</p>
<h2>Wie gebrauchen?</h2>
<p>Der Gebrauch ist eigentlich ganz einfach. In rTorrent entweder die Backspace oder Enter Taste drücken und dann die URL des Magnet Links reinkopieren und mit Enter bestätigen. Der Unterschied zwichen Enter und Backspace liegt darin, dass Enter nur den Link hinzufügt, Backspace aber den Link auch gleich startet.</p>
<p>Ebenfalls gibts die Möglichkeit, dass die Magnet Links direkt beim draufklicken in einem Browser an rTorrent übergeben werden:<br />
<div id="wpshdo_34" class="wp-synhighlighter-outer"><div id="wpshdt_34" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_34"></a><a id="wpshat_34" class="wp-synhighlighter-title" href="#codesyntax_34"  onClick="javascript:wpsh_toggleBlock(34)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_34" onClick="javascript:wpsh_code(34)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_34" onClick="javascript:wpsh_print(34)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_34" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#!/bin/bash</span>
&nbsp;
<span class="kw3">cd</span> ~<span class="sy0">/</span>watch    <span class="co0"># set your watch directory here</span>
<span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="st0">&quot;$1&quot;</span> =~ <span class="re2">xt</span>=urn:btih:<span class="br0">&#40;</span><span class="br0">&#91;</span>^<span class="sy0">&amp;/</span><span class="br0">&#93;</span>+<span class="br0">&#41;</span> <span class="br0">&#93;</span><span class="br0">&#93;</span> <span class="sy0">||</span> <span class="kw3">exit</span>;
<span class="kw3">echo</span> <span class="st0">&quot;d10:magnet-uri<span class="es3">${#1}</span>:<span class="es3">${1}</span>e&quot;</span> <span class="sy0">&gt;</span> <span class="st0">&quot;meta-<span class="es3">${BASH_REMATCH[1]}</span>.torrent&quot;</span></pre></div></div><br />
Einfach dieses Bashscript im System speichern, z.B. unter ~/rtorrent_magnet.sh und ausführbar machen. Dann den Browser so konfigurieren, dass beim Klick auf einen Magnet Link dieses Bashscript ausgeführt wird (also Magnet Links mit diesem Bashscript öffnen). Ich habs zwar bisher nicht selbst ausprobiert, aber da Josef auch den Magnet Link Patch zur kreiert hat, habe ich vertrauen in seine Fähigkeiten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/rtorrent-unter-ubuntu-karmic-9-10-debian-5-lenny-kompilieren-mit-magnet-link-support-und-weiterem/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Text-To-Speech in Deutsch unter Kubuntu</title>
		<link>http://www.simplylinux.ch/text-to-speech-in-deutsch-unter-kubuntu</link>
		<comments>http://www.simplylinux.ch/text-to-speech-in-deutsch-unter-kubuntu#comments</comments>
		<pubDate>Fri, 20 Nov 2009 13:00:26 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[ktts]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[text-to-speec]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=226</guid>
		<description><![CDATA[Da ich desöfteren verschiedene Dokumente vergleichen muss, von denen ich nicht immer alles digital habe, habe ich nach einer einfachen Möglichkeit gesucht. Mit einem Text-To-Speech kann ich zumindest eine digitale Kopie mir vorlesen lassen und gleichzeitig mit der nicht-digitalen Kopie vergleichen. Nur kommt Kubuntu nicht mit einem deutschen Stimmsyntethisierungspaket (oder wie das auch immer genau [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich desöfteren verschiedene Dokumente vergleichen muss, von denen ich nicht immer alles digital habe, habe ich nach einer einfachen Möglichkeit gesucht. Mit einem Text-To-Speech kann ich zumindest eine digitale Kopie mir vorlesen lassen und gleichzeitig mit der nicht-digitalen Kopie vergleichen.</p>
<p>Nur kommt Kubuntu nicht mit einem deutschen Stimmsyntethisierungspaket (oder wie das auch immer genau heissen mag.<br />
<span id="more-226"></span><br />
Um also von Text-To-Speech auf Ubuntu profitieren zu können, bedarf es einiger weniger Schritte:</p>
<p>(1) Notwendige Pakete installieren<br />
<div id="wpshdo_35" class="wp-synhighlighter-outer"><div id="wpshdt_35" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_35"></a><a id="wpshat_35" class="wp-synhighlighter-title" href="#codesyntax_35"  onClick="javascript:wpsh_toggleBlock(35)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_35" onClick="javascript:wpsh_code(35)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_35" onClick="javascript:wpsh_print(35)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_35" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> kttsd kmouth mbrola <span class="kw2">unzip</span></pre></div></div></p>
<p>(2) Deutsche Stimmen hinzufügen<br />
Canonical hat die deutschen Stimmen noch nicht selbst in den Repos. Deswegen könnt ihr euch eine männliche und weibliche Stimmer hier schnappen:<br />
<a href="http://packages.debian.org/squeeze/mbrola-de6">http://packages.debian.org/squeeze/mbrola-de6</a><br />
<a href="http://packages.debian.org/squeeze/mbrola-de7">http://packages.debian.org/squeeze/mbrola-de7</a><br />
Diese beiden Debian unstable Pakete laufen wunderbar auf Karmic. Also einfach die .debs runterladen (auf den Desktop) und dann ausführen lassen.</p>
<p>(3) txt2pho installieren<br />
Zusätzlich wird nocht txt2pho gebraucht. Dieses ist aber weder unter Ubuntu noch Debian in den Repos zu finden. Die Installation ist aber auch denkbar einfach:<br />
<div id="wpshdo_36" class="wp-synhighlighter-outer"><div id="wpshdt_36" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_36"></a><a id="wpshat_36" class="wp-synhighlighter-title" href="#codesyntax_36"  onClick="javascript:wpsh_toggleBlock(36)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_36" onClick="javascript:wpsh_code(36)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_36" onClick="javascript:wpsh_print(36)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_36" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.skom.uni-bonn.de<span class="sy0">/</span>forschung<span class="sy0">/</span>phonetik<span class="sy0">/</span>sprachsynthese<span class="sy0">/</span>txt2pho<span class="sy0">/</span>txt2pho.zip
<span class="kw2">sudo</span> <span class="kw2">unzip</span> <span class="re5">-d</span> <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span> txt2pho.zip
<span class="kw2">sudo</span> <span class="kw2">chmod</span> +x <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>txt2pho<span class="sy0">/</span>txt2pho
<span class="kw2">sudo</span> <span class="kw2">cp</span> <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>txt2pho<span class="sy0">/</span>txt2phorc <span class="sy0">/</span>etc<span class="sy0">/</span>txt2pho</pre></div></div></p>
<p>(4) txt2pho Config anpassen<br />
Damit txt2pho auch läuft, muss dessen Config angepasst werden. Dazu muss nun die /etc/txt2pho editiert werden und dort drinnen die beiden Pfadangaben wie folgt geändert werden:<br />
<div id="wpshdo_37" class="wp-synhighlighter-outer"><div id="wpshdt_37" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_37"></a><a id="wpshat_37" class="wp-synhighlighter-title" href="#codesyntax_37"  onClick="javascript:wpsh_toggleBlock(37)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_37" onClick="javascript:wpsh_code(37)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_37" onClick="javascript:wpsh_print(37)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_37" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re2">DATAPATH</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>txt2pho<span class="sy0">/</span>data<span class="sy0">/</span>
<span class="re2">INVPATH</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>txt2pho<span class="sy0">/</span>data<span class="sy0">/</span></pre></div></div></p>
<p>(5) kttsmgr einrichten<br />
Zuletzt muss noch kttsmgr gestartet werden, dieser ist im K-Menu zu finden und es wird dann ein Trayicon geladen. Mit rechtsklick darauf, kann man es konfigurieren. Im Reiter &#8220;Talkers&#8221; einen neuen Sprecher hinzufügen, dazu aus dem Menu Deutsch auswählen und als Synthesizer Hadifix nehmen. Als ich es bei mir aufgesetzt habe, hatte ich nur das weibliche Sprachpaket installiert und es hat dann alles direkt übernommen. Sind nun beide Sprachpakete installiert, kommt wahrscheinlich der entsprechend Config Bildschirm für die Sprecher wo dann ausgewählt werden kann.</p>
<p>Wenn also ein Sprecher eingerichtet wurde, dann in den Reiter &#8220;General&#8221; gehen und dort ktts aktivieren.</p>
<p>(6) Unterbrüche in der Wiedergabe<br />
Sollte es zu Unterbrüchen in der Wiedergabe kommen, könnte dies an Phonon liegen. In diesem Fall auf ALSA wechseln (ich habe dies für mich gemacht).</p>
<p>(7) Weitere Probleme<br />
Ich habe festgestellt, dass Umlaute nicht gelesen werden. Ebenso ist mir immer noch schleierhaft, wie ich die Sprecher wechseln kann. In den Jobs habe ich versucht den Sprecher zu wechseln, aber das hat nicht geklappt. Es sind keine gravierenden Dinge, allerdings hätte ich auch gerne mal den männlichen Sprecher gehört ob der mit Umlauten umgehen kann.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/text-to-speech-in-deutsch-unter-kubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VmWare und Kubuntu 9.10 Karmic</title>
		<link>http://www.simplylinux.ch/vmware-und-kubuntu-9-10-karmic</link>
		<comments>http://www.simplylinux.ch/vmware-und-kubuntu-9-10-karmic#comments</comments>
		<pubDate>Thu, 05 Nov 2009 11:13:21 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[eeePC]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware workstation]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=205</guid>
		<description><![CDATA[Da ich letztes Wochenende Kubuntu 9.10 Karmic auf meinem eeePC 1000HE (32 bit) installiert habe, war es dann auch wieder nötig, VmWare drauf zu schmeissen (ich habs gemacht um die Amarok Kompilierung in einem Vanilla Install zu testen). Die Installation von VmWare Worksation 6.5 lief an sich problemlos, nur starte wollte es dann nicht, weil [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich letztes Wochenende Kubuntu 9.10 Karmic auf meinem eeePC 1000HE (32 bit) installiert habe, war es dann auch wieder nötig, VmWare drauf zu schmeissen (ich habs gemacht um die Amarok Kompilierung in einem Vanilla Install zu testen).<br />
<span id="more-205"></span><br />
Die Installation von VmWare Worksation 6.5 lief an sich problemlos, nur starte wollte es dann nicht, weil es (wie so oft zuvor) Probleme mit den Kernelmodulen hat.</p>
<p>Ich habe diesbezüglich all meine vorherigen Optionen ausprobiert (any-any-Patch, Kompilierungsscript for 9.04) doch dies hat alles nichts geholfen. Ich habe die Module einfach nicht zum laufen gekriegt. Also habe ich mir mal die neue Version von VmWare Workstation (7) besorgt und ich muss sagen, ich war positiv überrascht. Zum einen lieft die Deinstallation und Installation von VmWare Workstation ganz ohne Probleme ab und nach der Installation liefen auch die entsprechenden Kernelmodule (oder wurden ohne Probleme von VmWare selbst kompiliert &#8211; ich weiss es nicht mehr genau). Auf jeden Fall musste ich hier nicht mehr manuel Hand anlegen.</p>
<p>Was ich allerdings nicht weiter ausprobiert habe ist, wie es um den Sound steht. Es wäre gut möglich, dass VmWare Workstation 7 inzwischen auch gleichzeit mit dem System die Soundkarte benutzen kann &#8211; aber wie gesagt, ich habe es nicht ausprobiert. Statt dessen habe ich wieder mein übliches Vorgehen gewählt:</p>
<div id="wpshdo_38" class="wp-synhighlighter-outer"><div id="wpshdt_38" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_38"></a><a id="wpshat_38" class="wp-synhighlighter-title" href="#codesyntax_38"  onClick="javascript:wpsh_toggleBlock(38)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_38" onClick="javascript:wpsh_code(38)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_38" onClick="javascript:wpsh_print(38)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_38" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="re5">-i</span>
<span class="kw2">apt-get</span> <span class="kw2">install</span> alsa-oss
<span class="kw2">chmod</span> +s <span class="sy0">/</span>usr<span class="sy0">/</span>lib<span class="sy0">/</span>libaoss.so.<span class="sy0">*</span>
<span class="kw2">mv</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware.orig
<span class="kw3">echo</span> <span class="st_h">'#!/bin/bash'</span> <span class="sy0">&gt;</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware
<span class="kw3">echo</span> <span class="st_h">'LD_PRELOAD=libaoss.so exec /usr/bin/vmware.orig &quot;$@&quot;'</span> <span class="sy0">&gt;&gt;</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware
<span class="kw2">chmod</span> +x <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware
<span class="kw3">exit</span></pre></div></div>
<p>Damit läuft der Sound auf jedenfall problemlos.</p>
<p>Ebenfalls habe ich wiederum &#8211; ohne vorher die Standardinstallation zu testen &#8211; die Keymaps folgendermass modifiziert:<br />
<div id="wpshdo_39" class="wp-synhighlighter-outer"><div id="wpshdt_39" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_39"></a><a id="wpshat_39" class="wp-synhighlighter-title" href="#codesyntax_39"  onClick="javascript:wpsh_toggleBlock(39)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_39" onClick="javascript:wpsh_code(39)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_39" onClick="javascript:wpsh_print(39)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_39" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st_h">'xkeymap.nokeycodeMap = true'</span> <span class="sy0">&gt;</span> ~<span class="sy0">/</span>.vmware<span class="sy0">/</span>config</pre></div></div></p>
<p>Der Sound und die Keymaps sind inzwischen halt einfach Gewohnheit für mich, wenn das mal jemand testen könnte ohne die Modifikationen und mir entsprechend Feedback geben kann, wäre das auch toll <img src='http://www.simplylinux.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/vmware-und-kubuntu-9-10-karmic/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amarok-Git unter Kubuntu 9.10 Karmic selbst kompilieren</title>
		<link>http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren</link>
		<comments>http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren#comments</comments>
		<pubDate>Mon, 02 Nov 2009 06:09:28 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=178</guid>
		<description><![CDATA[Amarok ist ein genialer Musikplayerund für Kubuntu 9.10 Karmic hat es die aktuelle Version (2.2) auch noch in die offiziellen Repos geschafft. Allerding geht die Entwicklung bei Amarok rasend voran und deshalb gibts hier ein kleines Howto wie man Amarok von GIT kompiliert. Das ganze Howto habe ich auf einer Vanilla-Kubuntu 9.10 Karmic Installation durchgeführt. [...]]]></description>
			<content:encoded><![CDATA[<p>Amarok ist ein genialer Musikplayerund für Kubuntu 9.10 Karmic hat es die aktuelle Version (2.2) auch noch in die offiziellen Repos geschafft. Allerding geht die Entwicklung bei Amarok rasend voran und deshalb gibts hier ein kleines Howto wie man Amarok von GIT kompiliert.</p>
<p><span id="more-178"></span><br />
Das ganze Howto habe ich auf einer Vanilla-Kubuntu 9.10 Karmic Installation durchgeführt. Je nachdem wie stark das System modifiziert wurde braucht es Änderungen.</p>
<p>Diese Howto basiert auf dem Howto für Kubuntu 8.10. Allerdings wurden einige Dinge ausgelagert (so auch Wechsel von SVN zu Git) und deshalb gibts wieder eine Schritt-für-Schritt Anleitung.</p>
<p><del datetime="2009-11-26T08:37:13+00:00">WARNUNG<br />
Das neue Code Plugin hat noch einen Fehler und zwar kann es zwei Bindestriche &#8220;- -&#8221; nicht korrekt erkennen und wiedergeben sondern ersetzt diese immer durch &#8220;&# 8211;&#8221;.<br />
Dies muss entsprechend manuell noch geändert werden. Betroffen sind Scrhitt 9 (letzter Teil), Schritt 11 (beim Patch die zweite Zeile. Dort müssen am Anfang 3 Bindestriche rein, also &#8220;- &#8211; -&#8221;), Schritt 12 beim Configure (gleich zweimal in derselbe Codezeile) und Schritt 14.</del></p>
<h2>1: Bisherige Amarok Installation entfernen</h2>
<div id="wpshdo_40" class="wp-synhighlighter-outer"><div id="wpshdt_40" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_40"></a><a id="wpshat_40" class="wp-synhighlighter-title" href="#codesyntax_40"  onClick="javascript:wpsh_toggleBlock(40)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_40" onClick="javascript:wpsh_code(40)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_40" onClick="javascript:wpsh_print(40)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_40" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> purge amarok amarok-common</pre></div></div><br />
Anstelle von &#8220;purge&#8221; kann man auch &#8220;remove&#8221; nehmen um so die eigenen Daten weiter aufrecht zu erhalten. Amarok muss entfernt werden, da es sonst Probleme gibt.</p>
<h2>2: Upgraden</h2>
<p>Es wird empfohlen sich zunächst die neusten Pakete zu holen und das System zu aktualisieren:<br />
<div id="wpshdo_41" class="wp-synhighlighter-outer"><div id="wpshdt_41" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_41"></a><a id="wpshat_41" class="wp-synhighlighter-title" href="#codesyntax_41"  onClick="javascript:wpsh_toggleBlock(41)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_41" onClick="javascript:wpsh_code(41)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_41" onClick="javascript:wpsh_print(41)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_41" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> update <span class="sy0">&amp;&amp;</span> <span class="kw2">sudo</span> <span class="kw2">apt-get</span> upgrade</pre></div></div>
<h2>3: Benötigte Pakete installieren</h2>
<p>Danach die benötigten Pakete installieren:<br />
<div id="wpshdo_42" class="wp-synhighlighter-outer"><div id="wpshdt_42" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_42"></a><a id="wpshat_42" class="wp-synhighlighter-title" href="#codesyntax_42"  onClick="javascript:wpsh_toggleBlock(42)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_42" onClick="javascript:wpsh_code(42)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_42" onClick="javascript:wpsh_print(42)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_42" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> git-core build-essential kubuntu-restricted-extras kde-devel subversion libncurses5-dev libtag1-dev libqca2-dev libstrigiqtdbusclient-dev libstreamanalyzer-dev</pre></div></div><br />
An sich ist kubuntu-restricted-extras nicht notwendig um Amarok 2 kompiliert zu kriegen, allerdings ohne Codecs wird Amarok auch keine Musik abspielen bzw. Phonon wird das nicht können.</p>
<h2>4: .bashrc und myenv.sh erweitern</h2>
<p>Die .bashrc und myenv.sh Dateien müssen noch erweitert werden. Dazu folgendes im Terminal ausführen:</p>
<p>KDE-Benutzer müssen/sollen das hier ausführen:<br />
<div id="wpshdo_43" class="wp-synhighlighter-outer"><div id="wpshdt_43" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_43"></a><a id="wpshat_43" class="wp-synhighlighter-title" href="#codesyntax_43"  onClick="javascript:wpsh_toggleBlock(43)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_43" onClick="javascript:wpsh_code(43)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_43" onClick="javascript:wpsh_print(43)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_43" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export PATH=$HOME/kde/bin:$PATH'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span><span class="kw2">env</span>
<span class="kw2">touch</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">'export KDEDIR=$HOME/kde'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">'export KDEDIRS=$KDEDIR'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh</pre></div></div></p>
<p>Nicht-KDE-Benutzer müssen das hier ausführen:<br />
<div id="wpshdo_44" class="wp-synhighlighter-outer"><div id="wpshdt_44" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_44"></a><a id="wpshat_44" class="wp-synhighlighter-title" href="#codesyntax_44"  onClick="javascript:wpsh_toggleBlock(44)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_44" onClick="javascript:wpsh_code(44)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_44" onClick="javascript:wpsh_print(44)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_44" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export PATH=$HOME/kde/bin:$PATH'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export KDEDIR=$HOME/kde'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export KDEDIRS=$KDEDIR'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc</pre></div></div></p>
<p>Und mit folgendem überprüfen ob es tatsächlich:<br />
<div id="wpshdo_45" class="wp-synhighlighter-outer"><div id="wpshdt_45" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_45"></a><a id="wpshat_45" class="wp-synhighlighter-title" href="#codesyntax_45"  onClick="javascript:wpsh_toggleBlock(45)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_45" onClick="javascript:wpsh_code(45)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_45" onClick="javascript:wpsh_print(45)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_45" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">cat</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw2">cat</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh</pre></div></div><br />
Natürlich müssen die nicht-KDE-Benutzer nur den ersten Befehl ausführen.</p>
<h2>5: .bashrc neu laden</h2>
<p>Nun muss das ganze noch neu geladen werden:<br />
<div id="wpshdo_46" class="wp-synhighlighter-outer"><div id="wpshdt_46" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_46"></a><a id="wpshat_46" class="wp-synhighlighter-title" href="#codesyntax_46"  onClick="javascript:wpsh_toggleBlock(46)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_46" onClick="javascript:wpsh_code(46)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_46" onClick="javascript:wpsh_print(46)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_46" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">source</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc</pre></div></div></p>
<h2>6: Verzeichnisse kreieren</h2>
<p>Nun legt man die folgenden Verzeichnisse an:<br />
<div id="wpshdo_47" class="wp-synhighlighter-outer"><div id="wpshdt_47" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_47"></a><a id="wpshat_47" class="wp-synhighlighter-title" href="#codesyntax_47"  onClick="javascript:wpsh_toggleBlock(47)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_47" onClick="javascript:wpsh_code(47)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_47" onClick="javascript:wpsh_print(47)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_47" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>build<span class="sy0">/</span>amarok</pre></div></div></p>
<h2>7: Amarok (wird gebraucht für MySQL)</h2>
<div id="wpshdo_48" class="wp-synhighlighter-outer"><div id="wpshdt_48" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_48"></a><a id="wpshat_48" class="wp-synhighlighter-title" href="#codesyntax_48"  onClick="javascript:wpsh_toggleBlock(48)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_48" onClick="javascript:wpsh_code(48)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_48" onClick="javascript:wpsh_print(48)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_48" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
git clone git:<span class="sy0">//</span>gitorious.org<span class="sy0">/</span>amarok<span class="sy0">/</span>amarok.git</pre></div></div><br />
Bei mir hat das folgende Revision gegeben: Checked out revision 942886.</p>
<h2>8: MySQL herunterladen</h2>
<p>Da MySQL in Amarok 2 integriert ist, brauchen wir noch die MySQL Quellen. Diese können <a href="http://dev.mysql.com/downloads/mysql/5.1.html#source" target="_blank">hier</a> heruntergeladen werden (natürlich die tar.gz Version). Derzeit ist die aktuelle Version 5.1.32. Damit die nachfolgenden Befehle alle stimmen, muss nach ${HOME}/kde/src heruntergeladen werden.</p>
<p>Alternative kann auch einfach folgendes ausgeführt werden:<br />
<div id="wpshdo_49" class="wp-synhighlighter-outer"><div id="wpshdt_49" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_49"></a><a id="wpshat_49" class="wp-synhighlighter-title" href="#codesyntax_49"  onClick="javascript:wpsh_toggleBlock(49)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_49" onClick="javascript:wpsh_code(49)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_49" onClick="javascript:wpsh_print(49)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_49" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">wget</span> http:<span class="sy0">//</span>dev.mysql.com<span class="sy0">/</span>get<span class="sy0">/</span>Downloads<span class="sy0">/</span>MySQL-<span class="nu0">5.1</span><span class="sy0">/</span>mysql-5.1.40.tar.gz<span class="sy0">/</span>from<span class="sy0">/</span>http:<span class="sy0">//</span>mirror.switch.ch<span class="sy0">/</span>ftp<span class="sy0">/</span>mirror<span class="sy0">/</span>mysql<span class="sy0">/</span></pre></div></div>
<h2>9: MySQL entpacken und installieren</h2>
<p>Dies gilt jetzt natürlich nur, wenn alle Schritte vorher identisch gemacht wurden und MySQL immer noch 5.1.40 ist. Ansonsten muss das geändert werden.<br />
<div id="wpshdo_50" class="wp-synhighlighter-outer"><div id="wpshdt_50" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_50"></a><a id="wpshat_50" class="wp-synhighlighter-title" href="#codesyntax_50"  onClick="javascript:wpsh_toggleBlock(50)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_50" onClick="javascript:wpsh_code(50)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_50" onClick="javascript:wpsh_print(50)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_50" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">tar</span> xzvf mysql-5.1.40.tar.gz
<span class="kw3">cd</span> mysql-5.1.40
<span class="kw2">cp</span> <span class="re5">-R</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok<span class="sy0">/</span>supplementary_scripts<span class="sy0">/</span>mysqle<span class="sy0">/*</span> .</pre></div></div><br />
Solltest du mehr als 1 CPU/Kern haben, musst du noch folgenden Befehl mit der Anzahl Kerne +1 abändern und ausführen. D.h. bei nem Dualcore wäre es &#8220;-j3&#8243; und bei nem Quadcore &#8220;-j5&#8243; (höhere Werte für -j führen seltenerweise zu Probleme. Sollte dies eintreffen, dann einfach -j1 verwenden):<br />
<div id="wpshdo_51" class="wp-synhighlighter-outer"><div id="wpshdt_51" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_51"></a><a id="wpshat_51" class="wp-synhighlighter-title" href="#codesyntax_51"  onClick="javascript:wpsh_toggleBlock(51)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_51" onClick="javascript:wpsh_code(51)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_51" onClick="javascript:wpsh_print(51)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_51" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">MAKEOPTS</span>=-j2</pre></div></div><br />
Danach kann MySQL kompiliert werden (das dauert):<br />
<div id="wpshdo_52" class="wp-synhighlighter-outer"><div id="wpshdt_52" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_52"></a><a id="wpshat_52" class="wp-synhighlighter-title" href="#codesyntax_52"  onClick="javascript:wpsh_toggleBlock(52)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_52" onClick="javascript:wpsh_code(52)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_52" onClick="javascript:wpsh_print(52)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_52" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>build-mysqle.sh <span class="re5">--prefix</span>=<span class="co1">${HOME}</span><span class="sy0">/</span>usr</pre></div></div></p>
<h2>10: taglib-extras kompilieren</h2>
<p>Dies wurde vor kurzem auch aus dem SVN ausgegliedert und muss ebenfalls separat kompiliert werden. Dazu folgendes Schritte ausführen:<br />
<div id="wpshdo_53" class="wp-synhighlighter-outer"><div id="wpshdt_53" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_53"></a><a id="wpshat_53" class="wp-synhighlighter-title" href="#codesyntax_53"  onClick="javascript:wpsh_toggleBlock(53)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_53" onClick="javascript:wpsh_code(53)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_53" onClick="javascript:wpsh_print(53)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_53" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>anonsvn.kde.org<span class="sy0">/</span>home<span class="sy0">/</span>kde<span class="sy0">/</span>trunk<span class="sy0">/</span>kdesupport<span class="sy0">/</span>taglib-extras<span class="sy0">/</span> taglib-extras
<span class="kw3">cd</span> taglib-extras
<span class="kw2">mkdir</span> build
<span class="kw3">cd</span> build
<span class="kw3">export</span> <span class="re2">LD_LIBRARY_PATH</span>=<span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>build<span class="sy0">/</span>taglib-extras<span class="sy0">/</span>taglib-extras
cmake -DWITH_ASF=On -DWITH_MP4=On -DCMAKE_INSTALL_PREFIX=<span class="co1">${HOME}</span><span class="sy0">/</span>kde ..
<span class="kw2">make</span>
<span class="kw2">make</span> <span class="kw2">install</span></pre></div></div></p>
<h2>11: QtScriptGenerator kompilieren</h2>
<p>Dies wurde ebenfalls ausgeglagert, aber es gibt noch einige Schwierigkeiten dazu. Zuerst einfach mal folgendes ausführen oder sich den aktuellen Code <a href="http://code.google.com/p/qtscriptgenerator/downloads/list" target="_blank">hier</a> besorgen:<br />
<div id="wpshdo_54" class="wp-synhighlighter-outer"><div id="wpshdt_54" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_54"></a><a id="wpshat_54" class="wp-synhighlighter-title" href="#codesyntax_54"  onClick="javascript:wpsh_toggleBlock(54)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_54" onClick="javascript:wpsh_code(54)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_54" onClick="javascript:wpsh_print(54)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_54" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">wget</span> http:<span class="sy0">//</span>qtscriptgenerator.googlecode.com<span class="sy0">/</span>files<span class="sy0">/</span>qtscriptgenerator-src-0.1.0.tar.gz
<span class="kw2">tar</span> xfvz qtscriptgenerator-src-0.1.0.tar.gz
<span class="kw3">cd</span> qtscriptgenerator-src-0.1.0</pre></div></div><br />
Ebenfalls hier ist auf die Versionsnummer zu achten. Die Version 0.1.0 hat allerdings noch Fehler und muss (unter Karmic) gepatcht werden (vgl. <a href="http://code.google.com/p/qtscriptgenerator/issues/detail?id=37" target="_blank">hier</a>). Dazu im qtscriptgenerator-src-0.1.0 Verzeichnis folgendes ausführen:<br />
<div id="wpshdo_55" class="wp-synhighlighter-outer"><div id="wpshdt_55" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_55"></a><a id="wpshat_55" class="wp-synhighlighter-title" href="#codesyntax_55"  onClick="javascript:wpsh_toggleBlock(55)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_55" onClick="javascript:wpsh_code(55)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_55" onClick="javascript:wpsh_print(55)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_55" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> qtscriptgenerator.gcc-4.4.patch</pre></div></div><br />
Und nachfolgenden Text einfügen:<br />
<div id="wpshdo_56" class="wp-synhighlighter-outer"><div id="wpshdt_56" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_56"></a><a id="wpshat_56" class="wp-synhighlighter-title" href="#codesyntax_56"  onClick="javascript:wpsh_toggleBlock(56)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_56" onClick="javascript:wpsh_code(56)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_56" onClick="javascript:wpsh_print(56)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_56" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">diff</span> <span class="re5">-uNr</span> generator.orig<span class="sy0">/</span>parser<span class="sy0">/</span>rpp<span class="sy0">/</span>pp.h generator<span class="sy0">/</span>parser<span class="sy0">/</span>rpp<span class="sy0">/</span>pp.h
<span class="re5">---</span> generator.orig<span class="sy0">/</span>parser<span class="sy0">/</span>rpp<span class="sy0">/</span>pp.h	<span class="nu0">2008</span>-<span class="nu0">12</span>-05 <span class="nu0">11</span>:01:<span class="nu0">44.000000000</span> +0100
+++ generator<span class="sy0">/</span>parser<span class="sy0">/</span>rpp<span class="sy0">/</span>pp.h	<span class="nu0">2008</span>-<span class="nu0">12</span>-<span class="nu0">13</span> <span class="nu0">10</span>:<span class="nu0">42</span>:<span class="nu0">22.000000000</span> +0100
<span class="sy0">@@</span> -<span class="nu0">30</span>,<span class="nu0">6</span> +<span class="nu0">30</span>,<span class="nu0">7</span> <span class="sy0">@@</span>
 <span class="co0">#include &lt;cctype&gt;</span>
&nbsp;
 <span class="co0">#include &lt;fcntl.h&gt;</span>
+<span class="co0">#include &lt;cstdio&gt;</span>
&nbsp;
 <span class="co0">#ifdef HAVE_MMAP</span>
 <span class="co0">#  include &lt;&gt;sys/mman.h&gt;</span></pre></div></div><br />
Die Datei dann speichern und folgenden Befehl ausführen um zu patchen:<br />
<div id="wpshdo_57" class="wp-synhighlighter-outer"><div id="wpshdt_57" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_57"></a><a id="wpshat_57" class="wp-synhighlighter-title" href="#codesyntax_57"  onClick="javascript:wpsh_toggleBlock(57)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_57" onClick="javascript:wpsh_code(57)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_57" onClick="javascript:wpsh_print(57)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_57" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> qtscriptgenerator.gcc-4.4.patch</pre></div></div><br />
Danach kann mit folgenden Befehlen das ganze kompiliert werden. Hier muss zuerst ins Verzeichnis generator rein und dann noch in qtbindings:<br />
<div id="wpshdo_58" class="wp-synhighlighter-outer"><div id="wpshdt_58" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_58"></a><a id="wpshat_58" class="wp-synhighlighter-title" href="#codesyntax_58"  onClick="javascript:wpsh_toggleBlock(58)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_58" onClick="javascript:wpsh_code(58)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_58" onClick="javascript:wpsh_print(58)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_58" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">INCLUDE</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>include<span class="sy0">/</span>qt4
<span class="kw3">cd</span> generator
qmake
<span class="kw2">make</span>
.<span class="sy0">/</span>generator
<span class="kw3">cd</span> ..<span class="sy0">/</span>qtbindings
qmake
<span class="kw2">make</span></pre></div></div><br />
Am Schluss noch die Plugins nach /usr/lib/qt4/plugins/script kopiert werden.<br />
<div id="wpshdo_59" class="wp-synhighlighter-outer"><div id="wpshdt_59" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_59"></a><a id="wpshat_59" class="wp-synhighlighter-title" href="#codesyntax_59"  onClick="javascript:wpsh_toggleBlock(59)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_59" onClick="javascript:wpsh_code(59)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_59" onClick="javascript:wpsh_print(59)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_59" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ..<span class="sy0">/</span>plugins<span class="sy0">/</span>script
<span class="kw2">sudo</span> <span class="kw2">cp</span> <span class="re5">-R</span> <span class="sy0">*</span> <span class="sy0">/</span>usr<span class="sy0">/</span>lib<span class="sy0">/</span>qt4<span class="sy0">/</span>plugins<span class="sy0">/</span>script<span class="sy0">/</span></pre></div></div></p>
<h2>12: Zusätzliche Amarok Plugins vorbereiten</h2>
<p>Zuerst liblastfm, damit man über last.fm scrobbeln kann<br />
<div id="wpshdo_60" class="wp-synhighlighter-outer"><div id="wpshdt_60" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_60"></a><a id="wpshat_60" class="wp-synhighlighter-title" href="#codesyntax_60"  onClick="javascript:wpsh_toggleBlock(60)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_60" onClick="javascript:wpsh_code(60)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_60" onClick="javascript:wpsh_print(60)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_60" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> qt4-qmake pkg-config libsamplerate-dev libfftw3-dev ruby <span class="kw2">g++</span> libqt4-dev
<span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>
<span class="kw2">wget</span> http:<span class="sy0">//</span>cdn.last.fm<span class="sy0">/</span>src<span class="sy0">/</span>liblastfm-0.3.0.tar.bz2
<span class="kw2">tar</span> xvfj liblastfm-0.3.0.tar.bz2
<span class="kw3">cd</span> liblastfm-0.3.0
.<span class="sy0">/</span>configure <span class="re5">--release</span> <span class="re5">--prefix</span> <span class="sy0">/</span>usr<span class="sy0">/</span><span class="kw3">local</span>
<span class="kw2">make</span>
<span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div><br />
Für die restlichen Plugins braucht man nur noch die entsprechenden Pakete zu installieren. Einfach die gewünschten Plugins auswählen und die Zeilen einfügen:<br />
<div id="wpshdo_61" class="wp-synhighlighter-outer"><div id="wpshdt_61" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_61"></a><a id="wpshat_61" class="wp-synhighlighter-title" href="#codesyntax_61"  onClick="javascript:wpsh_toggleBlock(61)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_61" onClick="javascript:wpsh_code(61)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_61" onClick="javascript:wpsh_print(61)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_61" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0"># libgpod; das erfüllt auch gerade die Voraussetzungen für Gdk</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libgpod4 libgpod-dev
<span class="co0"># libmtp</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libmtp8 libmtp-dev
<span class="co0"># curl</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> curl libcurl4-openssl-dev
<span class="co0"># libxml2</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libxml2 libxml2-dev
<span class="co0"># loudmouth</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libloudmouth1-<span class="nu0">0</span> libloudmouth1-dev</pre></div></div></p>
<h2>13: Amarok kompilieren</h2>
<p>Amarok kann nun endlich kompiliert werden:<br />
<div id="wpshdo_62" class="wp-synhighlighter-outer"><div id="wpshdt_62" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_62"></a><a id="wpshat_62" class="wp-synhighlighter-title" href="#codesyntax_62"  onClick="javascript:wpsh_toggleBlock(62)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_62" onClick="javascript:wpsh_code(62)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_62" onClick="javascript:wpsh_print(62)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_62" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok
<span class="kw2">mkdir</span> build
<span class="kw3">cd</span> build
cmake -DCMAKE_INSTALL_PREFIX=<span class="co1">${HOME}</span><span class="sy0">/</span>kde -DCMAKE_BUILD_TYPE=debugfull <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok
<span class="kw2">make</span>
<span class="kw2">make</span> <span class="kw2">install</span></pre></div></div><br />
Dies sollte ohne grössere Fehlermeldungen von statten gehen.</p>
<h2>14: KDE Config updaten</h2>
<p>Zuletzt muss noch KDE Config geupdated werden:<br />
<div id="wpshdo_63" class="wp-synhighlighter-outer"><div id="wpshdt_63" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_63"></a><a id="wpshat_63" class="wp-synhighlighter-title" href="#codesyntax_63"  onClick="javascript:wpsh_toggleBlock(63)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_63" onClick="javascript:wpsh_code(63)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_63" onClick="javascript:wpsh_print(63)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_63" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">kbuildsycoca4 <span class="re5">--noincremental</span></pre></div></div></p>
<h2>15: Amarok starten</h2>
<p>Und Amarok kann dann von der Shell aus (ich habs noch nicht anders hingekriegt) mit folgendem Befehl gestartet werden:<br />
<div id="wpshdo_64" class="wp-synhighlighter-outer"><div id="wpshdt_64" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_64"></a><a id="wpshat_64" class="wp-synhighlighter-title" href="#codesyntax_64"  onClick="javascript:wpsh_toggleBlock(64)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_64" onClick="javascript:wpsh_code(64)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_64" onClick="javascript:wpsh_print(64)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_64" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">amarok</pre></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
