Help - Search - Members - Calendar
Full Version: Help On Intalling Opera
OESF Forums > General Forums > General Support and Discussion > Software
Blaise
Hi
First, I'm very new to Z world :-) (but very willing, as well), so please don't blame me if obvious things are not that obvious for me...
I'm geting confused in Opera installation on a Z SL-5500.
First, I flashed the Z with OZ-3.5.2 and GPE-2.5 roms from OZ site.
Opera is not build-in. But is it possible to install it on this ROM, or should I switch to Cacko's. Does the Cacko's rom have Opera built-in ?

Before leaving this rom, I'ld like to get a bit further in installing softwares.
My first mistake was to try to install things on a fat formated sd card. Thanks to the forum, now, an ext2 formated sd card got me ride out of these ipkg errors :
ipkg: Cannot create symlink from ./...... to '.......': Operation not permitted

I dl the opera ipk from the ZUG Zaurus feed : opera_sl-5x00-7.30.9965_arm.ipk
Is that one a good one or should I dl another one, and then where from ?

Trying to install and run opera complains about libqte2 and libqpe; so I dl them from ipkgfind.handhelds.org : libqte2_2.3.7-r21_collie.ipk and libqpe1_1.1.9-r0_arm.ipk and install them :
( same question : good updated ipk ? and if not, where to get them ? )

------------LIBQTE2
ipkg -d sd install /mnt/cf/dl_ipk/4/libqte2_2.3.7-r21_collie.ipk
which gives :
Installing libqte2 (...) to sd...
Configuring libqte2
/mnt/card/usr/lib/ipkg/info/libqte2.postinst: 5: /usr/sbin/update-qtfontdir: not found
postinst script returned status 127
ERROR: libqpe1.postinst returned 127

Then, linking :
ipkg-link mount /mnt/card
which tells that libqte2 is added.

Then make a ldconfig :
/sbin/ldconfig

Is this error important, or just a warning ?

-----------LIBQPE1
ipkg -d sd install /mnt/cf/dl_ipk/5/libqpe1_1.1.9-r0_arm.ipk
which gives :
Installing libqpe1 (...) to sd...
Configuring libqpe1
/mnt/card/user/lib/ipkg/info/libqpe1.postinst: 4: ldconfig: not found
postinst script returned status 127
ERROR: libqpe1.postinst returned 127
Configuring libqte2
Error: /opt/QtPalmtop/lib/fonts not a directory
postinst script returned status 1
ERROR: libqte2.postinst returned 1

Then, linking :
ipkg-link mount /mnt/card
which tells that libqte2 is added.

Then make a ldconfig :
/sbin/ldconfig

