('link:', ['-g', '-Wall', '-ffinite-math-only', '-fno-signaling-nans', '-pthread', '-march=native', '-O3', '-fomit-frame-pointer', '-DNDEBUG', '-fpic', '-Winline', '-lm', '-lm', '-lm', '-lm', '-L/home/carolyne/anaconda2/envs/iraf27/lib', '-lpng16', '-lz', '-L.', '-lnetpbm', '-ljpeg'])
('objs:', ['../util/cairoutils.o', 'libastrometry.a', '../catalogs/libcatalogs.a', '../util/libanfiles.a', '../libkd/libkd.a', '../util/libanutils.a', '../qfits-an/libqfits.a', '../util/libanbase.a', '../gsl-an/libgsl-an.a', '../util/libanutils.a', '../qfits-an/libqfits.a', '../util/libanbase.a', '../gsl-an/libgsl-an.a'])
('inc:', ['../include', '../include/astrometry', '../gsl-an', '../include', '../include/astrometry', '../gsl-an', '../util'])
('cflags:', ['-g', '-Wall', '-ffinite-math-only', '-fno-signaling-nans', '-pthread', '-march=native', '-O3', '-fomit-frame-pointer', '-DNDEBUG', '-fpic', '-Winline', '-I../include', '-I../include/astrometry', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', "-DAN_GIT_REVISION='0.76-11-g8a0dee93'", "-DAN_GIT_DATE='Sat_Dec_22_10:26:36_2018_-0500'", "-DAN_GIT_URL='
https://github.com/dstndstn/astrometry.net'", '-I../catalogs', '-I../include', '-I../include/astrometry', '-I../gsl-an', '-I../include', '-I../include/astrometry', '-I../gsl-an', '-I../util', '-I.', '-I/home/carolyne/anaconda2/envs/iraf27/include'])
running build_ext
building '_plotstuff_c' extension
swigging plotstuff.i to plotstuff_wrap.c
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -g -Wall -ffinite-math-only -fno-signaling-nans -pthread -march=native -O3 -fomit-frame-pointer -DNDEBUG -fpic -Winline -I../include -I../include/astrometry -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DAN_GIT_REVISION=0.76-11-g8a0dee93 -DAN_GIT_DATE=Sat_Dec_22_10:26:36_2018_-0500 -DAN_GIT_URL=
https://github.com/dstndstn/astrometry.net -I../catalogs -I../include -I../include/astrometry -I../gsl-an -I../include -I../include/astrometry -I../gsl-an -I../util -I. -I/home/carolyne/anaconda2/envs/iraf27/include -fPIC -I/home/carolyne/anaconda2/envs/iraf27/lib/python2.7/site-packages/numpy/core/include -I../include -I../include/astrometry -I../gsl-an -I../include -I../include/astrometry -I../gsl-an -I../util -I/home/carolyne/anaconda2/envs/iraf27/include/python2.7 -c plotstuff_wrap.c -o ./plotstuff_wrap.o
In file included from plotstuff_wrap.c:3065:0:
../include/astrometry/plotstuff.h:10:10: fatal error: cairo.h: No such file or directory
#include <cairo.h>
^~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
Makefile:416: recipe for target '_plotstuff_c.so' failed
make[1]: *** [_plotstuff_c.so] Error 1
make[1]: Leaving directory '/home/carolyne/Programas/astrometry.net-0.76/blind'
Makefile:115: recipe for target 'pyplotstuff' failed
make: *** [pyplotstuff] Error 2
pkg-config --modversion cairo
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
pkg-config --cflags cairo
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
sudo apt-get install libcairo2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcairo2-dev is already the newest version (1.15.10-2ubuntu0.1).
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-42 linux-headers-4.15.0-42-generic
linux-image-4.15.0-42-generic linux-modules-4.15.0-42-generic
linux-modules-extra-4.15.0-42-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.