Beginner Step By Step Instructions

BeginnerStepByStepInstructions
Step-by-Step Instructions to Run The Latest Arora
Featured, Phase-Deploy Updated Feb 4, 2010 by ice…@gmail.com
Step-by-Step Instructions to Run The Latest Arora
Introduction
Arora is still in early development, which means that there are no compiled installable packages yet. To try the latest code, follow this guide.

Step 1: Make sure git is installed.
To see if git is installed, open up a terminal window and type git. If it is not installed, the terminal will report back command not found. If it is installed, you’ll receive the git help text. To install git: Windows, Mac, and for Linux, use your distro’s package manager.

Step 2: Download and install Qt 4.4 or greater.
If you already have Qt 4.4 or greater installed, you can skip this step. To install qt 4.4, visit the Official Install Instructions and the Download Page. Be sure to add the correct PATH variable if required in the official install instructions. When you’re done, skip the alternative method section, and move onto Step 3.

Alternative Method: Download and install qt-snapshot.
Qt snapshot is the latest trolltech snapshot of the upcoming qt version. Choose this alternative method only if you are especially curious. Otherwise, follow the directions in the section above to get the release version. Issue these commands to get the latest qt snapshot:

$ git clone –depth 1 git://labs.trolltech.com/qt-snapshot
$ cd qt-snapshot
$ ./configure -no-accessibility -no-exceptions -no-qt3support
Accept the licence. At the end of this, jot down the directory that qt will be installed into. On my computer it is /usr/local/Trolltech/Qt-4.5.0-snapshot-20080518. Now we are ready to compile and install qt. This will take a while. Type: make && sudo make install and press enter. Be sure to add the bin directory inside of installation directory to your PATH: export PATH=”/usr/local/Trolltech/Qt-4.5.0-snapshot-20080518/bin:$PATH”. Be sure to use the directory given by the configure script, and not the one used here as an example.

Optional: To update the qt snapshot in the future, you can issue these commands:

$ cd qt-snapshot
$ git pull
$ make && sudo make install
Step 3: Download and compile the latest Arora.
Now we will download the latest tree of Arora. Issue these commands:

$ git clone git://github.com/Arora/arora.git
$ cd arora
$ qmake
$ make
Arora is now compiled. To run arora, simply run ./arora from the current directory.

Optional: To update to the latest Arora in the future, you can issue these commands:

$ cd arora
$ git pull
$ make distclean
$ qmake
$ make
Under Debian-based systems, including Debian and Ubuntu, use qmake-qt4 instead of qmake. You will need to install the libqt4-dev package version 4.4, which is available in Debian testing, as well as Ubuntu 8.04 in the hardy-backports repository.

If you are looking for an IDE to develop Arora in you can checkout the free IDE Qt Creator that is available with Qt 4.5.

Comment by tora…@gmail.com, May 27, 2008
To build Arora against WebKit? trunk follow this:

http://code.google.com/p/arora/wiki/source?tm=4

Comment by raul.lap…@gmail.com, May 28, 2008
Version for Hardy 64 bits ?

Regards

Comment by mister…@gmail.com, May 29, 2008
QT4.4 is in Hardy-backports for those using Ubuntu

You’ll want libqt4-dev.

Comment by jaims.se…@gmail.com, May 30, 2008
Hello Do you guys use something like an IDE to develop Arora? I guess you don’t. I tried to open the .pro file with QDevelop (I guess you know it, http://qdevelop.free.fr) to no avail.

Could it be possible for the developers to release a small doc explaining the flow of development you follow and the tools you use? I mean, something like ‘I use emacs to edit the source files, then if I create new source files into project I edit the .pro file….)

Comment by project member inetper…@gmail.com, May 31, 2008
Icefox doesn’t use an IDE, just a text editor. I use KDevelop because QDevelop has a problem reading .pri includes.

Comment by jaims.se…@gmail.com, Jun 2, 2008
inetperson: ty for your answer. I’ve been spenting the weekend on kdevelop and I really love it.

The thing is that I’m taking a look on your (wonderful) source code in xp, because in my linux box the current qt4 version is less than the one you are currently using, and since I like having my packages in sync with repositories, I’ll have to wait.

