I'm having a hard time getting jssh and firefox to play nice on an Ubuntu Jaunty 64-bit machine. Anyone know the specific steps needed to make this work? (or, if you're using something else to get firewatir to work, I'll take those as answers as well)
Here are a few things I tried:
installing the jssh extension by itself (by following the instructions in http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu) then running the following command line renders an error:
firefox -jssh
telnet localhost:9997
I get the error:
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection Refused
Compiling firefox with the following mozconf file and make command renders an error:
.
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
- Compiling
You can try fallow this instruction: (found using google but I had to correct a little bit):
You have to install some packages to checkout and successfully compile firefox
then clone firefox source from repository
This version has problems with firefox add-ons compatibility
for quick workaround install this add-on http://www.oxymoronical.com/web/firefox/nightly
Create a new file .mozconfig in current directory
and paste the following build options into it.
then do
and compile using
If failure, install required packages displayed in error messages
now
and fortunately you should see "Welcome to the Mozilla JavaScript Shell!"
I wish you luck, and be patient, compilation takes a while