LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-07-2022, 03:51 PM   #1
hancocktom41
LQ Newbie
 
Registered: Jun 2012
Posts: 29

Rep: Reputation: Disabled
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?
 
Old 06-09-2022, 03:44 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
My first suspicion would be something not up to date.

I'd grok the includes, and try to make sense of it. I'd also back off the bleeding edge, unless it's a major bugfix or the like.
 
Old 06-13-2022, 07:17 AM   #3
hancocktom41
LQ Newbie
 
Registered: Jun 2012
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
My first suspicion would be something not up to date.

I'd grok the includes, and try to make sense of it. I'd also back off the bleeding edge, unless it's a major bugfix or the like.
what do you mean by grok the issues?
 
Old 06-13-2022, 11:11 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I said 'grok the includes

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.
 
Old 06-13-2022, 12:20 PM   #5
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,599

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546

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.


Anyhow, the Building Krita from Source documentation explicitly says:
Quote:
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.


Last edited by boughtonp; 06-13-2022 at 12:24 PM.
 
Old 06-13-2022, 01:55 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
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.
 
Old 06-13-2022, 05:05 PM   #7
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,599

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
Originally Posted by business_kid View Post
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.
 
Old 06-14-2022, 06:32 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
If you've done a full install of Slackware, you should have Krita already.
 
Old 06-15-2022, 08:06 AM   #9
hancocktom41
LQ Newbie
 
Registered: Jun 2012
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by brianL View Post
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.
 
Old 06-15-2022, 08:28 AM   #10
hancocktom41
LQ Newbie
 
Registered: Jun 2012
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
I said 'grok the includes

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
 
Old 06-15-2022, 01:50 PM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
You could try slackpkg install krita, but with your minimal install you could be missing some dependencies.
 
Old 06-15-2022, 07:28 PM   #12
hancocktom41
LQ Newbie
 
Registered: Jun 2012
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by brianL View Post
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
 
Old 06-16-2022, 04:39 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by hancocktom41
latest release from pkgs.org
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.
 
Old 06-16-2022, 07:10 AM   #14
hancocktom41
LQ Newbie
 
Registered: Jun 2012
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
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.
No I agree however this was a good temporary fix
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lubuntu 15.04 "error: invalid string constant "thunar-statusbar", expected valid string constant" error knobby67 Ubuntu 1 12-09-2016 12:19 AM
LXer: Digital Painting with Krita 2.9 provides the missing Krita documentation LXer Syndicated Linux News 0 01-22-2016 05:41 AM
LXer: Krita Animation Edition Gets a Second Beta Release, Still Not Based on Krita 3.0 - Video LXer Syndicated Linux News 0 12-13-2015 12:44 AM
LXer: Krita Port to KDE Frameworks 5 and Qt 5 Almost Done, Krita 3.0 Coming Later This Year LXer Syndicated Linux News 0 09-26-2015 10:23 PM
LXer: Krita Team Seeking Sponsorship to Take Krita to Next Level LXer Syndicated Linux News 0 12-02-2009 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration