[mesa-users] [patch] Make sure data directory exists

Rob.Farmer Rob.Farmer at open.ac.uk
Thu Jan 24 06:04:33 EST 2013


Hi Bill
After poking around i found the issue (entirely my own making). I'm using git rather than svn as a SCM, (git has the useful ability to "pretend" to be svn/cvs clients so i can be lazy and learn only 1 set of commands).
Unfortunately, it turns out that it doesn't track empty directories, which is why they where missing from the checkout. Other than these missing directories everything else installed fine
Patch should still be useful to stop this happening to anyone else regardless of their tools.

Rob
________________________________________
From: Bill Paxton [paxton at kitp.ucsb.edu]
Sent: 24 January 2013 02:15
To: Rob.Farmer
Cc: mesa-users at lists.sourceforge.net
Subject: Re: [mesa-users] [patch] Make sure data directory exists

Hi Rob,

If your checkout and installation of MESA happens properly, there is no need to patch things.
So I'm wondering if something went wrong in your install.  You might do a fresh checkout to see.
I'm concerned that if the necessary data directories were missing from your checkout,
then there are probably other things screwed up too.

-Bill




On Jan 23, 2013, at 3:19 PM, Rob.Farmer wrote:

>
> Hi
>
> Somehow, (not sure how) i ended up without the {eos,chem,colors,kap}/data directories that are used during building MESA, for dumping the output of the bzip's in.
> So here is a patch to fix that, it should apply against svn version 4740 with the command
>
> cd $MESA_SRC
> patch < 0001-Make-sure-tmp-build-directories-are-present.patch
>
> But if it doesn't or you cant see the attachment all it is, is adding
>
> mkdir -p data
>
> to
> chem/build_data_and_export
> colors/build_data_and_export
> eos/build_DTdata_and_export
> eos/build_PTdata_and_export
> eos/build_free-eosDT_data_and_export
> eos/build_free-eosPT_data_and_export
> eos/build_macdonald_DTdata_and_export
> eos/build_macdonald_PTdata_and_export
> kap/build_data_and_export
>
> before the "cd data" command
>
> Using mkdir -p means if people have the directory already present mkdir won't throw an error.
>
> Thanks
> Rob
>
> --
> The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
> <0001-Make-sure-tmp-build-directories-are-present.patch>------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users





More information about the Mesa-users mailing list