LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-26-2022, 11:18 AM   #1
will_kranz
Member
 
Registered: Nov 2004
Location: NH/CT
Distribution: Slackware 10 to 14
Posts: 52

Rep: Reputation: 0
problem installing clamav-0.105.1 source distribution on Slackware 14.2


Dear LQ friends, I have been using Slackware for something like 15 years. I'm in my mid 70's and sadly forget things almost as quickly as I learn them. Normally build things from source but having trouble with above. I built and installed the required support libraries with no troubles. But after creating my clamav-0.105.1/build directory and running 'cmake ..' from it I almost immediately get the message below:
"CMake Error at CMakeLists.txt:7 (cmake_minimum_required):
CMake 3.14 or higher is required. You are running version 3.5.2
"

I do appear to have that version of cmake installed with slackware 14.2
which displays version above in response to 'cmake /V'

I have used this cmake to build at least 5 utilities from source on this system with no problem. Something I don't understand is going on. I downloaded a simple cmake example and it works fine, but above does not.
Any suggestions?

I also note that the documentation at CMake.org says the most recent version of Cmake is 3.25 not the 3.5.2 displayed by my Cmake and listed in the slackware 14.2 packages.txt.

I notice a pre-built package is available for this distribution:
http://www.slackware.com/~alien/slac..._64-1alien.lst
all I want to do is to run clamscan to test a Win10 distribution which my expired version of McAfee clams has picked up several virus and remove them without paying McAfee anymore. Can I install clamscan and the required libraries from the slackbuilds above? If so what do I need to extract?
 
Old 11-26-2022, 03:36 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Hello,
Quote:
Originally Posted by will_kranz View Post
Dear LQ friends, I have been using Slackware for something like 15 years. I'm in my mid 70's and sadly forget things almost as quickly as I learn them. Normally build things from source but having trouble with above. I built and installed the required support libraries with no troubles. But after creating my clamav-0.105.1/build directory and running 'cmake ..' from it I almost immediately get the message below:
"CMake Error at CMakeLists.txt:7 (cmake_minimum_required):
CMake 3.14 or higher is required. You are running version 3.5.2
"

I do appear to have that version of cmake installed with slackware 14.2
which displays version above in response to 'cmake /V'

I have used this cmake to build at least 5 utilities from source on this system with no problem. Something I don't understand is going on. I downloaded a simple cmake example and it works fine, but above does not.
Any suggestions?

I also note that the documentation at CMake.org says the most recent version of Cmake is 3.25 not the 3.5.2 displayed by my Cmake and listed in the slackware 14.2 packages.txt.

I notice a pre-built package is available for this distribution:
http://www.slackware.com/~alien/slac..._64-1alien.lst
all I want to do is to run clamscan to test a Win10 distribution which my expired version of McAfee clams has picked up several virus and remove them without paying McAfee anymore. Can I install clamscan and the required libraries from the slackbuilds above? If so what do I need to extract?
I assume that new clamav version have to use cmake, but not so old ones can still be built with autotools, as did Eric Hameleers aka Alien Bob: https://slackware.uk/people/alien/sl...mav.SlackBuild. So I think that your options are:
In your situation I would upgrade to Slackware 15.0 and be done with similar issues.

Last edited by Didier Spaier; 11-26-2022 at 04:39 PM.
 
Old 11-26-2022, 06:56 PM   #3
TheIllusionist
Member
 
Registered: Dec 2020
Posts: 67

Rep: Reputation: Disabled
I guess you just have to upgrade cmake to above version 3.20. On my 14.2 system I a while ago upgraded cmake to version 3.22.1 by downloading the source:

https://cmake.org/files/v3.22/cmake-3.22.1.tar.gz

and after unpacking (as root) just issuing ./configure followed by "gmake" and "make install". As I remember that was it

ADDENDUM: maybe clamav-0.105.1 does not build on old 14.2. Version 0.103.0 should be OK. By the way, Joerg Lope'z ClamAV-GUI is nice!

Last edited by TheIllusionist; 11-26-2022 at 08:13 PM.
 
Old 11-28-2022, 07:04 AM   #4
will_kranz
Member
 
Registered: Nov 2004
Location: NH/CT
Distribution: Slackware 10 to 14
Posts: 52

Original Poster
Rep: Reputation: 0
sorry this entire post seems to have been a mistake

Thanks for the suggestions gentlemen, all good ones. I was having a major cognitive failure when I made post. Somehow I was failing to see that cmake ver 3.14 was more recent than my installed 3.5.2. I built and ran the current cmake ver 3.25 and the error I was having disappears. I get a bit further now, but build halts when it can't find Libcheck:
"Could NOT find Libcheck (missing: LIBCHECK_INCLUDE_DIR LIBCHECK_LIBRARY)"
This is pretty clearly not a 'Slackware install' issue and if asked at all probably belongs on a Clamav Forum. I'll try some older versions of Clamav ... Thanks again.
 
Old 11-29-2022, 01:56 PM   #5
TheIllusionist
Member
 
Registered: Dec 2020
Posts: 67

Rep: Reputation: Disabled
Will - that was a good posting, and it is interesting you "check out" your cmake build system with downloaded example files!. I may some day follow in your foot-steps and explore. Until now I just have found cmake complicated and find it annoying it cannot do "make uninstall"!
Building cmake with the flag --with-qt should result in a small graphical interface perhaps easing the pain when that time comes
And apropos growing older - I also from and then find it more difficult to recall facts and things from memory formerly immediately available - it may now take a few seconds, or I consult my phone where I regularly store notes, names, passwds et.c.
We are born with a fixed number of sensors in eyes and ears, and the numbers of neurons in the brain peak in our early twenties (I believe). From the it is a downhill walk
Luckily I myself still is employed even if my surroundings must find me terrible old - today a co-worker with talent for storytelling spoke about working years in Saudi-Arabia - fun, interesting and much better than when reading about such things!
My vision is not the best any more and from and then I make errors when using our advanced and detailed computer system at work (font size 10 or 11), something that did not happen in earlier days, and still not very often at home, I think.
But I now realised I compensate (or mitigate) at home as good as I can by 1) mainly using one of those big Windows Vista era laptops coming with a huuge display 2) maximizing my xfce4 root console (running Midnight Commander) by launching MC with "gksu xfce4-terminal --maximize --execute mc" with the terminal font set as size 16 and 3) by increasing the font size in apps, as exemplified below in "Sayonara" beeing a nice audiobook reader sporting bookmarks and adjustment of speed and pitch.
So for me nice to meet a fellow in the same boat as onself
Attached Thumbnails
Click image for larger version

Name:	saynoraplayer.jpg
Views:	15
Size:	73.1 KB
ID:	39961  
 
  


Reply

Tags
clamscan, installation, slackware 14.2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Clamav upgrade telling me clamav is newest version, but running 'sudo freshclam' tells me it is outdated! hddfsck Linux - Newbie 16 09-13-2019 09:43 PM
Mimedefang clamav vs clamav-milter digitolx Linux - Server 0 10-20-2010 03:45 PM
file-scan-clamav-1.8 or clamav-0.93.1 invader44 Linux - Newbie 1 12-29-2009 08:49 AM
linux on casiopeia m-105 asafbar Linux - Laptop and Netbook 0 04-07-2004 03:58 AM
linux on a palm m 105 -- is it possible? wendallsan Linux - Laptop and Netbook 0 10-15-2003 02:37 PM

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

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