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

ERROR WHILE Make #984

Open
ankush290307 opened this issue Jul 20, 2021 · 1 comment
Open

ERROR WHILE Make #984

ankush290307 opened this issue Jul 20, 2021 · 1 comment

Comments

@ankush290307
Copy link

ankush290307 commented Jul 20, 2021

Problem description

% apt-get install genometools

Exact command line call triggering the problem

make

gt ...

Example minimal input triggering the problem

In file included from src/annotationsketch/canvas_cairo.c:34:0:
/media/mittal/FMBL2/genometools-1.6.2/src/annotationsketch/graphics_cairo_api.h:21:19: fatal error: cairo.h: No such file or directory
compilation terminated.
Makefile:842: recipe for target 'obj/src/annotationsketch/canvas_cairo.o' failed
make: *** [obj/src/annotationsketch/canvas_cairo.o] Error 1

What GenomeTools version are you reporting an issue for (as output by gt -version)?

1.6.2

Did you compile GenomeTools from source? If so, please state the make parameters used.

make with-hmmer=yes threads=yes

What operating system (e.g. Ubuntu, Mac OS X), OS version (e.g. 15.10, 10.11) and platform (e.g. x86_64) are you using?

Ubuntu 64

@satta
Copy link
Member

satta commented Jul 21, 2021

Hmm. If you installed GenomeTools via apt-get then you would not need to use make, you get the gt executable directly from the Ubuntu package. Just saying that because you stated % apt-get install genometools in your problem description. In that case you don't really need to do anything, you already have GenomeTools.

If you want to build from source: To solve your build error, you can either

make cleanup

and then

make threads=yes cairo=no

if you don't need AnnotationSketch (with-hmmer has been obsolete for a long time now), or if you need AnnotationSketch,

apt-get install libcairo2-dev libpango1.0-dev

and then retry your make call. You were missing the Cairo dependency needed to build with AnnotationSketch support.

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

No branches or pull requests

2 participants