On the other hand, due to my job, I have to spent several hours per day on my xp partition (where I’ve compiled the latest qt-opensource version) and not always I have the time to go linux. Besides, one of the nice things with Qt is portability across plattforms.

Anyways, you are doing a good job, I really like Arora. I thought I could give a hand with the spanish translation, but found that you already have a good one.

Cheers

Comment by carfi…@gmail.com, Jun 4, 2008
Get error… will anyone have idea about it?

carfield@carfield:~/workspace/arora$ carfield@carfield:~/workspace/arora$ qmake-qt4 carfield@carfield:~/workspace/arora$ make cd src/ && /usr/bin/qmake-qt4 src.pro -unix -o Makefile cd src/ && make -f Makefile make1?: Entering directory `/home/carfield/workspace/arora/src’ /usr/bin/lrelease locale/cs_CZ.ts -qm .qm/locale/cs_CZ.qm Updating ‘.qm/locale/cs_CZ.qm’…

Generated 250 translations (238 finished and 12 unfinished) Ignored 24 untranslated source texts
/usr/bin/lrelease locale/de.ts -qm .qm/locale/de.qm Updating ‘.qm/locale/de.qm’…
Generated 280 translations (279 finished and 1 unfinished) Ignored 6 untranslated source texts
/usr/bin/lrelease locale/en.ts -qm .qm/locale/en.qm Updating ‘.qm/locale/en.qm’…
Generated 0 translations (0 finished and 0 unfinished) Ignored 274 untranslated source texts
/usr/bin/lrelease locale/es.ts -qm .qm/locale/es.qm Updating ‘.qm/locale/es.qm’…
Generated 274 translations (274 finished and 0 unfinished)
/usr/bin/lrelease locale/fr.ts -qm .qm/locale/fr.qm Updating ‘.qm/locale/fr.qm’…
Generated 248 translations (246 finished and 2 unfinished) Ignored 26 untranslated source texts
/usr/bin/lrelease locale/it.ts -qm .qm/locale/it.qm Updating ‘.qm/locale/it.qm’…
Generated 274 translations (274 finished and 0 unfinished)
/usr/bin/lrelease locale/pl.ts -qm .qm/locale/pl.qm Updating ‘.qm/locale/pl.qm’…
Generated 274 translations (263 finished and 11 unfinished)
/usr/bin/lrelease locale/ru.ts -qm .qm/locale/ru.qm Updating ‘.qm/locale/ru.qm’…
Generated 274 translations (274 finished and 0 unfinished)
/usr/bin/uic-qt4 addbookmarkdialog.ui -o .ui/ui_addbookmarkdialog.h /usr/bin/uic-qt4 bookmarks.ui -o .ui/ui_bookmarks.h /usr/bin/uic-qt4 cookies.ui -o .ui/ui_cookies.h /usr/bin/uic-qt4 cookiesexceptions.ui -o .ui/ui_cookiesexceptions.h /usr/bin/uic-qt4 downloaditem.ui -o .ui/ui_downloaditem.h /usr/bin/uic-qt4 downloads.ui -o .ui/ui_downloads.h /usr/bin/uic-qt4 history.ui -o .ui/ui_history.h /usr/bin/uic-qt4 passworddialog.ui -o .ui/ui_passworddialog.h /usr/bin/uic-qt4 proxy.ui -o .ui/ui_proxy.h /usr/bin/uic-qt4 searchbanner.ui -o .ui/ui_searchbanner.h /usr/bin/uic-qt4 settings.ui -o .ui/ui_settings.h /usr/bin/uic-qt4 aboutdialog.ui -o .ui/ui_aboutdialog.h g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -DQT_SHARED -DQT_NO_UITOOLS -DGITVERSION=”\”a236810\”” -DGITCHANGENUMBER=”\”145\”” -DDATADIR=\”/usr/local/share\” -DPKGDATADIR=\”/usr/local/share/arora\” -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore? -I/usr/include/qt4/QtCore? -I/usr/include/qt4/QtNetwork? -I/usr/include/qt4/QtNetwork? -I/usr/include/qt4/QtGui? -I/usr/include/qt4/QtGui? -I/usr/include/qt4 -I. -I.moc -I.ui -o .obj/aboutdialog.o aboutdialog.cpp aboutdialog.cpp: In constructor ‘AboutDialog?::AboutDialog?(QWidget)’: aboutdialog.cpp:37: error: ‘applicationVersion’ is not a member of ‘QApplication’ make1?: [.obj/aboutdialog.o] Error 1 make1?: Leaving directory `/home/carfield/workspace/arora/src’ make: [sub-src-make_default] Error 2 carfield@carfield:~/workspace/arora$
Comment by jaims.se…@gmail.com, Jun 11, 2008
Hi (again)

