OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: allanjard on March 29, 2005, 11:16:07 am

Title: Makecompat
Post by: allanjard on March 29, 2005, 11:16:07 am
Hello all,

I (like many others apparently) am trying to get Opera to run on my sl5500 with OZ - and its not going well... I've followed most of the threads I can find and still got no where. I'm currently messing around with the OZ compact libs and I run make-compat against opera - however the root runs out of disk space before it can complete.

How can I make make-compat place the new opera on the sd card?

Thanks
Allan
Title: Makecompat
Post by: CoreDump on March 29, 2005, 12:29:42 pm
Sounds like your oz-compat wasn't correctly symlinked from SD.

Please re-flash and try again:

ipkg -d sd install oz-compat
ipkg-link add oz-compat
makecompat /opt/QtPalmtop/bin/opera
Title: Makecompat
Post by: acpkendo on March 29, 2005, 12:40:52 pm
Quote
How can I make make-compat place the new opera on the sd card?

correct me if I'm wrong, but I think your problem is this:  you installed oz-compat to root, and opera to sd.  The problem is that makecompat (if I understand it right) moves a copy of the binary to the QtPalmtop.compat directory, which is wherever you installed the oz-compat package, and then links it back to <where you installed the package>/opt/QtPalmtop/bin.  so, it's taking the opera binary (don't know how large it is, but it's quite large) and trying to move it from the sd card (lots of room) to root (very, very little room).

One solution is to uninstall oz-compat from root and re-install it on the sd card.  I run a number of programs quite happily using oz-compat on sd.  Another solution might be to move opera back to the sd card (/mnt/card/opt/QtPalmtop/bin, I believe) and create a link to it in /opt/QtPalmtop.compat/bin.  I don't know for sure if this second method will work or not. . .  if your sd card is not in and out of the Z all the time, I'd recommend the first way.

FWIW, here's what I did to make opera (7.30, available in the Downloads area) work perfectly:

1) Install oz-compat to sd
Code: [Select]
ipkg install -d sd oz-compat.ipk
ipkg-link add oz-compat

2) Install opera to sd
Code: [Select]
ipkg install -d sd opera.ipk
ipkg-link add opera

3) Create a link that opera needs to see its icons
Code: [Select]
ln -s /opt/QtPalmtop/opera /usr/share/opera/
4) Make opera use oz-compat
Code: [Select]
makecompat /mnt/card/opt/QtPalmtop/bin/opera
5) Launch and enjoy. . .
Title: Makecompat
Post by: allanjard on March 29, 2005, 02:26:54 pm
Hi,

Thanks for your replied. OZ compat was actually already installed to sd - as was opera. But I uninstalled then and tried again - and still no job. Its still storing the file in /opt/QtPalmtop.compat/bin/ and root is still running out of space.

I con't figure out why it would go to sd...

Allan
Title: Makecompat
Post by: mimeca on March 29, 2005, 02:45:00 pm
Hi Allan

I get the same problem and I have the solution (reading topic answer and testing some things) . It's true makecompat copy opera binary to internal memory. You must do the following steps:
- Go to File manager
- In the first tab, go to /opt/
- In the second tab go to some directory of your SD
- Move Qtpalmtop.compact to SD (press on the folder, actions, move)
- In the second tab, make a symlin (press on the folder, action, make symlink)
- You will have on internal memory a link for Qtpalmtop.compat

Use
Code: [Select]
makecompat /mnt/card/opt/QtPalmtop/bin/opera
Then, opera will be patched and the program will run  
Title: Makecompat
Post by: allanjard on March 29, 2005, 04:46:59 pm
Fantastic! Thanks very much - the symlinking make it work :-)

A