Why do I have a problem with a fonts directory ? I tryed to solved that by :
mkdir /mnt/card/opt/QtPalmtop/lib/fonts
ln -s /mnt/card/opt/QtPalmtop/lib/fonts /opt/QtPalmtop/lib/fonts
Then, remove and re-install libqpe1 :
ipkg remove libqpe1
ipkg -d sd install /mnt/cf/dl_ipk/5/libqpe1_1.1.9-r0_arm.ipk
which now returns :
/opt/QtPalmtop/lib/fonts/*.qpf: no such file or directory
I understand that there should be fonts (*.qpf ?) in this directory. Do I already have some built-in fonts that I have to link symbolicaly or do I need to dl another ipk that will install theses fonts ? And then what is this ipk and where to get it from ?

-----------OPERA
Without having solved this font problem, I went on installing Opera :
ipkg -d sd install /mnt/cf/dl_ipk/3/opera_sl-5x00-7.30.9965_arm.ipk
ipkg-link mount /mnt/card

Now, when I try to run opera ( /opt/QtPalmtop/bin/opera ), I get this error :
/opt/QtPalmtop/bin/opera: symbol lookup error: /opt/QtPalmtop/bin/opera: undefined symbol: 7QString.shared_null

Is this due to the missing fonts files ? I saw a thread about this error but I did not understood the solution.

Any ideas ?
Tks
blaise
lardman
QUOTE
Trying to install and run opera complains about libqte2 and libqpe


As the Opera package was made for the Sharp ROMs, it looks for libs which Opie doesn't have - the required functions are available in libopie etc., so you don't need to install these, just use -force-depends to ignore the dependencies.


QUOTE
------------LIBQTE2
ipkg -d sd install /mnt/cf/dl_ipk/4/libqte2_2.3.7-r21_collie.ipk
which gives :
Installing libqte2 (...) to sd...
Configuring libqte2
/mnt/card/usr/lib/ipkg/info/libqte2.postinst: 5: /usr/sbin/update-qtfontdir: not found
postinst script returned status 127
ERROR: libqpe1.postinst returned 127


The script is not designed to run on a machine using Opie - some of the binaries which it calls (not to mention paths which it expects) won't exist.

Don't try to install major libraries like this one (you don't need to do so).

QUOTE
Now, when I try to run opera ( /opt/QtPalmtop/bin/opera ), I get this error :
/opt/QtPalmtop/bin/opera: symbol lookup error: /opt/QtPalmtop/bin/opera: undefined symbol: 7QString.shared_null

Is this due to the missing fonts files ? I saw a thread about this error but I did not understood the solution.


This is caused as OZ/Opie is compiled with GCC3.xx rather than the GCC2.95.3 which the Sharp based ROMs use. This causes errors when binaries compiled with GCC2.xx try to use libs compiled with GCC3.xx.

You need to install the compat libs (try a search as I can't remember the url off the top of my head), and either use the GUI or run makecompat on the opera binary. This will allow the GCC2.xx binaries to use the GCC3.xx libs.


Si
Blaise
well...tks lardman, but I'm still confused. You are talking about opie, but I don't have opie but gpe instead. Does your comments apply to gpe as well ? (I thought opie and gpe were different ?).

I found the oz-compat_0.5-r0_arm.ipk . Is it this one, the compat libs ?

Then I flashed again the rom with OZ-3.5.2 and gpe-2.5, and :
ipkg -d sd install /mnt/cf/dl_ipk/7/oz-compat_0.5-r0_arm.ipk
Installing oz-compat (...) to sd...
ERROR: Cannot satisfy the following dependencies for oz-compat: opie-sh
An error occurred, return value: 1.

I dl the opie-sh_1.1.7-r1_arm.ipk and :
ipkg -d sd install /mnt/cf/dl_ipk/7/opie-sh_1.1.7-r1_arm.ipk
Installing oz-compat (...) to sd...
ERROR: Cannot satisfy the following dependencies for opie-sh: libqpe1 libqte2
An error occurred, return value: 1.

-> back to libqpe1 and libqte2 ! Do I have to -force-dependswhen installing oz-compat ?
By the way, is this -force-depends syntax right :
ipkg -d sd -force-depends install /mnt/cf/dl_ipk/7/oz-compat_0.5-r0_arm.ipk
or should the options be set in another order ?

I'm going to start again from scratch with OZ-3.5.2 and opie new flash to see how the compat libs install.

Another thing, you said " run makecompat on the opera binary". I'm searching the forum but maybe you can tell me the correct syntax to do that. (I'm all on command line...)
Tks
blaise
lardman
QUOTE
You are talking about opie, but I don't have opie but gpe instead. Does your comments apply to gpe as well ?


Not really, however Opera is a Qt/e app so it won't run on GPE, that's why I thought you were running Opie.

Try something else - minimo, konq, there's a list somewhere - look and see what's in the GPE and X sections of the feed.

QUOTE
Another thing, you said " run makecompat on the opera binary". I'm searching the forum but maybe you can tell me the correct syntax to do that. (I'm all on command line...)


Just FYI: I'd do this: 'makecompat /path/to/opera'


Si
Greg2
GPE has available (in the feeds) Minimo, Dillo and Firefox for browsers.

Greg
Blaise
Many thanks, it works !

I am not familiar with differences between gpe and opie... I flash the Z with OZ-3.5.2 and OPIE-1.2. Then
#ipkg -d sd install /mnt/cf/dl_ipk/7/oz-compat_0.5-r0_arm.ipk
Installing oz-compat (...) to sd...
Configuring oz-compat
Adding system startup for /etc/init.d/quickexec...
/etc/rc2.d/S10quickexec -> ../init.d/quickexec...
/etc/rc3.d/S10quickexec -> ../init.d/quickexec...
/etc/rc4.d/S10quickexec -> ../init.d/quickexec...
/etc/rc5.d/S10quickexec -> ../init.d/quickexec...
/etc/rc0.d/K10quickexec -> ../init.d/quickexec...
/etc/rc1.d/K10quickexec -> ../init.d/quickexec...
/etc/rc6.d/K10quickexec -> ../init.d/quickexec...

#ipkg-link mount /mnt/card
which tells that oz-compat is added.

#ipkg -d sd -force-depends install /mnt/cf/dl_ipk/3/opera_sl-5x00-7.30.9965_arm.ipk
Installing opera (...) to sd...
Configuring opera

#ipkg-link mount /mnt/card
which tells that opera is added.

#/opt/QtPalmtop.compat/bin/makecompat /opt/QtPalmtop/bin/opera
Not linked to compat lib
Not Linked, Linking
Make /opt/QtPalmtop/bin/opera use compatibiliy libs.

Then, opera was screaming at startup :
/opt/QtPalmtop/bin/opera
opera: Could not find "ini/standart_voice.ini"
opera: Could not find "ini/standart_mouse.ini"
opera: Could not find "ini/standart_keyboard.ini"
opera: Could not find "ini/standart_mouse.ini"
opera: Could not find "ini/standart_keyboard.ini"
opera: Could not find "ini/standart_voice.ini"
Segmentation fault.

I found this trick in another post :
#ln -s /opt/QtPalmtop/opera /usr/share/opera

... and now, it seems to run fine. I just (!) have to setup a wifi connection and install apache ;p
tks a lot
blaise
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.