[cairo] Unable to compile cairomm 1.7.0 (OS X fink)
askok at dnainternet.net
Tue Oct 28 11:50:35 PDT 2008
Oops, that was interesting.
Seems libsigc++ 2.5 is prepared for this:
/* stupid OS X, defining nil */
But current fink version is 2.2.3. I will contact the maintainer to
make sure (s)he is notified.
Seems fitting the same first aid block in front of including <sigc++/
slot.h> in both cairomm/fontface.h and cairomm/surface.h does the same
Murray Cumming kirjoitti 28.10.2008 kello 19:53:
> 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
>> I got after
>> 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
> there. I am surprised that you could build libsigc++.
> Unfortunately, we can't change that identifier to something else
> 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
> this. Maybe he knows where to find the bug or the patch.
> murrayc at murrayc.com
More information about the cairo