Skip to content

'lzma.h' file not found #14

@rmormando

Description

@rmormando

Hi! I'm trying to install HapDup and I'm at the step where I need to install margin with this command:

#build and install Margin pushd submodules/margin/ && mkdir build && cd build && cmake .. && make && cp ./margin $CONDA_PREFIX/bin/ && popd

I have created the 'build' directory and was able to successfully run cmake .. but when I go to run make I get this error:

/Users/hapdup/submodules/margin/impl/bubbleGraph.c:7:10: fatal error: 'lzma.h' file not found
#include <lzma.h>
         ^~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/marginLib.dir/impl/bubbleGraph.c.o] Error 1
make[1]: *** [CMakeFiles/marginLib.dir/all] Error 2
make: *** [all] Error 2

I've tried reinstalling the xz package with no luck and I'm completely lost at this point. Can someone help me understand this error and a way to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions