Hello,<br><br>I tried to find something in the archive of the mailing list but didn't find anything suitable, so I come here to ask.<br><br>I'm tryin' to get cairomm from darwinport but I have the following error and I dono what to do with my poor skills in Unix:
<br><br><div style="margin-left: 40px;">ishtanzar:~ ishtanzar$ sudo port install cairomm<br>Password:<br>---> Building cairomm with target all<br>Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_cairomm/work/cairomm-
1.2.2" && make all" returned error 2<br>Command output: xlib_surface.cc:37: error: 'visual' was not declared in this scope<br>xlib_surface.cc:37: error: expected primary-expression before 'int'
<br>xlib_surface.cc:37: error: expected primary-expression before 'int'<br>xlib_surface.cc:38: error: expected ',' or ';' before '{' token<br>xlib_surface.cc:44: error: 'Cairo::RefPtr<Cairo::XlibSurface> Cairo::XlibSurface::create' is not a static member of 'class Cairo::XlibSurface'
<br>xlib_surface.cc:44: error: 'Display' was not declared in this scope<br>xlib_surface.cc:44: error: 'dpy' was not declared in this scope<br>xlib_surface.cc:44: error: 'Pixmap' was not declared in this scope
<br>xlib_surface.cc:44: error: 'Screen' was not declared in this scope<br>xlib_surface.cc:44: error: 'screen' was not declared in this scope<br>xlib_surface.cc:44: error: expected primary-expression before 'int'
<br>xlib_surface.cc:44: error: expected primary-expression before 'int'<br>xlib_surface.cc:45: error: expected ',' or ';' before '{' token<br>xlib_surface.cc:57: error: variable or field 'set_drawable' declared void
<br>xlib_surface.cc:57: error: 'int Cairo::XlibSurface::set_drawable' is not a static member of 'class Cairo::XlibSurface'<br>xlib_surface.cc:57: error: 'Drawable' was not declared in this scope<br>
xlib_surface.cc:57: error: expected primary-expression before 'int'<br>xlib_surface.cc:57: error: expected primary-expression before 'int'<br>xlib_surface.cc:57: error: initializer expression list treated as compound expression
<br>xlib_surface.cc:58: error: expected ',' or ';' before '{' token<br>xlib_surface.cc:63: error: 'Drawable' does not name a type<br>xlib_surface.cc:70: error: expected initializer before '*' token
<br>xlib_surface.cc:77: error: expected constructor, destructor, or type conversion before '*' token<br>xlib_surface.cc:84: error: expected constructor, destructor, or type conversion before '*' token<br>xlib_surface.cc:91: error: expected initializer before '*' token
<br>xlib_surface.cc:98: error: expected constructor, destructor, or type conversion before '*' token<br>xlib_surface.cc:105: error: expected initializer before '*' token<br>make[2]: *** [xlib_surface.lo] Error 1
<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all-recursive] Error 1<br><br>Error: Status 1 encountered during processing.<br></div><br>If anyone has an idea, it'd be great... :/<br><br>Oh and please forgive me for my english, I'm french.
<br>