Koen van der Drift wrote: > Thanks everyone for the suggestions. > > So I do have both header files on my system (in /usr/X11/include/GL/), > and also have /usr/X11/bin/xmkmf > I tried various combinationsof the flags you suggested, with > ConfigureParams and/org SetCPPFLAGS. But still get the same error. Th > package uses cmake
This is a crucial information we hadn't before. In this case, ConfigureParams are completely useless; no configure script is executed. Unfortunatley, cmake is, when it does not work, much more opaque and difficult to debug than autotools-based build systems. It is a mixture of text-based scripts and compiled C++ code, unlike configure and libtool which are shell scripts. You could try something like what I have in the vtk-py package. In relation to X11 and GL, there are the following cmake flags: -DOPENGL_gl_LIBRARY:STRING="-L/usr/X11R6/lib -lGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" \ -DOPENGL_glu_LIBRARY:STRING="-L/usr/X11R6/lib -lGLU" \ -DOPENGL_INCLUDE_DIR:PATH="/usr/X11R6/include" \ -DOPENGL_xmesa_INCLUDE_DIR:PATH=/usr/X11R6/include But you would have to look at your package to see which similar flags it will recognize. It will probably first have to be taught to look for X11 in addition to Qt. -- Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel