Opened 13 years ago

Closed 13 years ago

#1368 closed defect (fixed)

GRASS 7 compilation broken for cairo

Reported by: neteler Owned by: grass-dev@…
Priority: major Milestone:
Component: Compiling Version: svn-trunk
Keywords: Cc:
CPU: x86-64 Platform: Linux


The recent change r46327 has broken the configuration:

neteler@projects:~/cronjobs$ cat /home/neteler/grass7_svn_head_progmanual/grass7/config.log | tail
configure:12345: checking whether to use LAPACK
configure:12667: checking whether to use Cairo
configure:12693: checking for location of cairo includes
configure:12719: checking for cairo.h
configure:12727: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:12723:19: error: cairo.h: No such file or directory
configure: failed program was:
#line 12722 "configure"
#include "confdefs.h"
#include <cairo.h>
neteler@projects:~/cronjobs$ locate cairo.h

neteler@projects:~/cronjobs$ cat /etc/issue
Debian GNU/Linux 5.0 \n \l

neteler@projects:~/cronjobs$ ls /usr/lib/pkgconfig/
cairo-directfb.pc  cairo-xlib-xrender.pc  fontutil.pc      libcurl.pc   printproto.pc   xcb-renderutil.pc  xrender.pc
cairo-ft.pc        com_err.pc             freetype2.pc     libidn.pc    renderproto.pc  xcb-xlib.pc        xt.pc
cairo.pc           directfb-internal.pc   fusion.pc        libpng12.pc  sm.pc           xdmcp.pc           xtrans.pc
cairo-pdf.pc       directfb.pc            gnutls-extra.pc  libpng.pc@   sqlite3.pc      xext.pc
cairo-png.pc       direct.pc              gnutls.pc        libssl.pc    x11.pc          xextproto.pc
cairo-ps.pc        fftw3f.pc              ice.pc           libsysfs.pc  xau.pc          xft.pc
cairo-svg.pc       fftw3l.pc              inputproto.pc    libtasn1.pc  xbitmaps.pc     xmu.pc
cairo-xcb.pc       fftw3.pc               kbproto.pc       openssl.pc   xcb.pc          xp.pc
cairo-xlib.pc      fontconfig.pc          libcrypto.pc     pixman-1.pc  xcb-render.pc   xproto.pc

At least on Debian cairo-fc does not exist. Package: libcairo2-dev Version: 1.6.4-7

Change History (2)

in reply to:  description ; comment:1 by glynn, 13 years ago

Replying to neteler:

The recent change r46327 has broken the configuration:

Try r46344.

in reply to:  1 comment:2 by lucadelu, 13 years ago

Resolution: fixed
Status: newclosed

Replying to glynn:

Replying to neteler:

The recent change r46327 has broken the configuration:

Try r46344.

It works

Note: See TracTickets for help on using tickets.