[Mesa-users] make: *** No targets specified and no makefile found

Warrick Ball W.H.Ball at bham.ac.uk
Mon Nov 16 07:56:04 EST 2020


Hi Benard,

First, what version of the SDK are you using, and is it the current version when r9793 was released (20170802)?

     http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk-old#linux-download

Your `$PATH` looks fine but you've got gfortran 4.9.4, whereas I get 5.4.0 with SDK 20170802.

Second, have you tried regenerating the headers, as suggested in the FAQ?

     http://mesa.sourceforge.net/faq.html#why-do-i-get-the-error-c-compiler-cannot-create-executables

I'm not sure if this advice applies to that SDK though.

Cheers,
Warrick

____________

Warrick Ball
Postdoc, School of Physics and Astronomy
University of Birmingham, Edgbaston, Birmingham B15 2TT
W.H.Ball at bham.ac.uk
+44 (0)121 414 4552


On Mon, 16 Nov 2020, mesa-users at lists.mesastar.org wrote:

> Hello Mesa Users,
> 
> I am trying to install an older version of mesa (r9793) so that I
> reproduce some results. However, I'm having the error below
> 
> checking for C compiler default output file name...
> configure: error: in `/afs/mpa/temp/nsamba/mesa-r9793/crlibm/crlibm':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make: *** [../makefile_crlibm:15: build] Error 77
> make: *** No targets specified and no makefile found.  Stop.
> 
> /afs/mpa/temp/nsamba/mesa-r9793/crlibm/crlibm
> ./build_and_test FAILED
> 
> 
> /afs/mpa/temp/nsamba/mesa-r9793/crlibm
> ./build_and_test FAILED
> 
> 
> 
> I have done ./clean a couple of times before ./install but no success. I
> have checked a number of things and all seems to be ok
> 
> echo $MESASDK_ROOT/
> /afs/mpa/temp/nsamba/mesasdk/
> 
> gfortran -v
> Using built-in specs.
> COLLECT_GCC=/afs/mpa/temp/nsamba/mesasdk/bin/gfortran.exec
> COLLECT_LTO_WRAPPER=/afs/mpa/temp/nsamba/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/4.9.4/lto-wrapper
> Target: x86_64-pc-linux-gnu
> Configured with: /root/mesasdk-src/gcc/configure CC=gcc
> --build=x86_64-pc-linux-gnu --prefix=/root/mesasdk
> --with-gmp=/root/mesasdk --with-mpfr=/root/mesasdk
> --with-mpc=/root/mesasdk --enable-languages=c,c++,fortran
> --disable-multilib --disable-nls --disable-libsanitizer
> --enable-clocale=generic
> Thread model: posix
> gcc version 4.9.4 20150827 (prerelease) (GCC)
> 
> echo $PATH
> /afs/mpa/temp/nsamba/mesasdk/bin:/afs/mpa/temp/nsamba/mesasdk/bin:/afs/mpa/temp/nsamba/mesasdk/bin:/afs/mpa/temp/nsamba/mesasdk/bin:/opt/kde-5.18
> .5_11.20/bin:/usr/bin:/opt/texlive-2017/bin/x86_64-linux:/usr/afsws/bin:/usr/local/bin:/usr/common/bin:/usr/X11/bin:/usr/bin:/bin:/usr/local/bin
> 32:.
> 
> 
> Am not sure what I am missing, how best can I fix this issue?
> 
> Many thanks.
> 
> Cheers,
> Benard
> 
> 
>


More information about the Mesa-users mailing list