> On 20 Feb 2015, at 11:46 , Martin <[email protected]> wrote: > > On 02/19/2015 09:54 PM, Terje Kvernes wrote >> On RHEL7 hashstack / fenics-install.sh works very well. I use my own profile >> to build nearly everything possible to make the installation very >> self-contained and it’s very smooth. > > Hello Terje, > > Thanks for your input. I'm on Centos 6.6 and although the install script > looks like it works really well, unfortunately it seemed like it almost > completed but something is not completely right... > > [ … ] > [=========================] 100.0% (23.7MB of 23.7MB) 0.335MB/s ETA 0s 0s > [vtk] Building vtk/zh4ul3mzm3c5, follow log with: > [vtk] tail -f /home/laptop/.hashdist/tmp/vtk-zh4ul3mzm3c5/build.log > [vtk|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero > exit status 1 > [vtk|ERROR] command failed (code=1); raising > ----------------- > > > I've looked into the > /home/laptop/.hashdist/tmp/vtk-zh4ul3mzm3c5/_build/CMakeFiles/CMakeError.log > file: > > At least one problem seems to be this: > ----- > /laptop/.hashdist/bld/python/orrcxy7cg2hd/lib > -L/home/laptop/.hashdist/bld/setuptools/pmldlh6jt5iy/lib > -Wl,-rpath=/home/laptop/.hashdist/bld/setuptools/pmldlh6jt5iy/lib > CMakeFiles/cmTryCompileExec972611203.dir/CheckFunctionExists.c.o -o > cmTryCompileExec972611203 -rdynamic -lpthread -lm > CMakeFiles/cmTryCompileExec972611203.dir/CheckFunctionExists.c.o: In function > `main': > CheckFunctionExists.c:(.text+0x15): undefined reference to > `glXGetProcAddressARB' > collect2: ld returned 1 exit status > gmake[1]: Leaving directory > `/home/laptop/.hashdist/tmp/vtk-zh4ul3mzm3c5/_build/CMakeFiles/CMakeTmp' > gmake[1]: *** [cmTryCompileExec972611203] Error 1 > gmake: *** [cmTryCompileExec972611203/fast] Error 2 > ——
Interesting. VTK doesn’t seem to pass -lGL to the linker, but expects glXGetProcAddressARB to be available? That seems to be a bug, unless you’re missing openGL development packages on your machine and the configure messed up. Do you have the appropriate packages (maybe mesa-*-devel?) installed? -- Terje Kvernes Head sysadmin Department of Mathematics University of Oslo _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
