Page 1 of 1

Install Conky Error

Posted: 10. Sep 2016, 13:46
by ghostdawg
I upgraded 14.1 to 14.2 about a week ago. After trying to install conky from sources (slapt-src -i conky), it gives an error message about one of the dependencies, tolua++. It gives this error message after trying to compile it.
tolua++.SlackBuild: line 64: scons: command not found
fakeroot -- sh tolua++.SlackBuild Failed
.
I'm not sure how to fix it but if someone else can, I would appreciate it. Not sure if it's a bug or what.

Thnx.

Re: Install Conky Error

Posted: 10. Sep 2016, 13:51
by mimosa
probably, just installing scons will fix it - this package is in the repositories.

Errors like this occur because on a Slackware system, more packages are installed by default, and SlackBuilds are built and tested on such a system. This can apply to both compile time and run time dependencies. For this reason, the last lines of output from the failed build often provide a good indication of what to try.

Sometimes it is necessary to go through several iterations.

Salix now has a (steadily growing) repository of prebuilt packages from SlackBuilds, and this should alleviate such problems somewhat, especially as regards build deps.

Re: Install Conky Error

Posted: 10. Sep 2016, 14:08
by ghostdawg
After posting, I googled and saw I needed to install scons, which needed cmake installed also. Now I have a different error:

Code: Select all

CMake Error at cmake/ConkyPlatformChecks.cmake:417 (message):
  Unable to find program 'db2x_xsltproc'
Call Stack (most recent call first):
  CMakeLists.txt:37 (include)

-- Configuring incomplete, errors occurred!
See also "/usr/src/slapt-src/system/conky/conky-1.10.4/build/CMakeFiles/CMakeOutput.log".
See also "/usr/src/slapt-src/system/conky/conky-1.10.4/build/CMakeFiles/CMakeError.log".
fakeroot -- sh conky.SlackBuild Failed
Looking through the CMakeError.log, I noticed this at the end of it:

Code: Select all

collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_958cc.dir/build.make:97: recipe for target 'cmTC_958cc' failed
gmake[1]: *** [cmTC_958cc] Error 1
gmake[1]: Leaving directory '/usr/src/slapt-src/system/conky/conky-1.10.4/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_958cc/fast' failed
gmake: *** [cmTC_958cc/fast] Error 2
I'm not sure what to do at this point. Maybe I should wait awhile before installing conky!

Re: Install Conky Error

Posted: 10. Sep 2016, 14:43
by mimosa
linuxdoc-tools is needed as well. This is another very common one.

I discovered that by googling that db2x thing ... then 'spi docbook'.

Conky can use a surprising amount of system resources, by the way ;)

Re: Install Conky Error

Posted: 10. Sep 2016, 15:57
by ghostdawg
I was able to finish the install after installing linuxdoc-tools. Thanks again.