Hello, I'm trying to build clutter on os x 10.5.4. Ive downloaded 0.8 and applied the "patch" described in http://bugzilla.openedhand.com/show_bug.cgi?id=1038. this part works fine. Oh, havent find a clutter package in jhbuild, neither on macports of 10.5 btw.
In os x 10.5 OpenGL linked binaries you have to take in consideration this one: http://developer.apple.com/qa/qa2007/qa1567.html otherwise: ... gcc -DXTHREADS -D_REENTRANT -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/pixman-1 -g -O2 -framework Cocoa -framework OpenGL -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -o .libs/test-textures test-textures.o -L/opt/local/lib -L/usr/X11/lib ../clutter/.libs/libclutter-osx-0.8.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libexpat.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: *** [test-textures] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 so, I tried this: --- configure.ac.orig 2008-07-20 18:42:47.000000000 +0200 +++ configure.ac 2008-07-20 18:44:52.000000000 +0200 @@ -436,7 +436,9 @@ CLUTTER_COGL="gl" AC_DEFINE([HAVE_COGL_GL], [1], [Have GL for rendering]) - OSX_LIBS="-framework Cocoa -framework OpenGL" + OSX_LIBS="-framework Cocoa -framework OpenGL -dylib_file \ +/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ +/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" AC_CHECK_HEADERS([$clutter_gl_header],, [AC_MSG_ERROR([Unable to locate required GL headers])]) ;; But, autoconf/reconf chokes: [EMAIL PROTECTED]:~/src/clutter-0.8.0$ autoreconf -I /opt/local/share/aclocal configure.ac:629: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library clutter/eglx/Makefile.am:21: libclutter_eglx_la_SOURCES multiply defined in condition TRUE ... clutter/eglx/Makefile.am:18: ... `libclutter_eglx_la_SOURCES' previously defined here gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL doc/reference/clutter/Makefile.am:127: `gtk-doc.make' included from here gtk-doc.make:48: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL doc/reference/clutter/Makefile.am:127: `gtk-doc.make' included from here gtk-doc.make:153: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL doc/reference/clutter/Makefile.am:127: `gtk-doc.make' included from here gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL doc/reference/cogl/Makefile.am:91: `gtk-doc.make' included from here gtk-doc.make:48: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL doc/reference/cogl/Makefile.am:91: `gtk-doc.make' included from here gtk-doc.make:153: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL doc/reference/cogl/Makefile.am:91: `gtk-doc.make' included from here Makefile.am:5: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL autoreconf: automake failed with exit status: 1 Which whas already stopping me in compiling clutter SVN. I really dont get it, as: [EMAIL PROTECTED]:~$ grep AM_GLIB_GNU_GETTEXT /opt/local/share/aclocal/* /opt/local/share/aclocal/glib-gettext.m4:# using AM_GLIB_GNU_GETTEXT /opt/local/share/aclocal/glib-gettext.m4:# AM_GLIB_GNU_GETTEXT /opt/local/share/aclocal/glib-gettext.m4:AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) some packages version: [EMAIL PROTECTED]:~$ port installed | egrep "glib2|gettext|autoconf|automake" autoconf @2.62_0 (active) automake @1.10.1_0 (active) gettext @0.17_3 (active) glib2 @2.16.3_0+darwin_9 (active) p5-locale-gettext @1.05_0 (active) Autoconf M4 macros installed by glib2 in macports 10.5: /opt/local/share/aclocal/glib-2.0.m4 /opt/local/share/aclocal/glib-gettext.m4 by gettext: /opt/local/share/aclocal/codeset.m4 /opt/local/share/aclocal/gettext.m4 /opt/local/share/aclocal/glibc2.m4 /opt/local/share/aclocal/glibc21.m4 /opt/local/share/aclocal/iconv.m4 /opt/local/share/aclocal/intdiv0.m4 /opt/local/share/aclocal/intl.m4 /opt/local/share/aclocal/intldir.m4 /opt/local/share/aclocal/intlmacosx.m4 /opt/local/share/aclocal/intmax.m4 /opt/local/share/aclocal/inttypes-pri.m4 /opt/local/share/aclocal/inttypes_h.m4 /opt/local/share/aclocal/lcmessage.m4 /opt/local/share/aclocal/lib-ld.m4 /opt/local/share/aclocal/lib-link.m4 /opt/local/share/aclocal/lib-prefix.m4 /opt/local/share/aclocal/lock.m4 /opt/local/share/aclocal/longlong.m4 /opt/local/share/aclocal/nls.m4 /opt/local/share/aclocal/po.m4 /opt/local/share/aclocal/printf-posix.m4 /opt/local/share/aclocal/progtest.m4 /opt/local/share/aclocal/size_max.m4 /opt/local/share/aclocal/stdint_h.m4 /opt/local/share/aclocal/uintmax_t.m4 /opt/local/share/aclocal/visibility.m4 /opt/local/share/aclocal/wchar_t.m4 /opt/local/share/aclocal/wint_t.m4 /opt/local/share/aclocal/xsize.m4 Duh, think I can't give more information there ;-) -- Philippe Strauss http://philou.ch -- To unsubscribe send a mail to [EMAIL PROTECTED]
