LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 01-09-2022, 09:25 AM   #1
BAcidEvil
Member
 
Registered: Dec 2003
Distribution: Slack 14.1 3.18.1
Posts: 294

Rep: Reputation: 10
libconf error


Hello

So I was trying to install libconf and retrieved the necessary files from Slackbuilds.org
I am clearly either not paying attention to the obvious or am simply not knowing wtf I am doing.

Slack 15-Current
Having fun and wanted to install sbopkg, which mentions necessity of having libconf. I get libconf and get this error;

CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for wsyncup in /usr/lib64/libcurses.so
-- Looking for wsyncup in /usr/lib64/libcurses.so - found
-- Looking for cbreak in /usr/lib64/libncursesw.so
-- Looking for cbreak in /usr/lib64/libncursesw.so - found
-- Looking for nodelay in /usr/lib64/libncursesw.so
-- Looking for nodelay in /usr/lib64/libncursesw.so - found
-- Found Curses: /usr/lib64/libncursesw.so
CMake Error at cmake/Modules/FindLibconfig++.cmake:13 (message):
Could NOT find libconfig++.h!
Call Stack (most recent call first):
CMakeLists.txt:70 (find_package)
 
Old 01-09-2022, 09:33 AM   #2
BAcidEvil
Member
 
Registered: Dec 2003
Distribution: Slack 14.1 3.18.1
Posts: 294

Original Poster
Rep: Reputation: 10
Well, I did not LEARN anything or FIX anything, I just cheated and got the already compiled package from ;

https://slackware.pkgs.org/14.2/alie..._64-1alien.tgz


I still wish I knew WTF I did/do/always do wrong with this compile shyt.
 
Old 01-12-2022, 06:59 PM   #3
ethelack
Member
 
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 81

Rep: Reputation: Disabled
I have been using sbopkg with ponces SBo-git current repository for quite a while without libconf aka "libconfig". And I can't see anywhere on the sbopkg.org site where a Readme says that libconf is a requirement for sbopkg.

Are you still on 14.2 and attempting to use the current repos? You might have to change the sbopkg repos to 14.2 as slackbuild scripts differ between branches 14.2 and current. Otherwise upgrade your system to current with a current mirror and do "slackpkg update && slackpkg upgrade slackpkg && slackpkg install new && slackpkg upgrade-all && slackpkg clean" to be able to compile the current libconf slackbuild.

Note that if you do install the prebuilt package sbopkg-0.38.1-noarch.tgz its repos config file for ponces SBo-git current "/etc/sbopkg/repos.d/60-SBo-current.repo" is faulty and will not work and you will receive an "unauthenticated git protocol" error. The reason for this is github has recently dropped the the use of git:// target for the more secure https://.

The fix for this is described in this LQ post error-refreshing-sbopkg-from-ponce-repo

sbopkg.org will release an updated sbopkg package shortly.


Anyway after fixing my sbopkg as suggested by the LQ post I did an update of ponces SBo-git repos "sbopkg -r" and had no problem installing the libconfig package.

Note that sbopkg can resolve dependencies. Run "sqg -a" and the Sbopkg Queue Generator will do a full download of all dependency files for sbopkg to use when building a package. Simply load the package from the sbopkg queue and process-install it.

The Old Tech Bloke has a very useful video on how to configure sbopkg for ponces current repos and also introduces how to use another slackbuild tool called "sbotools" which also resolves dependencies automatically.

OTB - Installing software using slackbuilds

Last edited by ethelack; 01-20-2022 at 05:19 AM.
 
  


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
Parse error: parse error, unexpected '/' - can anyone see the error in this code? v@ny@ Programming 8 04-03-2010 04:07 PM
Sendmail: eocket wedge , 504 error , dsn error, mail relay connection error djcs Debian 0 03-03-2009 12:41 AM
PHP Error Parse error: parse error, unexpected $ in /home/content/S/k/i/SkinCare4U/h CowanServices Programming 2 12-09-2008 08:26 PM
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 06:46 PM
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-15-2005 11:22 PM

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

All times are GMT -5. The time now is 01:56 AM.

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