[SOLVED] Constant error when trying to build Krita on slackware
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Constant error when trying to build Krita on slackware
I recently decided to take on the task of learning krita lately and while it installed fine on my artix system its having issues building on my slackware system. According to the log in my terminal the error is as follows;
Code:
[ 10%] Linking CXX shared library libkritapigment.so
/usr/bin/ld: CMakeFiles/kritapigment.dir/KoColor.cpp.o: in function `half::operator float() const':
/usr/include/OpenEXR/half.h:495: undefined reference to `half::_toFloat'
/usr/bin/ld: CMakeFiles/kritapigment.dir/KoColorConversionAlphaTransformation.cpp.o: in function `half::half(float)':
/usr/include/OpenEXR/half.h:464: undefined reference to `half::_eLut'
/usr/bin/ld: /usr/include/OpenEXR/half.h:482: undefined reference to `half::convert(int)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [libs/pigment/CMakeFiles/kritapigment.dir/build.make:980: libs/pigment/libkritapigment.so.19.0.0] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:9765: libs/pigment/CMakeFiles/kritapigment.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
thomas[krita]$
I recognized it had something to do with openexr and so with the assumption that perhaps my release of openexr maybe had to be bleeding edge like krita I built that from source (which worked perfectly fine) but even then it still gave the error above. What could be causing this?
Just pasting a random error into a search engine yields results with Opencv & openexr. Have you cloned a git of Openexr? There's something not up to date, or somethuing too new.
Perhaps Tom doesn't know what you mean by "grok" - it doesn't help that your usage appears inline with neither the dictionary definition nor common usage.
Do not download these packages manually from the source website and build them manually. Do use your distribution’s package manager to find the right packages.
This suggests that being on the bleeding edge version is the incorrect thing to do.
Since I believe Slackware doesn't have a package manager, I would test with the latest stable release (i.e. not bleeding edge), and if that failed I would search for the error messages to see if there was a clear version mismatch identified there, and if that also failed then I would probably check with the Krita Community for confirmation of whether there's a min/max version of OpenEXR currently recommended.
Perhaps Tom doesn't know what you mean by "grok" - it doesn't help that your usage appears inline with neither the dictionary definition nor common usage.
Yeah. It means look at and make sense of, in a nutshell. 'Undefined reference' errors nearly always mean some dependency needs to be a later version.
Yeah. It means look at and make sense of, in a nutshell.
There is a difference between one who steps in a puddle, and one who steps into an ocean.
Quote:
Originally Posted by https://www.merriam-webster.com/dictionary/grok
to understand profoundly and intuitively
Quote:
Originally Posted by https://www.wordnik.com/words/grok
To understand profoundly through intuition or empathy.
Quote:
Originally Posted by https://www.dictionary.com/browse/grok
to understand thoroughly and intuitively
Quote:
Originally Posted by https://sfdictionary.com/view/1646
to perceive or understand fully; to feel empathy with; to enjoy, appreciate
Quote:
Originally Posted by http://www.catb.org/~esr/jargon/html/G/grok.html
To understand. Connotes intimate and exhaustive knowledge. When you claim to ‘grok’ some knowledge or technique, you are asserting that you have not merely learned it in a detached instrumental way but that it has become part of you, part of your identity.
If you've done a full install of Slackware, you should have Krita already.
I prefer to have a relatively minimal install of slackware so I use a window manager. Additionally the slackware repos (slapt-get) don't have it listed or even a slackbuild
Last edited by hancocktom41; 06-15-2022 at 08:19 AM.
Just pasting a random error into a search engine yields results with Opencv & openexr. Have you cloned a git of Openexr? There's something not up to date, or somethuing too new.
Yeah it was cloned. I'm now trying 3.1.5 from the slackware 15 repos, hopefully that'll get the job done
You could try slackpkg install krita, but with your minimal install you could be missing some dependencies.
Well either way I got it to work. Honestly it just seemed to be that I had an odd openexr version. It was the latest release from pkgs.org Maybe it would have been better to install a binary but on an old thinkpad it probably was a good choice for the long term to compile it myself
I wouldn't advise pkgs.org. The onl;y thing it's good for is supplying hits to searches. You really don't want to trust it. If you're goinmg, post your solution & mark this solved.
I wouldn't advise pkgs.org. The onl;y thing it's good for is supplying hits to searches. You really don't want to trust it. If you're goinmg, post your solution & mark this solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.