[SOLVED] Can't install RawTherapee (SlackBuild)

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

[SOLVED] Can't install RawTherapee (SlackBuild)

Post by Sybelius »

Hi All,

I am experiencing a small problem on Salix 14.1 KDE 32 bit: can't install RawTherapee (SlackBuild).
Knowing that packages are not all the same I have been removing the packages requested by RawTherapee as dependencies and installed them again from SlackBuilds, hereby the complete list (in order of installation):

01 - libsigc++
02 - glibmm
03 - gts (optional dependence)
04 - graphviz # Error, can't install (optional dependence)
05 - cairomm # Error, can't install; installed by Slapt-Get
06 - pangomm # Error, can't install; installed by Slapt-Get
07 - atkmm
08 - mm-common
09 - gtkmm
10 - libiptcdata
11 - RawTherapee # Error, can't install

Please, do someone knows the right way to install RawTherapee?

Thank you for your attention

Best Regards
Last edited by Sybelius on 4. Apr 2015, 22:04, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Can't install RawTherapee (SlackBuild)

Post by gapan »

Sybelius wrote:I have been removing the packages requested by RawTherapee as dependencies and installed them again from SlackBuilds,
You shouldn't have. If you could post the error you got while installing RawTherapeee someone could possibly help.
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Can't install RawTherapee (SlackBuild)

Post by Sybelius »

Error from "graphviz" SlackBuild (last lines output):
make[3]: Entering directory `/tmp/SBo/graphviz-2.38.0/plugin/gd'
CC gvplugin_gd.lo
CC gvrender_gd.lo
gvrender_gd.c: In function 'gdgen_begin_page':
gvrender_gd.c:92:13: warning: variable 'bg_transparent_p' set but not used [-Wunused-but-set-variable]
boolean bg_transparent_p = FALSE;
^
CC gvrender_gd_vrml.lo
CC gvtextlayout_gd.lo
CC gvloadimage_gd.lo
CC gvdevice_gd.lo
CCLD libgvplugin_gd_C.la
CCLD libgvplugin_gd.la
/bin/grep: /usr/lib/libEGL.la: No such file or directory
/bin/sed: can't read /usr/lib/libEGL.la: No such file or directory
libtool: link: `/usr/lib/libEGL.la' is not a valid libtool archive
make[3]: *** [libgvplugin_gd.la] Errore 1
make[3]: Leaving directory `/tmp/SBo/graphviz-2.38.0/plugin/gd'
make[2]: *** [all-recursive] Errore 1
make[2]: Leaving directory `/tmp/SBo/graphviz-2.38.0/plugin'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/tmp/SBo/graphviz-2.38.0'
make: *** [all] Errore 2
root[graphviz]#
Idem from "cairomm":
libtool: link: (cd ".libs" && rm -f "libcairomm-1.0.so" && ln -s "libcairomm-1.0.so.1.4.0" "libcairomm-1.0.so")
/bin/sed: can't read /usr/lib/libEGL.la: No such file or directory
libtool: link: `/usr/lib/libEGL.la' is not a valid libtool archive
make[2]: *** [libcairomm-1.0.la] Errore 1
make[2]: Leaving directory `/tmp/SBo/cairomm-1.10.0/cairomm'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/tmp/SBo/cairomm-1.10.0'
make: *** [all] Errore 2
root[cairomm]#
Idem from "pangomm":
libtool: link: (cd ".libs" && rm -f "libpangomm-1.4.so.1" && ln -s "libpangomm-1.4.so.1.0.30" "libpangomm-1.4.so.1")
libtool: link: (cd ".libs" && rm -f "libpangomm-1.4.so" && ln -s "libpangomm-1.4.so.1.0.30" "libpangomm-1.4.so")
/bin/sed: can't read /usr/lib/libEGL.la: No such file or directory
libtool: link: `/usr/lib/libEGL.la' is not a valid libtool archive
make[2]: *** [libpangomm-1.4.la] Errore 1
make[2]: *** Eliminazione del file «libpangomm-1.4.la»
make[2]: Leaving directory `/tmp/SBo/pangomm-2.34.0/pango/pangomm'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/tmp/SBo/pangomm-2.34.0'
make: *** [all] Errore 2
root[pangomm]#
Idem from "rawtherapee":
rawtherapee-4.2/win.cmake
rawtherapee-4.2/ReleaseInfo.cmake
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_BUILD_TYPE: Release
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.25")
-- checking for module 'gtk+-2.0>=2.12'
-- found gtk+-2.0, version 2.24.20
-- checking for module 'glib-2.0>=2.16'
-- found glib-2.0, version 2.36.4
-- checking for module 'glibmm-2.4>=2.16'
-- found glibmm-2.4, version 2.36.2
-- checking for module 'gtkmm-2.4>=2.22'
-- package 'gtkmm-2.4>=2.22' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:203 (pkg_check_modules)


