LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   compiling clamav sbopkg cmake problem (https://www.linuxquestions.org/questions/slackware-14/compiling-clamav-sbopkg-cmake-problem-4175736044/)

slackbat 04-15-2024 06:12 AM

compiling clamav sbopkg cmake problem
 
Hi all,

Have been trying to compile clamav-1.3.0 using sbopkg on slackware 15, but am encountering a problem

Code:

CMake Error at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find MSPack (missing: MSPack_LIBRARY MSPack_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindMSPack.cmake:60 (find_package_handle_standard_args)
  CMakeLists.txt:1047 (find_package)

I have clamav-1.2.1-x86_64-1_SBo installed, obviously built using sbopkg.

I have not a clue as to resolving the issue, so a little help would be great.

TIA, and all the best.

slackbat

0XBF 04-15-2024 06:43 AM

Quote:

Originally Posted by slackbat (Post 6496069)
Code:

CMake Error at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find MSPack (missing: MSPack_LIBRARY MSPack_INCLUDE_DIR)

I have clamav-1.2.1-x86_64-1_SBo installed, obviously built using sbopkg.

You are missing 'libmspack'. clamav-1.2.1 only required rust16 as its dependency. The clamav-1.3.0 version added the 'libmspack' dependency when it was updated on slackbuilds.org.

slackbat 04-16-2024 05:07 AM

Quote:

Originally Posted by 0XBF (Post 6496077)
You are missing 'libmspack'. clamav-1.2.1 only required rust16 as its dependency. The clamav-1.3.0 version added the 'libmspack' dependency when it was updated on slackbuilds.org.

Thanks for the reply - I realised further on into the day, that maybe its missing a dependency, that I should have checked the requirements, instead of taking it for granted, which I did, and you are right, so after installing the dependency, clamav installed just fine.

An old age senior moment.

Again, thanks for the reply and the tip.

slackbat


All times are GMT -5. The time now is 08:08 PM.