[GRASS-user] 7.0.0 Mac OS X Install Notes

William Kyngesburye woklist at kyngchaos.com
Mon Feb 23 06:39:39 PST 2015


Note that permissions cleanup should not be a postflight operation except where something may be installed in the postflight step.  But GRASS is an oddball, since the package is generated dynamically.  Normally when I do a package (frameworks, QGIS, ...), I set the owner/permissions as I want on the files, then create the package from that with the Packagemaker GUI, the installer sets the permissions as set there.

The GRASS installer package is created from make (and yes, you do need to redo the whole package because of that), so something went wrong there.  Maybe make is not creating the GRASS folder (in the source) with the correct permissions now when generating the package

I suggest you start putting GRASS directly in the applications folder, not a subfolder.  People expect applications to do this, and you won't clash with any GRASS 7 I make because I don't ;)  Configure the prefix to be just /Applications.

On Feb 22, 2015, at 10:01 PM, Jeshua Lacock <jeshua at 3DTOPO.com> wrote:

> 
>> On Feb 22, 2015, at 8:50 PM, Michael Barton <Michael.Barton at asu.edu> wrote:
>> 
>> I don't know why Jeshua wrote to you since I maintain the wikidot site.
> 
> Hi Michael,
> 
> To be clear, I didn’t write to William, I wrote to the list to which he replied.
> 
>> As for the other issues, I'll respond
>> 
>> 1. There IS a link to the Kyngchaos frameworks page in the menu on the right side that shows up on every page. On that frameworks page, it is clearly stated that PROJ and UnixImageIO are a part of the GDAL Complete package
>> 
>> 2. AFAIK, the order of installing the main frameworks packages makes no difference. The ones for which order matters are included in GDAL Complete. If I am wrong here, please let me know and I will put a note on the site.
> 
> On the main download page it does not state anything about installation order. I did not install GDAL first. Then I got several other errors. If it happened to me, I can only assume it will happen to others.
> 
> I am just throwing out a couple super simple steps that might make ones experience more pleasant - or with the permissions issue keep them from being able to use it at all.
> 
>> 3. No one has ever reported this permissions issue so far. I don't know what is causing it in this case (unless it is new for 7.0 stable).  AFAIK, the only permissions issue is the need to have a writeable director called "bin" inside the GRASS folder if you are installing extensions. This is a weird quirk of the extensions build system on the Mac. If there is a new permissions issue for 7.0 stable, it needs to be reported. But I have built it in exactly the same way as I've built all other builds recently.
> 
> It has actually happened with the betas for me I just neglected to report it. As it is, the package leaves a folder that the user will not have permission to access. This should not be a difficult thing to reproduce or fix. I would suspect that the folder is owned by root because root permissions are required to install, and you likely just need to clean up the permissions as I suggested.
> 
> Good news is your package can be fixed without even rebuilding the package - just take a look at the postflight script.
> 
> 
> Best,
> 
> Jeshua Lacock
> Founder/Engineer
> 3DTOPO Incorporated
> <http://3DTOPO.com>
> Phone: 208.462.4171
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy




More information about the grass-user mailing list