On 02/20/2015 01:25 PM, Johannes Ring wrote:
So yes, the opengl headers are missing.
Johannes
Hmm. I'm still struggling with this... Maybe one of you know what is the
problem now:
1) I had problems with dolfin - GCC was too old with centos 6.6:
-- dolfin --
[dolfin] Building dolfin/qosrpuzdfk6s, follow log with:
[dolfin] tail -f /home/laptop/.hashdist/tmp/dolfin-qosrpuzdfk6s/build.log
[dolfin|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned
non-zero exit status 1
[dolfin|ERROR] command failed (code=1); raising
2015/02/23 12:05:57 - INFO: [package:run_job] CMake Error at
CMakeLists.txt:25 (message):
2015/02/23 12:05:57 - INFO: [package:run_job] GCC version must be at
least 4.6 (for sufficient C++11 support. You have
2015/02/23 12:05:57 - INFO: [package:run_job] version 4.4.7
-- dolfin --
I therefore googled and found out how to get gcc 4.8.2, so this is what
I did:
[as root]
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O
/etc/yum.repos.d/devtools-2.repo
yum install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++
ln -s /opt/rh/devtoolset-2/root/usr/bin/* /usr/local/bin/
[as non-root]
hash -r
gcc --version
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
Now I have problems with urllib:
-------------------
The following build types are supported:
[0] development version of FEniCS [default]
[1] latest stable version of FEniCS, currently 1.5
[2] only dependencies, including e.g. MPI, PETSc, Swig, Boost
Please select build type [0, 1, 2]:
1
Using HashDist profile
/tmp/fenics-install.4SXs6Z/fenics-developer-tools/install/profiles/fenics.Linux.yaml.
Stable build requested.
Starting build...
Directory ba created.
Directory bld created.
Directory src created.
Directory db created.
Directory cache created.
Directory gcroots created.
Default configuration file /home/laptop/.hashdist/config.yaml written.
/tmp/fenics-install.4SXs6Z/hashdist/hashdist/formats/marked_yaml.py:72:
DeprecationWarning: object.__init__() takes no parameters
cls.__init__(self, x)
Downloading
http://releases.nixos.org/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2...
[=========================] 100.0% (0.1MB of 0.1MB) 0.767MB/s ETA 0s
[patchelf] Building patchelf/k3rloj265ogt, follow log with:
[patchelf] tail -f
/home/laptop/.hashdist/tmp/patchelf-k3rloj265ogt/build.log
Downloading https://github.com/xianyi/OpenBLAS/archive/v0.2.13.tar.gz...
[=========================] 100.0% (9.4MB of 9.4MB) 0.398MB/s ETA 0s 11s
[blas] Building blas/gdnhmas4n27e, follow log with:
[blas] tail -f /home/laptop/.hashdist/tmp/blas-gdnhmas4n27e/build.log
Downloading http://ftp.heanet.ie/mirrors/gnu/gdbm/gdbm-1.11.tar.gz...
[=========================] 100.0% (0.8MB of 0.8MB) 0.793MB/s ETA 0s
[gdbm] Building gdbm/xqni5hcjx43a, follow log with:
[gdbm] tail -f /home/laptop/.hashdist/tmp/gdbm-xqni5hcjx43a/build.log
Downloading
https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2...
[_/*ERROR*/_] urllib failed to download (reason: [Errno 101] Network is
unreachable):
https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2
Downloading
https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2...
[=========================] 100.0% (1.4MB of 1.4MB) 1.639MB/s ETA 0s
[pcre] Building pcre/2dpe5reczy3r, follow log with:
[pcre] tail -f /home/laptop/.hashdist/tmp/pcre-2dpe5reczy3r/build.log
Downloading http://bzip.org/1.0.6/bzip2-1.0.6.tar.gz...
[=========================] 100.0% (0.7MB of 0.7MB) 1.503MB/s ETA 0s
[bzip2] Building bzip2/yhn7t7sdxdfd, follow log with:
[bzip2] tail -f /home/laptop/.hashdist/tmp/bzip2-yhn7t7sdxdfd/build.log
Downloading http://www.cmake.org/files/v3.2/cmake-3.2.0-rc1.tar.gz...
[=========================] 100.0% (6.1MB of 6.1MB) 0.541MB/s ETA 0s
[cmake] Building cmake/nanfm6dw2fzx, follow log with:
[cmake] tail -f /home/laptop/.hashdist/tmp/cmake-nanfm6dw2fzx/build.log
Downloading http://bitbucket.org/eigen/eigen/get/3.2.1.tar.bz2...
[=========================] 100.0% (1.1MB of 1.1MB) 0.166MB/s ETA 0s
[eigen] Building eigen/aoytfcoxhttj, follow log with:
[eigen] tail -f /home/laptop/.hashdist/tmp/eigen-aoytfcoxhttj/build.log
Downloading http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.bz2...
[=========================] 100.0% (1.4MB of 1.4MB) 0.354MB/s ETA 0s
[m4] Building m4/44k2kvxu365p, follow log with:
[m4] tail -f /home/laptop/.hashdist/tmp/m4-44k2kvxu365p/build.log
[lapack] Building lapack/zzrggbkqot7x, follow log with:
[lapack] tail -f /home/laptop/.hashdist/tmp/lapack-zzrggbkqot7x/build.log
Downloading http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz...
[=========================] 100.0% (2.7MB of 2.7MB) 0.331MB/s ETA 0s
[ncurses] Building ncurses/viognkgus4nj, follow log with:
[ncurses] tail -f
/home/laptop/.hashdist/tmp/ncurses-viognkgus4nj/build.log
Downloading http://download.zeromq.org/zeromq-3.2.4.tar.gz...
[=========================] 100.0% (2.0MB of 2.0MB) 1.243MB/s ETA 0s
[zmq] Building zmq/ezabxw2ecth4, follow log with:
[zmq] tail -f /home/laptop/.hashdist/tmp/zmq-ezabxw2ecth4/build.log
[openblas] Building openblas/2m4j6oz5vldj, follow log with:
[openblas] tail -f
/home/laptop/.hashdist/tmp/openblas-2m4j6oz5vldj/build.log
Downloading
http://downloads.sourceforge.net/project/flex/flex-2.5.39.tar.bz2...
[=========================] 100.0% (1.5MB of 1.5MB) 2.004MB/s ETA 0s
[flex] Building flex/eeduf457bgf4, follow log with:
[flex] tail -f /home/laptop/.hashdist/tmp/flex-eeduf457bgf4/build.log
Downloading http://www.mpich.org/static/tarballs/3.0.3/mpich-3.0.3.tar.gz...
[=========================] 100.0% (10.5MB of 10.5MB) 0.437MB/s ETA 0s
[mpi] Building mpi/hbd47qrzmwye, follow log with:
[mpi] tail -f /home/laptop/.hashdist/tmp/mpi-hbd47qrzmwye/build.log
Downloading http://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz...
[=========================] 100.0% (2.2MB of 2.2MB) 0.396MB/s ETA 0s
[readline] Building readline/5tdfuoei3z6e, follow log with:
[readline] tail -f
/home/laptop/.hashdist/tmp/readline-5tdfuoei3z6e/build.log
Downloading https://sqlite.org/2013/sqlite-autoconf-3071700.tar.gz...
[=========================] 100.0% (1.8MB of 1.8MB) 0.339MB/s ETA 0s
[sqlite] Building sqlite/m5jo67qgu6zf, follow log with:
[sqlite] tail -f /home/laptop/.hashdist/tmp/sqlite-m5jo67qgu6zf/build.log
Downloading
http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src/szip-2.1.tar.gz...
[=========================] 100.0% (0.4MB of 0.4MB) 0.324MB/s ETA 0s
[szip] Building szip/em7uejvxazrn, follow log with:
[szip] tail -f /home/laptop/.hashdist/tmp/szip-em7uejvxazrn/build.log
Downloading
http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz...
[=========================] 100.0% (5.3MB of 5.3MB) 0.365MB/s ETA 0s 10s
[parmetis] Building parmetis/swux5owl6onc, follow log with:
[parmetis] tail -f
/home/laptop/.hashdist/tmp/parmetis-swux5owl6onc/build.log
[superlu_dist] Building superlu_dist/dkkgllj66sqt, follow log with:
[superlu_dist] tail -f
/home/laptop/.hashdist/tmp/superlu_dist-dkkgllj66sqt/build.log
Downloading
http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.0.2.tar.gz...
[=========================] 100.0% (21.4MB of 21.4MB) 0.409MB/s ETA 0s 2s
[suitesparse] Building suitesparse/wfhr2dth3mfb, follow log with:
[suitesparse] tail -f
/home/laptop/.hashdist/tmp/suitesparse-wfhr2dth3mfb/build.log
Downloading http://mirrors.kernel.org/gnu/gmp/gmp-5.1.3.tar.bz2...
[=========================] 100.0% (2.1MB of 2.1MB) 0.194MB/s ETA 0s 13s
[gmp] Building gmp/vadkrj43wtyr, follow log with:
[gmp] tail -f /home/laptop/.hashdist/tmp/gmp-vadkrj43wtyr/build.log
[launcher] Building launcher/wvmh5uvayzv3, follow log with:
[launcher] tail -f
/home/laptop/.hashdist/tmp/launcher-wvmh5uvayzv3/build.log
Downloading
http://downloads.sourceforge.net/project/libpng/zlib/1.2.7/zlib-1.2.7.tar.bz2...
[=========================] 100.0% (0.5MB of 0.5MB) 1.835MB/s ETA 0s
[zlib] Building zlib/3el5ccejre7b, follow log with:
[zlib] tail -f /home/laptop/.hashdist/tmp/zlib-3el5ccejre7b/build.log
Downloading http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz...
[=========================] 100.0% (4.9MB of 4.9MB) 1.746MB/s ETA 0s
[libxml2] Building libxml2/rnluwaluut6h, follow log with:
[libxml2] tail -f
/home/laptop/.hashdist/tmp/libxml2-rnluwaluut6h/build.log
Downloading http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz...
[=========================] 100.0% (2.0MB of 2.0MB) 0.199MB/s ETA 0s
[libtiff] Building libtiff/pignbw7m5fpk, follow log with:
[libtiff] tail -f
/home/laptop/.hashdist/tmp/libtiff-pignbw7m5fpk/build.log
Downloading
http://download.savannah.gnu.org/releases/freetype/freetype-2.4.11.tar.gz...
[=========================] 100.0% (2.0MB of 2.0MB) 1.696MB/s ETA 0s
[freetype] Building freetype/3j5vs5xri633, follow log with:
[freetype] tail -f
/home/laptop/.hashdist/tmp/freetype-3j5vs5xri633/build.log
Downloading
http://sourceforge.net/projects/libpng/files/libpng16/older-releases/1.6.6/libpng-1.6.6.tar.gz...
[=========================] 100.0% (1.2MB of 1.2MB) 1.393MB/s ETA 0s
[png] Building png/q24b4y6ojqdw, follow log with:
[png] tail -f /home/laptop/.hashdist/tmp/png-q24b4y6ojqdw/build.log
Downloading
http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.13/src/hdf5-1.8.13.tar.bz2...
[=========================] 100.0% (9.1MB of 9.1MB) 0.370MB/s ETA 0s 13s
[hdf5] Building hdf5/htbi7zgabkmm, follow log with:
[hdf5] tail -f /home/laptop/.hashdist/tmp/hdf5-htbi7zgabkmm/build.log
Downloading http://ftp.gnu.org/gnu/bison/bison-3.0.tar.gz...
[=========================] 100.0% (3.1MB of 3.1MB) 0.439MB/s ETA 0s
[bison] Building bison/jri2642x26uh, follow log with:
[bison] tail -f /home/laptop/.hashdist/tmp/bison-jri2642x26uh/build.log
Downloading
http://fenicsproject.org/pub/software/contrib/scotch_6.0.0_esmumps.tar.gz...
[=========================] 100.0% (4.3MB of 4.3MB) 2.749MB/s ETA 0s
[scotch] Building scotch/vyqtwuifsjry, follow log with:
[scotch] tail -f /home/laptop/.hashdist/tmp/scotch-vyqtwuifsjry/build.log
Downloading http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2...
[_/*ERROR*/_] urllib failed to download (reason: [Errno -3] Temporary
failure in name resolution):
http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2
Downloading http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2...
[_/*ERROR*/_] urllib failed to download (reason: [Errno -3] Temporary
failure in name resolution):
http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2
Downloading http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2...
[_/*ERROR*/_] urllib failed to download (reason: [Errno -3] Temporary
failure in name resolution):
http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2
[_/*CRITICAL*/_] You may wish to check your Internet connection or the
remote server
-------------------
I appreciate any ideas / advice - thanks!
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support