[winswitch] Help building xpra for openSUSE 11.4

Antoine Martin antoine at nagafix.co.uk
Sun Feb 17 14:25:53 GMT 2019


On 16/02/2019 08:03, Aram Akhavan via shifter-users wrote:
> I have a workstation that uses openSUSE 11.4. I'd like to install xpra,
> but no package exists for this old OS.
> 
> Unfortunately, it also seems that, since the OS support ended so long
> ago, xpra's dependencies are not even up to date.
I'm not quite sure what you mean by that.

> So I cannot build xpra
> myself, unless I build the dependencies as well.
Try building xpra version 1.0 LTS, that's more likely to build on
outdated distributions.

> I can't build the dependencies in their default locations because I
> don't have root access, so I'm left with a mess of shared object files
> and linking issues.
Look at how pkg-config and LD_LIBRARY_PATH work.

> I've been bashing my head against this for a week
> and not making much progress.
Wow, that's a lot of time!

> Every dependency I try to build has its
> own dependencies, which I often cannot build either. I've gotten so far
> as to have to re-build gcc and glibc from scratch. But my existing gcc
> is so old I'm having problems!
I don't understand why you want to rebuild those.

> Does anyone have a suggestion as to how I can make this less painful?
Yes, OTOH:
* use containers if you have enough privileges to do that
* use flatpak, snapd or appimage
* install a supported distribution in a chroot and use LD_LIBRARY_PATH,
PYTHONPATH and PATH to run the code from there.

> What I'm hoping to accomplish is a statically-linked binary that I can
> build and run from a network share.
You could probably write a script to wrap the chroot option above.

> Does such a binary already exist somewhere that I can just download?
Not yet.

Cheers,
Antoine
> 
> Many thanks,
> 
> Aram
> 
> 
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users





More information about the shifter-users mailing list