Install Conky Error

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
ghostdawg
Posts: 56
Joined: 21. Sep 2011, 02:56
Location: STLMO

Install Conky Error

Post 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.
Dell Optiplex 760 | Quad-Core | 4gb | 250gb | Salix-14.2 - Xfce4 & Openbox
HP DX5150 AMD64 | 1.5gb | 40gb | SalixOS-13.0 - Xfce4
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Install Conky Error

Post 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.
User avatar
ghostdawg
Posts: 56
Joined: 21. Sep 2011, 02:56
Location: STLMO

Re: Install Conky Error

Post 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!
Dell Optiplex 760 | Quad-Core | 4gb | 250gb | Salix-14.2 - Xfce4 & Openbox
HP DX5150 AMD64 | 1.5gb | 40gb | SalixOS-13.0 - Xfce4
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Install Conky Error

Post 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 ;)
User avatar
ghostdawg
Posts: 56
Joined: 21. Sep 2011, 02:56
Location: STLMO

Re: Install Conky Error

Post by ghostdawg »

I was able to finish the install after installing linuxdoc-tools. Thanks again.
Dell Optiplex 760 | Quad-Core | 4gb | 250gb | Salix-14.2 - Xfce4 & Openbox
HP DX5150 AMD64 | 1.5gb | 40gb | SalixOS-13.0 - Xfce4
Post Reply