You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
Problem description
% apt-get install genometools
Exact command line call triggering the problem
make
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
The text was updated successfully, but these errors were encountered: