sciapp / gr

GR framework: a graphics library for visualisation applications
Other
328 stars 54 forks source link

Julia gksqt binary on tumbleweed #94

Closed j-fu closed 4 years ago

j-fu commented 4 years ago

Hi, since my last update to openSUSE Tumbleweed, the gksqt ceased to work (from Julia). Reinstallation didn't help. It was missing libQtGui.so.4. Obviously this is linked to KDE4/Qt4 being removed from the distro. I cloned gr and recompiled it (via Makefile), overwrote the gksqt in .julia and it works. So it seems that all what is needed is to tweak the packaging accordingly.

Jürgen

FlorianRhiem commented 4 years ago

Hello, we do not build binaries for Tumbleweed, so the generic Linux binaries (built on/for CentOS 6) are used. Do the binaries for CentOS 7 work on your system?

j-fu commented 4 years ago

Yes, they do. How to fake my system ID then ? Is there a list of supported systems to try ?

Anyway I mean I am fine for myself as you see in my initial post, but I am a bit worried about the less experienced. Of course tumbleweed is not for them and as we see it is a moving target... This is more or less a general concern on how Julia can work with binary dependencies and I know it is not easy.

FlorianRhiem commented 4 years ago

The wrappers check /etc/os-release (among others) to detect which distribution the user is running. In case of Tumbleweed, checking for ID="opensuse-tumbleweed" in /etc/os-release should do the trick.

FlorianRhiem commented 4 years ago

I've added this check to python-gr and GR.jl, so this issue will be fixed the next time these packages are released.