[cairo] Unable to compile cairomm 1.7.0 (OS X fink)

Murray Cumming murrayc at murrayc.com
Tue Oct 28 10:53:39 PDT 2008

On Mon, 2008-10-27 at 21:24 +0200, Asko Kauppi wrote:
> I tried compiling Cairomm 1.7.0 on OS X with fink tools.  This is what  
> I got after
> 	./configure
> 	make
> Would you have ideas of what's wrong?
> Which version of libsigc++ is required?
> The line 37 of functor_trait.h is:
> <<
> /** nil struct type.
>   * The nil struct type is used as default template argument in the
>   * unnumbered sigc::signal and sigc::slot templates.
>   *
>   * @ingroup signal
>   * @ingroup slot
>   */
> struct nil;	<<-- line 37

Yes. nil is typedefed to something on MacOS X, so libsigc++ has problems
there. I am surprised that you could build libsigc++.

Unfortunately, we can't change that identifier to something else without
breaking ABI (due to mangled C++ names) in other libraries that use
libsigc++, such as gtkmm.

vmware had this problem (they use gtkmm for the vmware UI). I'm sure
there's a patch somewhere that they apply, but I can't find it now in
bugzilla. fink should probably apply the patch.

I've CCed Philip Langdale, who I think was the vmware guy who mentioned
this. Maybe he knows where to find the bug or the patch.

murrayc at murrayc.com

More information about the cairo mailing list