On 12/16/2013 4:55 PM, Viv Kendon wrote:
Apologies if this has already been reported. Doesn't seem to be a maintainer to Cc, not Cc'ing fink-devel as I'm not subscribed.cd Togl && make togl.o CC="ocamlc.opt -verbose" CFLAGS='-c -ccopt "-c -O -I../../src -ITogl -I/sw/include -I. -I/usr/X11R6/include "' make[2]: Entering directory `/sw/src/fink.build/lablgl-x11-1.04-1/lablGL-1.04/Togl/src/Togl' ocamlc.opt -verbose -c -ccopt "-c -O -I../../src -ITogl -I/sw/include -I. -I/usr/X11R6/include " togl.c + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -c -O -I../../src -ITogl -I/sw/include -I. -I/usr/X11R6/include -I'/sw/lib/ocaml' 'togl.c' clang: warning: argument unused during compilation: '-fno-defer-pop' togl.c:162:2: error: "Sorry, you will have to edit togl.c to include the right tkInt.h file" #error "Sorry, you will have to edit togl.c to include the right tkInt.h file" ^
Can you try the attached lablgl.info for both lablgl and lablgl-x11 ? It bumps to the latest 1.05 (our current 1.04 version is from 2008). Hopefully it knows how to deal with the tk used on 10.9.
Hanspeter
Info2: << Package: lablgl%type_pkg[-x11] Version: 1.05 Revision: 1 Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-%v.tar.gz Source-MD5: b64662bf47f2973f836d33ae1365244f SourceDirectory: lablGL-%v DocFiles: CHANGES README COPYRIGHT License: BSD Description: OpenGL binding for Objective Caml Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html Maintainer: None <fink-de...@lists.sourceforge.net> Type: -x11 (boolean) DescDetail: << LablGL is an OpenGL interface for Objective Caml. It includes support for both Togl widget and GLUT, which you can comfortably use with LablTk and LablGlut. Specific support for LablGL is also included in LablGTK. Two variants, lablgl and lablgl-x11, are supported. Please see DescPort for details. << DescPort: << Two variants of lablgl are supplied here, lablgl and lablgl-x11. Native lablgl is linked against Mac OS X OpenGL and GLUT frameworks, which is aqua-based, but compiles without tcltk support; lablgl-x11 uses GL facility provided by x11 and a glut library based on xlib and supports tcl/tk GL wrapper widget. << DescPackaging: << The patch file consists of Makefile.config that allows the CompileScript to adjust compilation flags to the appropriate variant, and to allow installation to DESTDIR. << BuildDepends: << ocaml (>= 4.01-1), (%type_raw[-x11] = -x11) x11-dev, (%type_raw[-x11] = -x11) tcltk-dev, (%type_raw[-x11] = -x11) libgl, (%type_raw[-x11] = -x11) freeglut << Depends: << ocaml (>= 3.05-1), (%type_raw[-x11] = .) macosx, (%type_raw[-x11] = -x11) x11, (%type_raw[-x11] = -x11) tcltk, (%type_raw[-x11] = -x11) libgl, (%type_raw[-x11] = -x11) freeglut-shlibs << Provides: (%type_raw[-x11] = -x11) lablgl-togl Replaces: (%type_raw[-x11] = -x11) lablgl, (%type_raw[-x11] = .) lablgl-x11 Conflicts: (%type_raw[-x11] = -x11) lablgl, (%type_raw[-x11] = .) lablgl-x11 PatchFile: lablgl.patch PatchFile-MD5: f9172f4c0aee19c720f42b4aa090169b PatchScript: patch -p1 < %{PatchFile} UseMaxBuildJobs: false CompileScript: << #!/bin/sh -ev if [ "%type_raw[-x11]" == "-x11" ]; then make \ PREFIX=%p \ XINCLUDES="-I/usr/X11R6/include" \ XLIBS="-L/usr/X11R6/lib -lXext -lXmu -lX11" \ TKINCLUDES="-I%p/include" \ TKLIBS="-L%p/lib -L/usr/X11R6/lib -lGL -lXmu" \ GLLIBS="-lGL -lGLU" \ GLUTLIBS="-L%p/lib -lfreeglut" \ all opt else make \ PREFIX=%p \ GLLIBS="-framework OpenGL" \ GLUTLIBS="-framework GLUT" \ lib glut libopt glutopt fi << InstallScript: << #!/bin/sh -ev mkdir -p %i/lib/ocaml/stublibs make install PREFIX=%p DESTDIR=%d << <<
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ 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