Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failure: "bigWig.h: No such file or directory" #139

Open
phongphak opened this issue Oct 25, 2022 · 1 comment
Open

Installation failure: "bigWig.h: No such file or directory" #139

phongphak opened this issue Oct 25, 2022 · 1 comment

Comments

@phongphak
Copy link

Hi,

I'm trying to install MethylDackel on my server. However, I got the following error message when running make LIBBIGWIG="/some/path/to/libBigWig.a" :

echo '#define VERSION "0.5.3"' > version.h
cc -c -Wall -g -O3 -pthread  -IlibBigWig common.c -o common.o
In file included from common.c:1:
MethylDackel.h:6:10: fatal error: bigWig.h: No such file or directory
    6 | #include "bigWig.h"
      |          ^~~~~~~~~~
compilation terminated.
Makefile:20: recipe for target 'common.o' failed
make: *** [common.o] Error 1

libBigWig is already installed and I also have checked that "bigWig.h" is in the libBigWig directory. So could you please help me complete the installation.

Thank you

@dpryan79
Copy link
Owner

Add the appropriate "-Ipath/to/headers" into the CFLAGS variable. Alternatively, just install via conda and then you don't have to deal with any of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants