Firefox JSSH 연결 또는 Ubuntu 64의 매우 상세한 컴파일 단계?
문제
JSSH와 Firefox가 Ubuntu Jaunty 64 비트 기계에서 Nice를 플레이하는 데 어려움을 겪고 있습니다. 이 작업을 수행하는 데 필요한 특정 단계를 알고 있습니까? (또는 Firewatir가 작동하기 위해 다른 것을 사용하고 있다면 답변으로도 가져갈 것입니다).
내가 시도한 몇 가지 사항은 다음과 같습니다.
JSSH 확장자 자체 설치 (지침에 따라 http://wiki.openqa.org/display/wtr/firewatir+on+ubuntu) 그런 다음 다음 명령 줄을 실행하면 오류가 발생합니다.
Firefox -jssh
텔넷 로컬 호스트 : 9997
오류가 발생합니다.
시도 :: 1 ...
127.0.0.1 시도 ...
Telnet : 원격 호스트에 연결할 수 없음 : 연결 거부
다음 MozConf 파일로 Firefox를 컴파일하고 명령을 오류로 만듭니다.
.
The file:
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-jssh
ac_add_options --enable-extensions=default,jssh
ac_add_options --enable-application=browser
The command:
make -f client.mk
I get the Error:
make[6]: [WebGLContext.o] Error 1
make[6]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content/canvas/src'
make[5]: [src_libs] Error 2
make[5]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content/canvas'
make[4]: [canvas_libs] Error 2
make[4]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content'
make[3]: [libs_tier_gecko] Error 2
make[3]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make[2]: [tier_gecko] Error 2
make[2]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make[1]: [default] Error 2
make[1]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make: [build] Error 2
- 컴파일
해결책
이 명령어를 사용해 볼 수 있습니다. (Google을 사용하여 찾았지만 조금 수정해야했습니다) :
결제하려면 일부 패키지를 설치하고 Firefox를 성공적으로 컴파일해야합니다.
sudo apt-get build-dep firefox
sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev libglu1-mesa-dev
그런 다음 저장소에서 Firefox 소스를 복제하십시오
이 버전에는 Firefox Add-Ons 호환성에 문제가 있습니다
빠른 해결 방법을 위해이 애드온을 설치하십시오 http://www.oxymoronical.com/web/firefox/nightly
hg clone http://hg.mozilla.org/mozilla-central/
cd mozilla-central
현재 디렉토리에서 새 파일을 작성하십시오
gedit .mozconfig
다음 빌드 옵션을 붙여 넣으십시오.
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-jssh
ac_add_options --enable-extensions=default,jssh
ac_add_options --enable-webservices
ac_add_options --enable-application=browser
그럼
autoconf2.13
cd js/src
autoconf2.13
cd ../..
그리고 사용을 컴파일합니다
make -f client.mk build
실패한 경우 오류 메시지에 표시된 필수 패키지를 설치합니다.
지금
./firefox-jssh/dist/bin/firefox -jssh
telnet localhost:9997
그리고 다행히도 당신은 볼 것입니다 "Mozilla JavaScript 쉘에 오신 것을 환영합니다!"
운이 좋기를 바랍니다. 그리고 인내심을 가지십시오. 편집에는 시간이 걸립니다.
다른 팁
제휴하지 않습니다 StackOverflow