> On Sep 24, 2015, at 15:32, William G. Scott <wgsc...@ucsc.edu> wrote: > > > >> On Sep 23, 2015, at 9:21 PM, 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/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 -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 >> > > I can’t reproduce the problem on 10.9 or 10.10, even if I set > GTKGL_DISABLE_DEPRECATED to try to simulate the suggested problem. > > sudo apt-get update; sudo apt-get install coot > > should circumvent the problem at least. > > Bill > > > > > > William G. Scott > Director, Program in Biochemistry and Molecular Biology > Professor, Department of Chemistry and Biochemistry > and The Center for the Molecular Biology of RNA > University of California at Santa Cruz > Santa Cruz, California 95064 > USA > > > > >
Using the binary distribution (apt-get) won’t work if Adam isn’t using the default Fink base path: his looks to be /struct/soft/osx/fink-10.9. Unless there’s an unofficial binary distribution which builds everything there so that he can use it. My recommendation would be to look for third-party headers and libraries in /usr/local, since those will be brought into the build without having to specify flags to the compiler commands. If so, then rename /usr/local temporarily while doing the build. -- Alexander Hansen, Ph.D. Fink User Liaison
------------------------------------------------------------------------------
_______________________________________________ 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