Closed OldNick closed 2 years ago
Don't worry, just another dependency :>
The error might look cryptic, but there's a trick to it! See how it's complaining that X11/Xlib.h
doesn't exist? Search for Xlib.h
on https://pkgs.org/ and ignore the unofficial repos (always a good idea) -- it will suggest libX11-devel
and perl-Tk-devel
.
To figure out which of those you actually want, open each package in a new tab and do a CTRL-F for the file you're looking for (X11/Xlib.h
) and you'll find that libX11-devel
is the answer :+1:
Alternatively, because it is complaining about a header file (*.h
), you can assume that the full file path is /usr/include/<missingfile>
, so /usr/include/X11/Xlib.h
in your example. If you search for that on pkgs.org you'll get the correct package right away :>
Thanks for this - I didn't know about pkgs.org so I learnt something. I had to use it another 4 times to get DisplayCal to compile - I must have a complete development environment now. Don't know if that's really viable for an ordinary user though.
AND it works!!
I'm going to suggest distributing it as an appimage - I use that for Krita and Rawtherapee works well too.
Before anything else, a big thank you for moving DisplayCal to python3 - I was wondering what I was going to do since Tumbleweed has dropped all support for python2.
I probably shouldn't be using Tumbleweed as I'm not really geek enough - it is really barebone and you have to hack / guess to find the dependencies etc. And I've never touched Python before.
I'm trying to use
pip install
and, after several tries (often having to guess a dependency and find it) I get the following error message (lengthy)` Please decode and explain what's missing / going wrong