I was thinking that in the end, the (promising) Arora browser is going to be as good as the html rendering engine is. QtWebkit? / WEbkit is a very nice open source one, but the thing is that it doesn’t currently pass the acid test (http://acid3.acidtests.org/) by far, it even does worse than other engines (for instance, the ones used by mozilla or opera, who work better through it).

Likewise, there are a number of web sites that qwebkit doesn’t render quite well, being other browsers able to do a best job.

My question would be, if you feel like spending some time on an answer: have you invested any time, thinking about it, guys? Are you going to rely on QtWebkit? (which is a good job), or maybe you know for certain that they are on the way to improve things soon, or maybe getting involved with webkit development…?

Thanks for your time (and patience)

Comment by sysco…@gmail.com, Jun 14, 2008
jaims.seuma,

Don’t worry.

There are some people from Trolltech working in Arora, and there are people from Trolltech working in QtWebKit, so things will improve soon!

I hope Qt 4.5 will come with near perfect QtWebKit. Let’s test the stuff and help the guys!

Comment by jaims.se…@gmail.com, Jun 15, 2008
syscoder: ok, thank you very much. I like the stuff I see, it’s good job (qtwebkit, qt and arora)

briangeppert: the easiest way to compile arora in win is (imho): -> download mingw and msys. Install them -> download the qt win opensource bundle (exe). No compilation required. That’s (if my memory still working properly) all you be needing in order to be able to compile arora.

Comment by maken…@gmail.com, Jun 21, 2008
Tip: to build the current Qt 4.5.0 snapshot on linux-g++ with -static, you may need to use the option -no-qt-qtsql

Comment by maken…@gmail.com, Jun 21, 2008
Tip: You can specify the installation directory by running qmake PREFIX=/usr/local where “/usr/local” is the location you wish to install to.

Comment by csaba.h…@gmail.com, Jun 30, 2008
carfield: Probably you don’t have the right version of QT. I’ve got the same error when I tried to compile the code against QT 4.3.5. The instructions clearly say that you need at least 4.4

Comment by pascal.s…@gmail.com, Jul 5, 2008
qt-4.4.0 and arora are available in Gentoo Linux (masked packages)

Comment by eclipse….@gmail.com, Aug 11, 2008
if you don’t want to build examples and demos with QT, just do the following :

$ ./configure -no-accessibility -no-exceptions -no-qt3support -nomake examples -nomake demos
Comment by zorglub…@gmail.com, Sep 27, 2008
Hi, I try to compile arora on opensuse 11.0 with qt4.4 from the depository. Firstly I need to make manually : uic history.ui -o ui_history.h for all the .ui file, why ? Secondly qmake say : ~/arora> qmake WARNING: Failure to find: htmls WARNING: Failure to find: data How can I resolve this error ?

PS: Sorry for my English 😉

Comment by deepthid…@gmail.com, Feb 16, 2009
will arora run on a windows CE platform?or is it exclusively for desktop.

Comment by greg_h…@hotmail.com, Mar 18, 2009
I’m impressed. I’ve been looking for a lightweight browser to save on resources. Dillo almost does it but I can’t use it for blogging, etc. This does the job and is even lighter on resources than Opera while having almost as many features. Keep up the good work!

Comment by spiralof…@gmail.com, May 11, 2009
For anyone having chdir permission issues when trying to do the git clone, make sure you have “git-core” installed.

Comment by Kanwar.P…@gmail.com, Jul 28, 2009
What version of openssl does Arora need? On Mandriva, I cannot login to yahoo webmail and I get the following error:

SSL handshake failed.

Comment by yilan198…@gmail.com, Jul 28, 2009
I have installed it in lenny.

but I found it sometimes closed

I don’t know what can I do

here is the report :

~$ arora

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-CRITICAL : g_once_init_leave: assertion `initialization_value != 0′ failed

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-GObject-CRITICAL : g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)’ failed

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-GObject-CRITICAL : g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)’ failed

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-GObject-CRITICAL : g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)’ failed

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-CRITICAL : g_once_init_leave: assertion `initialization_value != 0′ failed

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-GObject-CRITICAL : g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)’ failed

