Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

OpenMandriva, ROSA and Mageia 10 years 4 months ago #5615

  • Aleksandar
  • Aleksandar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 150
  • Thank you received: 31
I am little confused with this part of changelog:
-ADD support for ROSA Linux with MultiArch for QT
-ADD support for OpenMandriva Linux with MultiArch for QT
-ADD support for Mageia Linux with MultiArch for GTK and QT

Why ROSA and OpenMandriva only have MultiArch for QT stated here? Can you please explain why GTK is not there?

Please Log in or Create an account to join the conversation.

OpenMandriva, ROSA and Mageia 10 years 4 months ago #5618

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sir, after a lot of tests:
the "Multi-Archtecture model" on ROSA and OpenMandriva (64 bits) for GTK 32bit libraries, don't work OK
We will try to fix the CT scripts, this is an open task for us.

We have the same problem and with other Linux distribution.
Please don't forget: MultiArch is a new technology on Linux OS...
for sample MultiArch model on Redhat, Fedora, Suse is stable, on Debian and Ubuntu is theoretical (our Lab test result is here )

Your help please...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

OpenMandriva, ROSA and Mageia 10 years 4 months ago #5621

  • Aleksandar
  • Aleksandar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 150
  • Thank you received: 31

sternas wrote: Sir, after a lot of tests:
the "Multi-Archtecture model" on ROSA and OpenMandriva (64 bits) for GTK 32bit libraries, don't work OK
We will try to fix the CT scripts, this is an open task for us.

We have the same problem and with other Linux distribution.
Please don't forget: MultiArch is a new technology on Linux OS...
for sample MultiArch model on Redhat, Fedora, Suse is stable, on Debian and Ubuntu is theoretical (our Lab test result is here )

Your help please...


You might remember (or not), that I managed to compile and use 32bit GTK apps with CT 2.70 on 64bit ROSA - even before you added linux cross build elements in CT. :)

Main problem that I had was missing symlinks for needed libraries in order to compile the apps, so I made this script:
cd /lib
find *.so.? -exec sh -c '[ ! -f `echo {} | sed 's/\.so\.[0-9]/\.so/'` ] && [ ! -h `echo {} | sed 's/\.so\.[0-9]/\.so/'` ] && sudo ln -s {} `echo {} | sed 's/\.so\.[0-9]/\.so/'`' \;

cd /usr/lib
find *.so.? -exec sh -c '[ ! -f `echo {} | sed 's/\.so\.[0-9]/\.so/'` ] && [ ! -h `echo {} | sed 's/\.so\.[0-9]/\.so/'` ] && sudo ln -s {} `echo {} | sed 's/\.so\.[0-9]/\.so/'`' \;

This script look for libs that have number after .so and then make proper .so symlink. For example if it find "somelib.so.4" it will make a symlink named "somelib.so".

After that compiling was fully working.

Only other problem that I had with 32bit GTK apps on any 64bit Mandriva was the fact that they do not look same as 64bit ones.

Accomplishing the same look was easy task in older ROSA releases with 32bit repos enabled. I just had to add those libraries:
    urpmi libcanberra-gtk0
    urpmi libmurrine
    urpmi libgtk-aurora-engine-1

With introduction of GTK 3 that was not enough to accomplish the same look. Since those apps looked properly on 32bit system I always considered that as a minor issue.

Would you please give some example of problems that you had? Maybe I could help if I find some free time.

Please Log in or Create an account to join the conversation.

OpenMandriva, ROSA and Mageia 10 years 4 months ago #5622

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
My respect
we will test and report here
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1