Thanks Tiago, I hadn't realized I have to manually disable the optional dependencies.

Thanks again,
 Matthias


On Saturday, 30 November 2013 21:45:53 UTC+1, Tiago Peixoto wrote:
On 11/29/2013 12:14 PM, Matthias Ekman wrote:
> Hi,
>
> I'm trying to install graph-tool-2.2.27 from source (Debian 6.0/python 2.7.5)
>
>     ./configure --prefix=${HOME}/scratch/temp/gt
>
> <snip>
>
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for CAIROMM... no
> configure: error: Package requirements (cairomm-1.0) were not met:
>
> No package 'cairomm-1.0' found
>
> </snip
>
> THIS tells me that cairomm-1.0 is not installed.
> I'm a bit surprised as this is marked as an optional dependency here: http://graph-tool.skewed.de/download
>
> However
>
>     dpkg -L libcairomm-1.0-1
>
> /usr/share/doc
> /usr/share/doc/libcairomm-1.0-1
> /usr/share/doc/libcairomm-1.0-1/README
> /usr/share/doc/libcairomm-1.0-1/AUTHORS
> /usr/share/doc/libcairomm-1.0-1/copyright
> /usr/share/doc/libcairomm-1.0-1/changelog.Debian.gz
> /usr/share/doc/libcairomm-1.0-1/NEWS.gz
> /usr/share/doc/libcairomm-1.0-1/changelog.gz
> /usr/lib
> /usr/lib/libcairomm-1.0.so.1.4.0
> /usr/lib/libcairomm-1.0.so.1
>
>
> But
>
>     pkg-config cairomm-1.0-1 --libs
>
> ckage cairomm-1.0-1 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `cairomm-1.0-1.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'cairomm-1.0-1' found
>
> I suspect this is a rather simple issue. Could you please tell me how to adjust configure to find my cairomm installation?

In Debian, the libraries are almost always split in two packages: One
containing the shared object and another one with "-dev" suffix which
contains the header files. For cairomm you need to install the
libcairomm-1.0-dev package, in addition to libcairomm-1.0.

And cairo support _is_ optional. If you want to disable it, just pass
the --disable-cairo to the configure script.

Cheers,
Tiago


--
Tiago de Paula Peixoto <ti...@skewed.de>