[mesa-users] ./mk Does Not Complie

Aaron Dotter aaron.dotter at gmail.com
Fri Sep 23 12:23:06 EDT 2016


You very likely need to set the MESA_DIR environment variable.  You are
probably trying to compile in mesa/star/work, right?

The makefile within includes the following:

include $(MESA_DIR)/star/work_standard_makefile

If you haven't set MESA_DIR, then it will be empty, '', and you get that
error message.

You can check what it is set to, or if it is set, with the command

printenv MESA_DIR

Rich provides info on how to set environment variables in general, and have
them set automatically when you start a new terminal here:

http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Installation


Aaron

On Fri, Sep 23, 2016 at 12:15 PM, Joanne Hsueh <jhsueh at andrew.cmu.edu>
wrote:

> To Whomever it May Concern,
>
>  I use a Linux operating system; more specifically Ubuntu 16.04 LTS. The
> version of Mesasdk I am using is mesasdk-x86_64-linux-20160129 and the
> version of MESA I am using is Version Release 8845. I also have installed
> all the prerequisites listed on the website.
>
> I have run into an error when I try running the ./mk function. I checked
> the files in my mesa/star folder and have found the work_standard_makefile.
> I posted the output of the ./mk function below. Please advise on how I
> can fix this.
>
> Thank you,
> Joanne Hsueh
>
>
> ~/mesa/star/work$ ./mk
> makefile:1: /star/work_standard_makefile: No such file or directory
> make: *** No rule to make target '/star/work_standard_makefile'.  Stop.
>
> FAILED
>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20160923/066683a4/attachment.html>


More information about the Mesa-users mailing list