<?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 İpuçları &#187; aptana</title>
	<atom:link href="http://www.linuxipuclari.com/tag/aptana/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxipuclari.com</link>
	<description>Linux Hakkında Pratik İpuçları</description>
	<lastBuildDate>Sat, 24 Apr 2010 21:14:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Aptana Studio&#8217;yu Ubuntu sisteminde nasıl çalıştırırım?</title>
		<link>http://www.linuxipuclari.com/genel/aptana-studio-yu-ubuntu-sisteminde-nasil-calistiririm</link>
		<comments>http://www.linuxipuclari.com/genel/aptana-studio-yu-ubuntu-sisteminde-nasil-calistiririm#comments</comments>
		<pubDate>Thu, 21 May 2009 23:26:09 +0000</pubDate>
		<dc:creator>Ali Soğukpınar</dc:creator>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[Gezegen]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[xulrunner]]></category>

		<guid isPermaLink="false">http://www.linuxipuclari.com/?p=337</guid>
		<description><![CDATA[Aptana Studio Php, Python, Ruby, vs birçok dilde programlama yapabileceğiniz bir geliştirme ortamıdır. Aptana Studio&#8217;yu Eclipse eklentisi veya bağımsız bir uygulama olmak üzere iki değişik dağıtımda temin edebilirsiniz. Bağımsız uygulama dağıtımını kurmak için Apata sitesinden indirdiğiniz bir zip dosyasını açmanız yeterli olacaktır. Fakat Ubuntu sisteminizde Aptana&#8217;yı çalıstırmaya çalıştırdığınızda muhtemelen [ERROR] Unable to load protocol manager [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://aptana.com">Aptana Studio</a> Php, Python, Ruby, vs birçok dilde programlama yapabileceğiniz bir geliştirme ortamıdır. Aptana Studio&#8217;yu  Eclipse eklentisi veya bağımsız bir uygulama olmak üzere iki değişik dağıtımda temin edebilirsiniz. </p>
<p>Bağımsız uygulama dağıtımını kurmak için  Apata sitesinden indirdiğiniz bir zip dosyasını açmanız yeterli olacaktır. Fakat Ubuntu sisteminizde Aptana&#8217;yı çalıstırmaya çalıştırdığınızda muhtemelen </p>
<blockquote><p>
[ERROR] Unable to load protocol manager </p></blockquote>
<p>diye başlayıp giden uzun bir debug mesajı karşınıza çıkacak ve program bu hata mesajını ekrana yazdıktan sonra sona erecektir.</p>
<p>Karşılaktığınız bu sorun Aptanın ihtiyaç duyduğu <em>xulrunner</em> kütüphanesinden kaynaklanıyor. Aptana xulrunner kütüphanesinin 1.8 versiyonuna ihtiyaç duyuyor fakat Ubuntu sisteminizde standart olarak 1.9 versiyonu kurulu geliyor.</p>
<p>Aptana&#8217;yı çalışır hale getirmek için bu kütüphanenin 1.8 versiyonun sistemize kurup Aptana&#8217;nın bu versiyonu görmesini sağlamamız lazım. Öncelikle xulrunner kütüphanesini 1.8 versiyonun teminetmemiz gerekiyor. Aşağıda sırasıyla yapılması gereken adımları bulabilirsiniz.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">alis<span style="color: #000000; font-weight: bold;">@</span>alis-laptop:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>releases.mozilla.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>mozilla.org<span style="color: #000000; font-weight: bold;">/</span>xulrunner<span style="color: #000000; font-weight: bold;">/</span>releases<span style="color: #000000; font-weight: bold;">/</span>1.8.1.3<span style="color: #000000; font-weight: bold;">/</span>contrib<span style="color: #000000; font-weight: bold;">/</span>linux-i686<span style="color: #000000; font-weight: bold;">/</span>xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz
&nbsp;
alis<span style="color: #000000; font-weight: bold;">@</span>alis-laptop:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz
&nbsp;
alis<span style="color: #000000; font-weight: bold;">@</span>alis-laptop:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>xulrunner-1.8.1.3
alis<span style="color: #000000; font-weight: bold;">@</span>alis-laptop:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-r</span> xulrunner<span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>xulrunner-1.8.1.3</pre></div></div>

<p>Artık sistemimizde doğru kütüphane versiyonunu bulundurduğumuza göre Aptana yı çalıştırabilmek için yapmamız gereken son adım, Aptana&#8217;nın 1.9 versiyonu yerine yeni kurduğumuz 1.8 versiyonunu kullanmasını sağlamak. Bunun için ufak bir shell script kullanacağız.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
    <span style="color: #007800;">MOZILLA_FIVE_HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>xulrunner-1.8.1.3
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$LD_LIBRARY_PATH</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #007800;">LD_LIBRARY_PATH</span>=<span style="color: #007800;">$MOZILLA_FIVE_HOME</span>:<span style="color: #007800;">$LD_LIBRARY_PATH</span>
    <span style="color: #000000; font-weight: bold;">else</span>
    <span style="color: #007800;">LD_LIBRARY_PATH</span>=<span style="color: #007800;">$MOZILLA_FIVE_HOME</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">export</span> MOZILLA_FIVE_HOME LD_LIBRARY_PATH
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>aptana<span style="color: #000000; font-weight: bold;">/</span>AptanaStudio</pre></div></div>

<p>Yukarıdaki scripti <em>/usr/bin/aptana</em> isimli bir dosyaya kaydedip <em>aptana</em> komutuyla Aptana Studio yu kullanmaya başlayabiliriz.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">alis<span style="color: #000000; font-weight: bold;">@</span>alis-laptop:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>aptana
alis<span style="color: #000000; font-weight: bold;">@</span>alis-laptop:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span>  <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>aptana</pre></div></div>

<p>Aptana kurulumu hakkına daha detaylı bilgiye ihtiyacınız olması durumunda  Aptana sitesinden <a href="http://aptana.com/docs/index.php/Installing_Aptana_on_Linux">Linux kurulum notlarına</a> başvurabilirsiniz.</p>
<p>Mutlu programlamalar&#8230; ;)</p>
<p><strong style="color:#999;">Bu yazıyı beğendiyseniz, diğer yazılarımıza da <a href="http://www.linuxipuclari.com">Linuxipuclari.com</a> adresinden ulaşabilirsiniz.</strong></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxipuclari.com/genel/aptana-studio-yu-ubuntu-sisteminde-nasil-calistiririm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

