<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Oct 10, 2006, at 7:28, Ian Osgood wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BR><DIV><DIV>On Oct 9, 2006, at 11:15 PM, Travis Griggs wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV><BLOCKQUOTE type="cite"> </BLOCKQUOTE></DIV>OK, I'm getting close. Thanks to tips both private and here in list. What I've done so far is:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>port install cogito</DIV><DIV>cg-clone -s git://git.cairographics.org/git/cairo</DIV><DIV>port install libtool</DIV><DIV>edit the autogen.sh file, changed the first ${LIBTOOLIZE-libtoolize} with ${LIBTOOLIZE-glibtoolize} "I must admit that variable expression makes now sense to me" </DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>You could instead do</DIV><DIV>$ LIBTOOLIZE=glibtoolize ./autogen.sh</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Maybe I don't understand the syntax of ${SOMETHING-something}. If I did what you suggested, wouldn't LIBTOOLIZE be set to 'glibtoolize-libtoolize'.</DIV><BR><BLOCKQUOTE type="cite"><DIV><BR><BLOCKQUOTE type="cite"><DIV>port install automake</DIV><DIV>port install pkgconfig</DIV><DIV>port install libpng "trial and error determined all 4 of these lines"</DIV><DIV>./autogen.sh --enable-atsui --enable-quartz</DIV><DIV>make</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If I'm supposed to do some of the previous steps differently, I admit my naivety and am open to suggestion. Before this, this box has had very little "non apple" software loaded onto it. I think I port'ed VIM.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The bad news is that I get a compile error:</DIV><DIV>....</DIV><DIV>/local/lib/libz.dylib -lXrender -lSM -lICE -L/usr/X11R6/lib -lX11 -Wl,-framework -Wl,Carbon -install_name /usr/local/lib/libcairo.2.dylib -Wl,-compatibility_version -Wl,12 -Wl,-current_version -Wl,12.2</DIV><DIV>ld: Undefined symbols:</DIV><DIV>_FcNameConstant</DIV><DIV>/usr/bin/libtool: internal link edit command failed</DIV><DIV>make[3]: *** [libcairo.la] Error 1</DIV><DIV>make[2]: *** [all] Error 2</DIV><DIV>make[1]: *** [all-recursive] Error 1</DIV><DIV>make: *** [all] Error 2 </DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>$ port install fontconfig</DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This got me a lot further. Not at first, had to rerun autogen.sh. In fact I did so with just the defaults (no (n)quartz or atsui). And it actually compiles (iirc). When I tried to --enable-nquartz and --enable-atsui, it failed. On a lark, I added --enable-quartz to the mix as well. That produced a different error. So finally, I just did --enable-quartz and --enable-atsui (no nquartz). And that works. So it looks like a fresh clone won't do nquartz yet. Unless someone else has any ideas. Compile errors are below the sig.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks for the hints and help all!</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>Travis Griggs</DIV><DIV>Objologist</DIV><DIV>"I think that we should be men first, and subjects afterward." - Henry David Thoreau</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>--enable-quartz --enable-nquartz --enable-atsui</DIV><DIV>....</DIV><DIV>In file included from /usr/X11R6/include/X11/extensions/Xrender.h:29,</DIV><DIV> from ../src/cairo-xlib-xrender.h:44,</DIV><DIV> from cairo-boilerplate.c:950:</DIV><DIV>/usr/X11R6/include/X11/extensions/render.h:31: error: conflicting types for 'Picture'</DIV><DIV>/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:309: error: previous declaration of 'Picture' was here</DIV><DIV>In file included from /usr/X11R6/include/X11/Xlib.h:59,</DIV><DIV> from /usr/X11R6/include/X11/Xutil.h:55,</DIV><DIV> from /usr/X11R6/include/X11/extensions/Xrender.h:33,</DIV><DIV> from ../src/cairo-xlib-xrender.h:44,</DIV><DIV> from cairo-boilerplate.c:950:</DIV><DIV>/usr/X11R6/include/X11/X.h:108: error: conflicting types for 'Cursor'</DIV><DIV>/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:278: error: previous declaration of 'Cursor' was here</DIV><DIV>make[3]: *** [cairo-boilerplate.lo] Error 1</DIV><DIV>make[2]: *** [all-recursive] Error 1</DIV><DIV>make[1]: *** [all-recursive] Error 1</DIV><DIV>make: *** [all] Error 2 </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>--enable-nquartz --enable-atsui</DIV><DIV>.....</DIV><DIV>In file included from cairo-quartz-private.h:40,</DIV><DIV> from cairo-atsui-font.c:42:</DIV><DIV>./cairo-quartz.h:57:3: error: #error Cairo was not compiled with support for the quartz backend</DIV><DIV>make[3]: *** [cairo-atsui-font.lo] Error 1</DIV><DIV>make[2]: *** [all] Error 2</DIV><DIV>make[1]: *** [all-recursive] Error 1</DIV><DIV>make: *** [all] Error 2 </DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>