Cisco-Talos / clamav-bytecode-compiler

ClamAV Bytecode Compiler
GNU General Public License v2.0
74 stars 27 forks source link

Mention libclang-*-dev is required in documentation, compile part #5

Closed dmknght closed 2 years ago

dmknght commented 3 years ago

clamav-bytecode-compiler version: clambc-0.102.0-2 OS: Parrot 4.11.2, Debian testing based. Available Clang: 9.0.1, 10.0.1, 11.0.1 When i compile with Clang 9, as mentioned in #4, cmake .. showed error

-- Could not find any Clang libraries in /usr/lib/llvm-9/lib
CMake Error at cmake/FindClang.cmake:175 (message):
  Could NOT find Clang
Call Stack (most recent call first):
  CMakeLists.txt:109 (find_package)

Problem solved by install libclang-9-dev. Idk if this is issue of Debian packages, when clang8 doesn't need lib dev but clang9 needs but it should be easier for users want to compile clamav-bytecode-compiler if installing lib is mentioned.

micahsnyder commented 2 years ago

Instead we removed the libclang dependency, at the top of https://github.com/Cisco-Talos/clamav-bytecode-compiler/commit/4b3280bf7f1da7e52fc7bf1fd9310bd0e65f4a42

But clang is still require to use the compiler.