Ubuntu + Aptana Standalone 설치시 문제해결법

1. Apnata Studio 를 다운받고 home 디렉토리 밑에 원하는 곳에 압축을 푼다
2. xulrunner 1.8.* 을 설치한다. (시넵틱 관리자를 이용하면 편하다)
3. xulrunner가 설치된 위치를 확인한다. (시넵틱으로 설치했다면, /usr/lib/xulrunner 에 설치가 된다)
4. AptanaStudio 실행 아이콘이 있는 곳에다 파일 하나를 생성한다. runAptana 라는 이름을 붙여주자.
내용은 다음과 같다.

export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
/home/myUtils/devTools/aptana/aptana/AptanaStudio

MOZILLA_FIVE_HOME 는 xulrunner 가 설치된곳.
/home/myUtils/devTools/aptana/aptana/AptanaStudio 는 AptanaStudio 실행아이콘이 있는 위치.

5. 이제 runAptana 를 실행스크립트로 만들어준다
chmod +x runAptana

6. 실행
./runAptana

이제 aptana 가 실행된다.

원문 - http://www.aptana.com/docs/index.php/Installing_Aptana_on_Linux

Standard Installation Instructions

x

Setup Aptana Studio 1.2.1

Note: Aptana Studio 1.3.0 from Fresh Install does not require these changes.x

  • Unzip Aptana Studio to /usr/local/aptana. Note: If you installAptana Studio in a directory accessible only to the root user, you willneed to run it as root to install updates.
  • Install xulrunner 1.8.* (You can use Synaptic Package Manager to install this.)
    • You can download Xulrunner 1.8 from https://developer.mozilla.org/En/XULRunner
    • Once installed, make sure you $MOZILLA_FIVE_HOME is pointing to your xulrunner 1.8 dir
    • You may also need to install compat-libstdc++ if you arerunning into a libstdc++.so.5: cannot open shared object file: No suchfile or directory when running xulrunner-bin from command line.
  • Check your /usr/lib/xulrunner.... and note the full name of xulrunner. Is some case it is simply "xulrunner" while in other cases the name includes the version.
  • Create a script that sets up the Aptana Studio environment, call it runAptana:
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
/usr/local/aptana/AptanaStudio
  • Make your script executable:
$ chmod +x runAptana
  • Run the script
Alternatively, you may add the export statement to .bashrc or.bash_profile in your home directory and create an icon on your desktoppointing to the Aptana Studio executable. To set MOZILLA_FIVE_HOME forall users systemwide, add it to /etc/profile (on most systems).


by beizix | 2009/07/07 02:26 | 우당탱 Ubuntu | 트랙백 | 덧글(2)

트랙백 주소 : http://beizix.egloos.com/tb/2366401
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]
Commented by 낭망백수 at 2009/07/07 14:24
eclipse 는 혹시 안 쓰세요?
Commented by beizix at 2009/07/08 02:50
네, Ubuntu + eclipse + aptana plugin 에 관한 글을 http://beizix.egloos.com/2367306 입니다 ^^

:         :

:

비공개 덧글

◀ 이전 페이지다음 페이지 ▶