Reply
Thread Tools
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#11
Originally Posted by mikhas View Post
Well, I wanted to avoid any potential linker errors ... perhaps I went too far with that advice then. I'll investigate whether Miniature runs with two parallel Qt4.* installations.
In the device works fine, in Sbox you only need to tell Qmake/autotools which installation should be picked. IMO the current instructions are a safer bet for newcomers.
__________________
Valério Valério
www.valeriovalerio.org
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#12
Originally Posted by attila77 View Post
There is stuff in Extras(-devel?) (not much, but still) that depends on 4.5. Keep that in mind before getting into a packaging frenzy. Thank you
You can use both releases without any problem, as long as the packages have the correct dependencies.
__________________
Valério Valério
www.valeriovalerio.org
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#13
Originally Posted by VDVsx View Post
You can use both releases without any problem, as long as the packages have the correct dependencies.
Alas, not quite The 4.6 packages have no replaces, provides or similar clause so when you remove 4.5 (as suggested in qgil's post) you remove all software built with 4.5 dependencies (and also the ability to install them again). It get's even funkier when you discover this also means you just uninstalled PySide. Bazinga !

And if you don't remove 4.5, you're still in trouble as ldconfig will pick the first libQtCore.so.4 it runs across, whether it's 4.5 or 4.6, so dependencies don't mean anything. Bazinga #2 !

All in all, I would recommend whoever is packaging 4.6 to talk to Jeremiah about a thing or two as the 4.6 packaging is FUBAR-d (this is where qgil sends me to the official support channel )
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#14
Originally Posted by attila77 View Post
Alas, not quite The 4.6 packages have no replaces, provides or similar clause so when you remove 4.5 (as suggested in qgil's post) you remove all software built with 4.5 dependencies (and also the ability to install them again). It get's even funkier when you discover this also means you just uninstalled PySide. Bazinga !
These instructions are for the Sbox, if you remove the 4.5 packages on the device, your device will die or start working improperly (didn't tried), because there's some Nokia stuff depending on the 4.5 packages.

Originally Posted by attila77 View Post
And if you don't remove 4.5, you're still in trouble as ldconfig will pick the first libQtCore.so.4 it runs across, whether it's 4.5 or 4.6, so dependencies don't mean anything. Bazinga #2 !
As I said there's no problem with ldconfig nor any incompatibility with these versions working side by side, I've both, as anyone that have installed Miniture for example, and everything works, try it and you'll see

Originally Posted by attila77 View Post
All in all, I would recommend whoever is packaging 4.6 to talk to Jeremiah about a thing or two as the 4.6 packaging is FUBAR-d (this is where qgil sends me to the official support channel )
Everything is already packaged and working properly, kudos for the Qt team
__________________
Valério Valério
www.valeriovalerio.org
 

The Following User Says Thank You to VDVsx For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#15
Originally Posted by VDVsx View Post
As I said there's no problem with ldconfig nor any incompatibility with these versions working side by side, I've both, as anyone that have installed Miniture for example, and everything works, try it and you'll see
I had problems the other way around, it was the old stuff that got broken horribly, especially PySide/PyQt stuff.

Everything is already packaged and working properly, kudos for the Qt team
Sorry, but it is not packaged properly. Even if it turns out the Python thing mentioned above is something I messed up on my SB, the Qt4.6 packages, as they have a different package name than 4.5, MUST define proper provides/replaces/conflicts clauses or they WILL wreak havoc on devices.
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#16
Originally Posted by attila77 View Post
I had problems the other way around, it was the old stuff that got broken horribly, especially PySide/PyQt stuff.



Sorry, but it is not packaged properly. Even if it turns out the Python thing mentioned above is something I messed up on my SB, the Qt4.6 packages, as they have a different package name than 4.5, MUST define proper provides/replaces/conflicts clauses or they WILL wreak havoc on devices.
The thing is we need Qt 4.5 on the device as I said, so without a SSU that updates the Nokia stuff depending on Qt 4.5, the 4.6 packages can't replace/conflict with the 4.5 ones, AFAIK. (Nokians/Trolls please correct me if I'm wrong )
__________________
Valério Valério
www.valeriovalerio.org
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#17
Originally Posted by VDVsx View Post
The thing is we need Qt 4.5 on the device as I said, so without a SSU that updates the Nokia stuff depending on Qt 4.5, the 4.6 packages can't replace/conflict with the 4.5 ones, AFAIK. (Nokians/Trolls please correct me if I'm wrong )
Wouldn't the correct solution be the different naming of the .so files instead of bogus control files, then ? That's how it's done on desktop linuxes.
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#18
Originally Posted by attila77 View Post
when you remove 4.5 (as suggested in qgil's post)
My post doesn't say anything about removing 4.5!

- Get a recent Ubuntu.
- Install the full Maemo 5 SDK via GUI installer.
- Install the libqt4-maemo5 libraries to get Qt 4.6
I have Miniature running in the N900. It pulled the 4.6 libraries. Activesync (using 4.5) works as usual and the 4.6 packages from extras-devel didn't conflict in any way with the pre-installed 4.5 packages.

So my humble conclusion it's that the non-conflictive situation in the SDK is just the same. I would try again if I would have all the time, but I don't have it and I believe my time is more useful elsewhere.

Anybody willing to try the three simple steps described above?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#19
Originally Posted by qgil View Post
My post doesn't say anything about removing 4.5!
Apologies. Yours was the latest post at the time and I misinterpreted the "I was wondering the same about removing Qt 4.5 files" line in that post.

I have Miniature running in the N900. It pulled the 4.6 libraries. Activesync (using 4.5) works as usual and the 4.6 packages from extras-devel didn't conflict in any way with the pre-installed 4.5 packages.
Exactly. They didn't conflict as they are missing the necessary checks. Dropping identically named .so files into directories so they override already existing ones is IMO a very bad packaging practice (euphemism for hack ).
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:48.