[Mesa-users] Issue with MESA installation
Sudhanva Lalit
sudsid at gmail.com
Fri Sep 7 16:50:09 EDT 2018
I tried the installation of MESA (mesasdk-x86_64-linux-20180822.tar.gz
<http://www.astro.wisc.edu/~townsend/resource/download/mesasdk/mesasdk-x86_64-linux-20180822.tar.gz>)
on ubuntu 18.04, 64 bit. When I tried to source the init, using the command
given on the website, namely,
source $MESASDK_ROOT/bin/mesasdk_init.sh
I got an error saying that I need to install the prerequisites. However,
they're already installed in my laptop. I am sharing the text of the things
I did below. Please help.
$ source $MESASDK_ROOT/bin/mesasdk_init.sh
mesasdk_init.sh: checking prerequisites
mesasdk_init.sh: missing prerequisites:
Z library X11 library
Please visit
http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Prerequisites
and review the prerequisites required for use of the MESA SDK
etc$ sudo apt-get install zlib1g zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g is already the newest version (1:1.2.11.dfsg-0ubuntu2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
etc$ sudo apt-get install libx11-6 libx11-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libx11-6 is already the newest version (2:1.6.4-3ubuntu0.1).
libx11-dev is already the newest version (2:1.6.4-3ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
Here is additional stuff asked on FAQs:
$ uname -a
Linux sudhanva-pc 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux
$ gfortran -v
Reading specs from
/home/sudhanva/anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.2.0/specs
Reading specs from
/home/sudhanva/anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.2.0/specs
COLLECT_GCC=/home/sudhanva/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran.bin
COLLECT_LTO_WRAPPER=/home/sudhanva/anaconda3/bin/../libexec/gcc/x86_64-conda_cos6-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-conda_cos6-linux-gnu
Configured with:
/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/.build/src/gcc-7.2.0/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=x86_64-conda_cos6-linux-gnu
--prefix=/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/gcc_built
--with-sysroot=/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/gcc_built/x86_64-conda_cos6-linux-gnu/sysroot
--enable-languages=c,c++,fortran,objc,obj-c++
--with-pkgversion='crosstool-NG fa8859cb' --enable-__cxa_atexit
--disable-libmudflap --enable-libgomp --disable-libssp --enable-libquadmath
--enable-libquadmath-support --enable-libsanitizer --enable-libmpx
--with-gmp=/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/.build/x86_64-conda_cos6-linux-gnu/buildtools
--with-mpfr=/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/.build/x86_64-conda_cos6-linux-gnu/buildtools
--with-mpc=/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/.build/x86_64-conda_cos6-linux-gnu/buildtools
--with-isl=/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/.build/x86_64-conda_cos6-linux-gnu/buildtools
--enable-lto --enable-threads=posix --enable-target-optspace
--enable-plugin --enable-gold --disable-nls --disable-multilib
--with-local-prefix=/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/gcc_built/x86_64-conda_cos6-linux-gnu/sysroot
--enable-long-long --enable-default-pie
Thread model: posix
gcc version 7.2.0 (crosstool-NG fa8859cb)
$ echo $MESASDK_ROOT
/home/sudhanva/mesasdk
$ echo $PATH
/home/sudhanva/anaconda3/bin:~/anaconda/bin:/home/sudhanva/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Sudhanva.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180907/a0e11a44/attachment.html>
More information about the Mesa-users
mailing list