(process:4429): GLib-CRITICAL : g_once_init_leave: assertion `initialization_value != 0′ failed

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-CRITICAL : g_once_init_leave: assertion `initialization_value != 0′ failed

(process:4429): GLib-GObject-CRITICAL : g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)’ failed

(process:4429): GLib-GObject-CRITICAL : /build/buildd/glib2.0-2.21.4/gobject/gtype.c:2458: initialization assertion failed, use IAg_type_init() prior to this function

(process:4429): GLib-CRITICAL : g_once_init_leave: assertion `initialization_value != 0′ failed

(process:4429): Gdk-CRITICAL : gdk_xid_table_lookup_for_display: assertion `GDK_IS_DISPLAY (display)’ failed

Comment by alexandre.dupas, Jul 31, 2009
Support for Qt 4.4 have been deprecated since commit a16e05a99c6305b16dedd08e6461dccfab4cd241. This page should be updated accordingly.

@yilan198711: lenny has only v4.4 of Qt so you have to install qt-snapshot. Btw I don’t see why glib2.0 is causing trouble when launching arora.

Comment by rcyb…@gmail.com, Oct 24, 2009
The error in【Step 3: Download and compile the latest Arora.】 $ git clone git://github.com/Arora/arora.git(success) $ cd arora(success) $ qmake(success) $ make(error:Makefile:104: multiple target pattern.Stop) What’s means for the error information?how can i do it?thanks! 【windows xp sp3+Git-1.6.4-preview20090730+qt-sdk-win-opensource-2009.04】

Comment by tom.spar…@gmail.com, Dec 21, 2009
I am trying to open a compiled flash swf file. But getting follwing error :

“Unknown error When connecting to: file:///home/Flash_file/test.swf Check the address for errors such as ww.arora-browser.org instead of www.arora-browser.org If the address is correct, try checking the network connection. If your computer or network is protected by a firewall or proxy, make sure that the browser is permitted to access the network.”

Comment by bill.hed…@gmail.com, Jan 19, 2010
Does anyone know how I disable xss/same origin policy protection in arora?

I’m trying to develop local apps and the security is getting in the way, with Chrome its as easy as starting the browser with a –disble-web-security switch.

Comment by Tomas.Ta…@gmail.com, Oct 16, 2010
Hi, I encountered the Debian-based systems problem (“qmake” pointing to Qt3’s qmake) on a Red Hat-based (at the moment, Fedora-based) system. To solve this, you have 2 options: 1. without root/sudo – edit your .bashrc file and add: alias qmake=”qmake-qt4″ 2. with root/sudo – create a symlink: update-alternatives –set qmake /usr/bin/qmake-qt4

Comment by iamrocky…@gmail.com, Dec 12, 2010
I have installed arora 0.6 finally! but i still have a problem with the translation. how to translate the arora interface into chinese? ps:i have already had zh_CN.ts file in the ../src/locale/ directory! Looking forwarding to your reply!thanks a lot!

Comment by iamrocky…@gmail.com, Dec 12, 2010
I have installed arora 0.6 finally! but i still have a problem with the translation. how to translate the arora interface into chinese? ps:i have already had zh_CN.ts file in the ../src/locale/ directory! Looking forwarding to your reply!thanks a lot! if anyone know howto, please contact me!email:iamrockylim@gmail.com

Comment by ZackHawk…@gmail.com, Dec 28, 2010
When compiling both 0.10.2 and 0.11.0 I get an error saying that on line 39 on the file /src/locale/locale.pri has a backlash error or something to that effect, i am in windows xp, using the only build of qt I could find (4.7.1), and am using vc command prompt, if someone could help that would be great