Personal tools
You are here: Home Forum Install & build configure GUI on Mandrake 10.1

configure GUI on Mandrake 10.1

Up to Install & build
  • configure GUI on Mandrake 10.1

    Posted by Todd Martin at April 17. 2007

    I've got a strange problem configuring the GUI module with VTK.

    testing VTK

    configure: checking for VTK...
    checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
    checking vtkPlane.h usability... yes
    checking vtkPlane.h presence... yes
    checking for vtkPlane.h... yes
    checking linking VTK library... no
    configure: WARNING: unable to link with vtk library
    for VTK: no


    I set VTKHOME=/usr/local and installed VTK in the following directores

    While the configuration finds the C header files ok, it doesn't seem to want to link with the shared object libraries. The error arises from the condition in the following configure script file. Can anyone shed some light on this?

         cat >conftest.$ac_ext <<_ACEOF
    /* confdefs.h.  */
    cat confdefs.h >>conftest.$ac_ext
    cat >>conftest.$ac_ext <<_ACEOF
    /* end confdefs.h.  */
    #include "vtkPlane.h"
    main ()
      return 0;
    rm -f conftest.$ac_objext conftest$ac_exeext
    if { (eval echo "$as_me:$LINENO: \"$ac_link\"";) >&5
      (eval $ac_link) 2>conftest.er1
      grep -v '^ *+' conftest.er1 >conftest.err
      rm -f conftest.er1
      cat conftest.err >&5
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); } &&
         { ac_try='test -z "$ac_cxx_werror_flag"
                 || test ! -s conftest.err'
      { (eval echo "$as_me:$LINENO: \"$ac_try\"";) >&5
      (eval $ac_try) 2>&5
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }; } &&
         { ac_try='test -s conftest$ac_exeext'
      { (eval echo "$as_me:$LINENO: \"$ac_try\"";) >&5
      (eval $ac_try) 2>&5
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }; }; then
      echo "$as_me: failed program was:" >&5
    sed 's/^/| /' conftest.$ac_ext >&5


    • Re: configure GUI on Mandrake 10.1

      Posted by Todd Martin at April 18. 2007
      Forget that. Problem solved.
      I had forgotten to add /usr/lib/vtk to the LD_LIBRARY_PATH
      Too many variables, too little time.

Powered by Ploneboard
Document Actions