Menu

#3 Bulding ClamSAP on AIX

Unstable (example)
closed-fixed
AIX (1)
5
2024-03-12
2022-09-22
No

Hello Markus,
I'm trying to build a recent version of ClamSAP on AIX, but the configure script can't find the clamav.h header file. ClamAV was installed from RPM on another AIX machine and I transfered only the libraries and includes to the host where are the compilers available. I wasn't able to find out in which directories the configure script searches for the files and list of all files required to build ClamSAP. Tried both gcc and xlc.
The output of the configure script is attached.
Is there more detailed documentation of build process available?

Thank you for maintaining the ClamSAP!

With the kind regards,
Ladislav Mravec

1 Attachments

Discussion

  • Markus Strehle

    Markus Strehle - 2022-10-13

    Hello Ladislav,

    I tried to build the source on AIX but could not get a machine anymore.
    The problem with platforms different to Linux is, that support for a platform needs also involvement from the vendor of the platform.
    In best case the vendor officially support the open-source.

    In case of clamsap you need to know that this is only a small wrapper but the AV protection is in clamav.
    I am not really sure if IBM supports clamav officially, but found
    https://clamav-users.clamav.narkive.com/WEHNQ0Rf/clamav-support-for-aix-7-1

    If you have installed clamav with developer extension (often that is the term) then you can the header installed. Otherwise use the latest one from github
    https://github.com/Cisco-Talos/clamav/blob/main/libclamav/clamav.h

    Manual installation (build) instruction is here
    https://docs.clamav.net/manual/Installing/Installing-from-source-Unix.html

    After setup of clamav and freshclam daemon - because you need to update your signatures - you should have all you need to build manually clamsap. You need the header and the shared library libclamav.so to LINK against, but only the header if you build and use only clamdsap .

    If this does not help, please ask the vendor support from SAP, see
    https://www.sapdatasheet.org/abap/bmfr/hlb0009151.html

    kind regards,
    Markus

     
    • Ladislav Mravec

      Ladislav Mravec - 2022-10-14

      Hello Markus,
      We have been using clamav and clamsap on AIX for many years, but recent ClamAV requires some additional tools to be built (CMake, Rust, ...) and not all of them have been ported to AIX yet. The not-up-to-date ClamAV RPM package available in IBM opensource repository (0.102.2-1) installs OK, freshclam and other binaries work, but I was not able to build ClamSAP based on this installation. The required clamav.h file is present, but the ClamSAP configure script can't find it in any preferred location (which I don't know where it is).
      In the meantime, my colleague found a newer clamav-devel package, I'll give it another try after upgrade of the RPM's.

      Many thanks,
      Ladislav

       
  • Markus Strehle

    Markus Strehle - 2024-03-12
    • status: open --> closed-fixed
     
  • Markus Strehle

    Markus Strehle - 2024-03-12

    Hello Ladislav,
    I close this, because I cannot change the build environment of clamav.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.