[Dune] Missing libraries for Grape test?

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Sun Nov 11 15:23:26 CET 2012


Hi Dune,
is it just me or does the Grape test miss some libraries? Using the x64
version (nicely called opteron, how nostalgic), needed the following
changes to get Grape detected:

--- m4/grape.m4 (Revision 8640)
+++ m4/grape.m4 (Arbeitskopie)
@@ -65,7 +65,7 @@
     #   This is not the best choice, but testing without GL first and
     #   then trying again fails due to caching...
     CPPFLAGS="$GRAPE_CPPFLAGS $GL_CFLAGS -DENABLE_GRAPE"
-    LIBS="$LIBS $GL_LIBS -lXext"
+    LIBS="$LIBS $GL_LIBS -lXext -lX11 -ldl"
     LDFLAGS="$LDFLAGS $GL_LDFLAGS"
 
     # if we use the gnu linker add the grape path 

Can someone conform this? Probably there is a better way using some
other variables.

Greets
Christoph




More information about the Dune mailing list