LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-14-2010, 12:29 PM   #1
khinch
Member
 
Registered: Apr 2007
Location: Carlisle, UK
Distribution: Debian
Posts: 73

Rep: Reputation: 18
Compiling from source - installed dependencies not found


I recently started using Slackware 13.1 (defected from OpenSuSE 11.0) and I am trying to get to grips with software install. I use slackpkg to keep my core files etc up to date, and I have been trying to use slackbuilds.org to install other stuff like Digikam.

One of the dependencies of Digikam is provided by kipi-plugins, which is also available on slackbuilds, so I tried to install it via the script as per the instructions, but it fails to compile due to missing dependencies:
libopencv, libkdcraw and libkexiv2.

OpenCV is also available via slackbuilds, so I downloaded it, followed the instructions and it installed fine. But, now when I run the kipi-plugins script, OpenCV is still on the list of missing dependencies. Can anyone tell me what I am missing please?

Output from the build script:
Code:
--  kipi-plugins 1.4.0 dependencies results   <http://www.kipi-plugins.org>
-- 
--  libjpeg library found.................... YES
--  libtiff library found.................... YES
--  libpng library found..................... YES
--  libkipi library found.................... YES
--  libkexiv2 library found.................. YES
--  libkdcraw library found.................. YES
--  libxml2 library found.................... YES (optional)
--  libxslt library found.................... YES (optional)
--  libexpat library found................... YES (optional)
--  native threads support library found..... YES (optional)
--  libopengl library found.................. YES (optional)
--  Qt4 OpenGL module found.................. YES
--  libopencv library found.................. NO  (optional)
--  libgpod library found.................... YES (optional)
--  Gdk library found........................ YES (optional)
--  libkdepim library found.................. YES (optional)
--  qca2 library found....................... YES (optional)
--  libkdcraw >= 1.1.0 library found......... NO  (optional)
--  libkexiv2 >= 1.1.0 library found......... NO  (optional)
--  OpenMP library found..................... YES (optional)
--  libX11 library found..................... YES (optional)
--  libksane library found................... YES (optional)
-- 
CMake Error at CMakeLists.txt:247 (MESSAGE):
   kipi-plugins will not be compiled! Look README file for more details about dependencies...


-- Configuring incomplete, errors occurred!
Any help much appreciated.
 
Old 10-14-2010, 05:24 PM   #2
johneb47
LQ Newbie
 
Registered: Aug 2003
Location: Kingswood NSW Australia
Distribution: Slackware, ArchLinux
Posts: 21

Rep: Reputation: 1
Hi Khinch,
Having used the Slackware distro for many years I have found from experience to have all the Gnome and KDE libraries installed. This helps to reduce the dependency issue. YES as it says in your error message look at your README file/s and make sure you have all dependencies installed. This is always a requirement for the user who wants to compile their own software. Slackware doesn't believe in hand holding and expects the user to be able to resolve his own problems. It also doesn't believe in patching the software packaged by the development team. This put the onus of using, compiling and patching software squarely on the user's shoulders. It is for these reasons that I wouldn't recommend any inexperienced user to embrace Slackware unless he is prepared to put in the hard yards and READ READ READ and understand all the books, man pages and Linux Docs and guides available on the internet. From experience a fresh install of Slackware can take at least two to three months; 90% of the software is installed and configured inside a few hours the other 10% can take the two to three months. Although I have found it follows the natural log law and you are never completely satisfied and are always looking for some new developement to improve your system.

If the system doesn't recognised newly installed libraries try running 'ldconfig' as root.

I have found that Archlinux is a viable alternative to Slackware without any of the dependency issues. It also has the added advantage of having a rolling update ability that allows you to run the update script on a weekly/monthly/yearly cycle to keep your system completely up to date.

Regards

John

Last edited by johneb47; 10-14-2010 at 05:30 PM.
 
0 members found this post helpful.
Old 10-14-2010, 05:45 PM   #3
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
KDE is shipping both now...

KDESC 4.5.2

/usr/include/libkdcraw/version.h
Quote:
static const char kdcraw_version[] = "1.1.0";
/usr/include/libkexiv2/version.h
Quote:
static const char kexiv2_version[] = "1.1.0";
 
1 members found this post helpful.
Old 10-15-2010, 04:16 AM   #4
khinch
Member
 
Registered: Apr 2007
Location: Carlisle, UK
Distribution: Debian
Posts: 73

Original Poster
Rep: Reputation: 18
Thanks for the replies.

BrZ: It's nice to know these dependencies are catered for in later versions of KDE. I am running version 4.4.3 and I think installing 4.5 is a little beyond my abilities right now though. Perhaps this is where my problem lies if I am trying to install a version which is written for KDE 4.5 when I am running 4.4.3?

johneb47: I have been doing a lot of reading recently; forum trawling, googling etc but I only posted here because I am stuck for answers to this particular question. Thanks for the idea about installing all of the libraries, that sounds like a good plan. Is there a way to install all of the KDE libs in one go or is it a manual process of hunting them all down and installing one at a time? I also have the same issue with ffmpeg - it fails to install saying "libmp3lame not found", even though I installed lame from here: http://slackbuilds.org/result/?search=lame&sv=13.1. I tried running ldconfig as you suggested but it didn't make any difference.

So, I suppose my question is; when I know a program has a dependency, how do I go about satisfying that dependency? I must be doing something wrong if nobody else is having the same problem.

Edit:
*FACEPALM*
I just realised that the slackbuild scripts don't actually install the files and they only make them. Once I manually installed the output files it worked fine. I would still be interested to know the best way of installing all of the KDE libraries though, if anyone has the time.

Last edited by khinch; 10-15-2010 at 10:59 AM. Reason: Realised the problem
 
  


Reply

Tags
compile error, dependencies, slackware13



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
[SOLVED] Compiling programs from source and dealing with dependencies on Slackware. Switch7 Slackware 36 11-04-2009 05:08 AM
Compiling software from source, no man pages are installed binary1011100 Linux - Software 2 07-11-2009 07:56 AM
Any debian tool to help download missing dependencies when compiling from source? Akhran Debian 2 08-18-2005 04:26 PM
Compiling Source & Dependencies arpanet1969 Linux - Newbie 7 12-30-2004 07:24 PM
Installing from source -- dependencies installed via RPM kimchee411 Linux - Newbie 2 10-19-2004 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:56 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