-- checking for module 'gio-2.0>=2.16'
-- found gio-2.0, version 2.36.4
-- checking for module 'giomm-2.4>=2.12'
-- found giomm-2.4, version 2.36.2
-- checking for module 'gthread-2.0>=2.16'
-- found gthread-2.0, version 2.36.4
-- checking for module 'gobject-2.0>=2.16'
-- found gobject-2.0, version 2.36.4
-- checking for module 'sigc++-2.0'
-- found sigc++-2.0, version 2.2.11
-- checking for module 'lcms2'
-- found lcms2, version 2.4
-- Found EXPAT: /usr/lib/libexpat.so (found version "2.1.0")
-- checking for module 'fftw3f'
-- found fftw3f, version 3.3.3
-- checking for module 'libiptcdata'
-- found libiptcdata, version 1.0.4
-- checking for module 'fftw3'
-- found fftw3, version 3.3.3
-- Found JPEG: /usr/lib/libjpeg.so
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/libpng.so (found version "1.4.12")
-- Found TIFF: /usr/lib/libtiff.so (found version "3.9.7")
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- checking for module 'libcanberra-gtk'
-- found libcanberra-gtk, version 0.29
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/rawtherapee-4.2/build/CMakeFiles/CMakeOutput.log".
root[rawtherapee]#
Those data coming out now, after a new attempt with the following packages already installed (I mean, removed the ones from SlackBuilds and installed again from Gslapt and updated):
- atkmm-2.22.7-i486-1_msb
- glibmm-2.36.2-i486-1_msb
- libsigc++-2.2.11-i486-1_msb
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Can't install RawTherapee (SlackBuild)

Post by gapan »

graphviz:
libEGL.la is included in the mesa package. You should already have that unless you removed it yourself.

cairomm:
use the package provided by salix.
pangomm:
use the package provided by salix.

rawtherapee:

Code: Select all

-- package 'gtkmm-2.4>=2.22' not found
I'll let you figure out this one yourself.
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Can't install RawTherapee (SlackBuild)

Post by Sybelius »

Hi Gapan,

Thank you for your kind concern, maybe I miss something, I mean:
- mesa package installed one = mesa-9.1.7-i486-1
- cairomm " " " = cairomm-1.10.0-i486-1gv
- pangomm " " " = pangomm-2.34.0-i486-1_msb
- gtkmm " " " = gtkmm3-3.8.1-i486-1_SBo # Ok! - That is the wrong one, I am going to remove it and installing the right one from Gslapt

I will post the result soon
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Can't install RawTherapee (SlackBuild)

Post by Sybelius »

Solved! :D

Only "graphwitz" (SlackBuild) does'nt install (it's an optional dependence), hereby the output (final lines):
CC gvrender_gd_vrml.lo
CC gvtextlayout_gd.lo
CC gvloadimage_gd.lo
CC gvdevice_gd.lo
CCLD libgvplugin_gd_C.la
CCLD libgvplugin_gd.la
/bin/grep: /usr/lib/libEGL.la: No such file or directory
/bin/sed: can't read /usr/lib/libEGL.la: No such file or directory
libtool: link: `/usr/lib/libEGL.la' is not a valid libtool archive
make[3]: *** [libgvplugin_gd.la] Errore 1
make[3]: Leaving directory `/tmp/SBo/graphviz-2.38.0/plugin/gd'
make[2]: *** [all-recursive] Errore 1
make[2]: Leaving directory `/tmp/SBo/graphviz-2.38.0/plugin'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/tmp/SBo/graphviz-2.38.0'
make: *** [all] Errore 2
root[graphviz]#
All packages (dependencies) are from Salix (Gslapt), only "gts" and "libiptcdata" are from SlackBuilds.
I am surprised for "gtkmm3-3.8.1-i486-1_SBo", being more recent than "gtkmm-2.4" was thinking to be good.

Thank you very much Gapan
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: [SOLVED] Can't install RawTherapee (SlackBuild)

Post by gapan »

Reinstall the mesa package.
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: [SOLVED] Can't install RawTherapee (SlackBuild)

Post by Sybelius »

"mesa" package re-installed = "graphwitz" package installed. Great!
Thank you once again Gapan :) Γεια Σου
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: [SOLVED] Can't install RawTherapee (SlackBuild)

Post by laprjns »

Sybelius wrote:Please, do someone knows the right way to install RawTherapee?
Use either spi or sourcery.

Code: Select all

$sudo spi --update  && sudo spi --install rawtherapee 
Using this command on my system I was able to build and install rwatherapee without problems. It also installed one dependency, libiptcdata, from Slackbuild.
Sybelius wrote:Knowing that packages are not all the same I have been removing the packages requested by RawTherapee as dependencies and installed them again from SlackBuilds,
Let spi or sourcery do the thinking for you. ;) If you do get an error using spi or sourcery, then post the exact error message here and someone will be able to help resovle the problem quickly.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: [SOLVED] Can't install RawTherapee (SlackBuild)

Post by Sybelius »

@ Iaprjns: Hi! :) Thank you for your kind concern but as you can read above, already solved the issue thanking the precious help from Gapan.
Cheers!
Post Reply