Thank you Daniel. I solved the problem by purging gtkglarea2 and all guile* packages and reinstalling them.
On 24 Sep 2015, at 06:21, Daniel Macks <dma...@netspace.org> wrote: > On Wed, 23 Sep 2015 12:41:26 +0000, Adam Mazur <adam.ma...@unibas.ch> wrote: > Hello all, >> >> I have a problem installing coot package on OSX 10.9. Any idea? > > As you rightly noticed in the Subject line, it's actually guile18-gtk that is > the problem (you don't seem to be actually to the point of dealing with coot > yet). >> gcc -DHAVE_CONFIG_H -I. -I.. -I.. >> -I/struct/soft/osx/fink-10.9/include/glib-2.0 >> -I/struct/soft/osx/fink-10.9/lib/glib-2.0/include >> -I/struct/soft/osx/fink-10.9/include/gtkgl-2.0 >> -I/struct/soft/osx/fink-10.9/include/gtk-2.0 >> -I/struct/soft/osx/fink-10.9/lib/gtk-2.0/include >> -I/struct/soft/osx/fink-10.9/include/gtk-2.0 >> -I/struct/soft/osx/fink-10.9/include/pango-1.0 >> -I/struct/soft/osx/fink-10.9/include/atk-1.0 >> -I/struct/soft/osx/fink-10.9/include/cairo >> -I/struct/soft/osx/fink-10.9/include/pango-1.0 >> -I/struct/soft/osx/fink-10.9/include/freetype2 >> -I/struct/soft/osx/fink-10.9/include -I/opt/X11/include >> -I/struct/soft/osx/fink-10.9/include -I/struct/soft/osx/fink-10.9/include >> -D_THREAD_SAFE -MD -I/struct/soft/osx/fink-10.9/include -g -O2 >> -I/struct/soft/osx/fink-10.9/include/glib-2.0 >> -I/struct/soft/osx/fink-10.9/lib/glib-2.0/include >> -I/struct/soft/osx/fink-10.9/include/gtk-2.0 >> -I/struct/soft/osx/fink-10.9/lib/gtk-2.0/include >> -I/struct/soft/osx/fink-10.9/include/gtk-2.0 -I/struct/soft/osx/fin k-10.9/include/pango-1.0 -I/struct/soft/osx/fink-10.9/include/atk-1.0 -I/struct/soft/osx/fink-10.9/include/cairo -I/struct/soft/osx/fink-10.9/include/pango-1.0 -I/struct/soft/osx/fink-10.9/include/freetype2 -I/struct/soft/osx/fink-10.9/include -I/opt/X11/include -c gdk-gl-glue.c -fno-common -DPIC -o .libs/gdk-gl-glue.o >> gdk-gl-glue.c:86:21: error: use of undeclared identifier 'gdk_gl_context_ref' >> (void *(*)(void*))gdk_gl_context_ref, >> ^ >> gdk-gl-glue.c:87:20: error: use of undeclared identifier >> 'gdk_gl_context_unref' >> (void (*)(void*))gdk_gl_context_unref, >> ^ >> gdk-gl-glue.c:103:21: error: use of undeclared identifier 'gdk_gl_pixmap_ref' >> (void *(*)(void*))gdk_gl_pixmap_ref, >> ^ >> gdk-gl-glue.c:104:20: error: use of undeclared identifier >> 'gdk_gl_pixmap_unref' >> (void (*)(void*))gdk_gl_pixmap_unref, >> ^ > > It built for me just now on 10.10. > Those are macros supplied by gtkglarea2. They are deprecated in the 2.0.1 > version we have in fink, but are still visible by default. The macros can be > hidden by setting GTKGL_DISABLE_DEPRECATED, which fink does not set but some > other vendor might (or a new version of that lib or some other package might > hide them). Have you manually altered that package in your local fink, or > have it or other gtk-related libraries installed elsewhere in addition to > fink? > > But also, guile18-gtk-2.1-19 (as opposed to -18) includes a patch that > upgrades gdk-gl-glue.c to use the modern equivalents of those deprecated > functions. Wonder why your package is getting as far as compiling that source > file without the patch seeming to be applied... > dan > > -- > Daniel Macks > dma...@netspace.org > ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users