[Mesa-users] ./mk suddenly failing
Rob Farmer
r.j.farmer at uva.nl
Wed Oct 16 16:47:55 EDT 2019
>It worked perfectly fine and I didn't re-install MESA at all. I just ran
./mk on a test_suite. Sometimes updates get pushed to my computer and I had
to reaccept the XCode terms so maybe that is it?
Maybe, did you try re-running:
open
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
As the notes on
http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Mac_OS_X mention
this must be re-ran whenever xcode is updated
Rob
On Wed, 16 Oct 2019 at 16:15, Jeremy Sakstein <sakstein at sas.upenn.edu>
wrote:
> Hi Rob,
>
> I am using r12115 with OS 10.14.6 build18G95.
>
> The MESA SDK version is x86_64-osx-10.14-20181104 (I got this from
> mesasdk_version.sh).
>
> It worked perfectly fine and I didn't re-install MESA at all. I just ran
> ./mk on a test_suite. Sometimes updates get pushed to my computer and I had
> to reaccept the XCode terms so maybe that is it?
>
> Cheers,
>
> Jeremy
>
>
>
> On Wed, Oct 16, 2019 at 4:00 PM Rob Farmer <r.j.farmer at uva.nl> wrote:
> >
> > Hi,
> >
> > Which OS (plus version) are you on? What mesa version? What MESASDK
> version? Did this combination of mesa/mesasdk/os work previously for you?
> >
> > Rob
> >
> > On Wed, 16 Oct 2019 at 12:29, Jeremy Sakstein <sakstein at sas.upenn.edu>
> wrote:
> >>
> >> Hi Everyone,
> >>
> >> So today I tried to compile an example in the test_suite and got the
> following error:
> >>
> >> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7
> -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan
> -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -ggdb -ffree-form -x
> f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c
> ../src/run_star_extras.f
> >>
> >> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7
> -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan
> -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -ggdb -ffree-form -x
> f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c
> ../../../../star/job/run_star.f
> >>
> >> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7
> -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan
> -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -ggdb -ffree-form -x
> f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c
> ../src/run.f
> >>
> >> gfortran -fopenmp -o ../star run_star_extras.o run_star.o run.o
> -L../../../../lib -lstar -lgyre -lionization -latm -lcolors -lnet -leos
> -lkap -lrates -lneu -lchem -linterp_2d -linterp_1d -lnum -lmtx -lconst
> -lutils -lf2crlibm -lcrlibm `mesasdk_lapack_link` `mesasdk_blas_link`
> `mesasdk_hdf5_link` `mesasdk_pgplot_link` -lz
> >>
> >> ld: library not found for -lz
> >>
> >> collect2: error: ld returned 1 exit status
> >>
> >> make: *** [star] Error 1
> >>
> >>
> >> I checked the SDK website and it suggested xcode and xquartz may not be
> installed so I reinstalled both but this is still not working. I also
> googled a bit and tried to set the LD library path and library path to
> /user/local/lib but this still doesn't work.
> >>
> >> Is anyone able to help me with this?
> >>
> >> Cheers,
> >>
> >> Jeremy
>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20191016/80e76984/attachment-0001.html>
More information about the Mesa-users
mailing list