Akumuli icon indicating copy to clipboard operation
Akumuli copied to clipboard

Building Akumuli on FreeBSD

Open DenisPolygalov opened this issue 7 years ago • 1 comments

Hi Folks, I'm trying to compile Akumuli under FreeBSD 10.3 but it fails to find JeMalloc: CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find JeMalloc (missing: JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR) Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) cmake/FindJeMalloc.cmake:35 (find_package_handle_standard_args) CMakeLists.txt:47 (find_package) This is kind of.... pity because JeMalloc was born from FreeBSD and "Modern jemalloc releases continue to be integrated back into FreeBSD" https://github.com/jemalloc/jemalloc

DenisPolygalov avatar Jul 26 '17 13:07 DenisPolygalov

Hi, This problem is caused by the FindJeMalloc.cmake script - https://github.com/akumuli/Akumuli/blob/master/cmake/FindJeMalloc.cmake. I've found it on Github and just copied. It works on Linux and Linux is the only supported OS at the moment (the one every release is tested on). But I can't think about any problem that can stop Akumuli from being used on FreeBSD. I believe that this problem can be fixed by commenting out this line - https://github.com/akumuli/Akumuli/blob/master/CMakeLists.txt#L47

Lazin avatar Jul 26 '17 20:07 Lazin