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" ^ togl.c:1260:4: error: unknown type name 'TkWindow'; did you mean 'Tk_Window'? TkWindow *winPtr = (TkWindow *) togl->TkWin; ^~~~~~~~ Tk_Window /sw/include/tk.h:134:28: note: 'Tk_Window' declared here typedef struct Tk_Window_ *Tk_Window; ^ togl.c:1260:24: error: use of undeclared identifier 'TkWindow'; did you mean 'Tk_Window'? TkWindow *winPtr = (TkWindow *) togl->TkWin; ^ togl.c:1260:34: error: expected expression TkWindow *winPtr = (TkWindow *) togl->TkWin; ^ togl.c:1311:39: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union hPtr = Tcl_CreateHashEntry( &winPtr->dispPtr->winTable, ~~~~~~^ ~~~~~~~ /sw/include/tcl.h:2578:6: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^ togl.c:1311:39: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union hPtr = Tcl_CreateHashEntry( &winPtr->dispPtr->winTable, ~~~~~~^ ~~~~~~~ /sw/include/tcl.h:2578:30: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^ togl.c:1381:4: error: unknown type name 'TkWindow'; did you mean 'Tk_Window'? TkWindow *winPtr = (TkWindow *) togl->TkWin; ^~~~~~~~ Tk_Window /sw/include/tk.h:134:28: note: 'Tk_Window' declared here typedef struct Tk_Window_ *Tk_Window; ^ togl.c:1381:24: error: use of undeclared identifier 'TkWindow'; did you mean 'Tk_Window'? TkWindow *winPtr = (TkWindow *) togl->TkWin; ^ togl.c:1381:34: error: expected expression TkWindow *winPtr = (TkWindow *) togl->TkWin; ^ togl.c:1382:4: error: unknown type name 'TkWindow'; did you mean 'Tk_Window'? TkWindow *winPtr2; ^~~~~~~~ Tk_Window /sw/include/tk.h:134:28: note: 'Tk_Window' declared here typedef struct Tk_Window_ *Tk_Window; ^ togl.c:1412:14: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union if (winPtr->window != None) { ~~~~~~^ ~~~~~~ togl.c:1413:33: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union XDestroyWindow(dpy, winPtr->window); ~~~~~~^ ~~~~~~ togl.c:1414:13: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union winPtr->window = 0; ~~~~~~^ ~~~~~~ togl.c:1547:15: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union if ((winPtr->parentPtr == NULL) || (winPtr->flags & TK_TOP_LEVEL)) { ~~~~~~^ ~~~~~~~~~ togl.c:1547:46: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union if ((winPtr->parentPtr == NULL) || (winPtr->flags & TK_TOP_LEVEL)) { ~~~~~~^ ~~~~~ togl.c:1548:34: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union parent = XRootWindow(winPtr->display, winPtr->screenNum); ~~~~~~^ ~~~~~~~ togl.c:1551:17: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union if (winPtr->parentPtr->window == None) { ~~~~~~^ ~~~~~~~~~ togl.c:1552:47: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union Tk_MakeWindowExist((Tk_Window) winPtr->parentPtr); ~~~~~~^ ~~~~~~~~~ togl.c:1554:22: error: member reference base type 'Tk_Window' (aka 'struct Tk_Window_ *') is not a structure or union parent = winPtr->parentPtr->window; ~~~~~~^ ~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [togl.o] Error 2 make[2]: Leaving directory `/sw/src/fink.build/lablgl-x11-1.04-1/lablGL-1.04/Togl/src/Togl' make[1]: *** [Togl/togl.o] Error 2 make[1]: Leaving directory `/sw/src/fink.build/lablgl-x11-1.04-1/lablGL-1.04/Togl/src' make: *** [togl] Error 2 ### execution of /tmp/fink.ybf2v failed, exit code 2 ### execution of /tmp/fink.hCQH5 failed, exit code 2 Package manager version: 0.36.1 Distribution version: selfupdate-rsync Sun Dec 15 14:27:38 2013, 10.9, x86_64 Trees: local/main stable/main Xcode.app: 5.0.2 Xcode command-line tools: 5.0.1.0.1.1382131676 lablgl-x11-1.04-1 is set to build with only one job. and case sensitive file system. I have tcltk installed, but tkInt.h appears to live in /sw/include/tcltk-private/tk8.6/generic/tkInt.h Happy to supply more info if required... many thanks, -- Viv ________________________________________________ Dr Viv Kendon http://quantum.leeds.ac.uk/~viv tel: +44 113 343 4864 Physics and Astronomy Quantum Information Group University of Leeds ------------------------------------------------------------------------------ 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