Hello Rainer (and devs)
I think you only need to join the beta program (although I have the free developer account, just to be able to download xcode-related tools like the comand line tools).
I’ll summarise what I know so far about these issues:
-
When compiling, I get a lot of errors. These are related to creating html docs. As Glynn said, at this pint of compilation, the module is run with --html-description switch to get a list of its options. Any problems with wxpython will cause an error here.
-
Running make in the module directory show a call to libgrass_gis.7.0.1svn.dylib, but with the wrong path. It tries to load the library from the final package path (after installation), which doesn’t exists yet…
see the last lines of this output:
cd scripts/d.correlate/
GuanoAFBIOTA:d.correlate guano$ make
if [ “/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts/d.correlate” != “” ] ; then GISRC=/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/demolocation/.grassrc70 GISBASE=/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0 PATH=“/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/bin:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/bin:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts:$PATH” PYTHONPATH=“/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/etc/python:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/gui/wxpython:$PYTHONPATH” DYLD_LIBRARY_PATH=“/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/bin:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/lib:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/lib:” LC_ALL=C /Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts/d.correlate --html-description < /dev/null | grep -v ‘|’ > d.correlate.tmp.html ; fi
dyld: Library not loaded: /Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_gis.7.0.1svn.dylib
Referenced from: /Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/bin/g.parser
Reason: image not found
make: *** [d.correlate.tmp.html] Error 1
rm d.correlate.tmp.html
- Ignoring the error and creating the package will work, and the package will install, although when run, the GUI will fail:
from grass.pygrass import messages
Traceback (most recent call last):
File “”, line 1, in
File “/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/pygrass/messages/init.py”, line 19, in
import grass.lib.gis as libgis
File “/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/lib/gis.py”, line 23, in
_libs[“grass_gis.7.0.1RC2”] = load_library(“grass_gis.7.0.1RC2”)
File “/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/lib/ctypes_loader.py”, line 57, in load_library
raise ImportError,“%s not found.” % libname
ImportError: grass_gis.7.0.1RC2 not found.
cheers
Carlos
···
On Sun, Aug 2, 2015 at 7:51 AM, Rainer M Krug <r.m.krug@gmail.com> wrote:
Envoyé de mon iPhone
Le 31 juil. 2015 à 23:07, Carlos Grohmann <carlos.grohmann@gmail.com> a écrit :
Hi
The homebrew formula doesn’t really work on OSX 10.11 beta. In the log file (attached) I can see the same errors in compilation I got when tried to compile svn. They are related to html manual pages, but prevent installation from continue.
As I do not have 10.11 beta I can’t check it. But please let me (and osgeo4mac) know when you found a solution as I think it will also affect 6.4x and 7.0x versions.
Do I have to have a developer account with apple to have access to the beta?
Cheers
Rainer
Carlos
brew tap rkrug/head-only
==> Tapping rkrug/head-only
Cloning into ‘/usr/local/Library/Taps/rkrug/homebrew-head-only’…
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
Checking connectivity… done.
Tapped 1 formula (27 files, 116K)brew install grass-71
Error: rkrug/head-only/grass-71 is a head-only formula
Install withbrew install --HEAD rkrug/head-only/grass-71
brew install --HEAD rkrug/head-only/grass-71
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Installing grass-71 from rkrug/homebrew-head-only
Error: No available formula for nc_spm_08_grass7 (dependency of rkrug/head-only/grass-71)guano$ brew install --HEAD rkrug/head-only/grass-71 --without-nc_spm_08_grass7
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Installing grass-71 from rkrug/homebrew-head-only
==> Cloning https://svn.osgeo.org/grass/grass/trunk
Updating /Library/Caches/Homebrew/grass-71–svn-HEAD
==> Patching
patching file include/Make/Install.make
Hunk #1 succeeded at 116 (offset 2 lines).
==> ./configure --prefix=/usr/local/Cellar/grass-71/HEAD --enable-shared --with-
==> make GDAL_DYNAMIC=
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.Finished compilation: Fri Jul 31 17:36:12 BRT 2015
make: *** [default] Error 1READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/rkrug/homebrew-head-only/issuesWarning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
GuanoAFBIOTA:~ guano$<02.make>
–
On Fri, Jul 31, 2015 at 11:54 AM, Carlos Grohmann <carlos.grohmann@gmail.com> wrote:
Very interesting!
From the brew recipe, it looks that one needs all dependencies installed via homebrew, is that right? I’m thinking that most will have Kyngsburie’s Frameworks already installed (at least GDAL). Same goes for wx-python.
best
Carlos
–
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -
http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
Can’t stop the signal.
On Fri, Jul 31, 2015 at 5:44 AM, Rainer M Krug <Rainer@krugs.de> wrote:
Anna Petrášová <kratochanna@gmail.com> writes:
On Thu, Jul 30, 2015 at 6:38 AM, Rainer M Krug <Rainer@krugs.de> wrote:
Hi
I just added a section / new page in the WIKI for installation of GRASS
using homebrew. Please seehttp://grasswiki.osgeo.org/wiki/Compile_and_Install#Mac_OSX
and
http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew
It would be great if some Mac / homebrew users would see if it works and
give me comments here.I will try to test it next week. Thank you for your efforts!
Great - let me know how it goes, although I don’t know if I will be able
to reply as I am away and possibly only have very limited internet
access.Thanks,
Rainer
Anna
Cheers,
Rainer
–
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)Centre of Excellence for Invasion Biology
Stellenbosch University
South AfricaTel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44Fax (D): +49 - (0)3 21 21 25 22 44
email: Rainer@krugs.de
Skype: RMkrug
PGP: 0x0F52F982
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev–
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)Centre of Excellence for Invasion Biology
Stellenbosch University
South AfricaTel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44Fax (D): +49 - (0)3 21 21 25 22 44
email: Rainer@krugs.de
Skype: RMkrug
PGP: 0x0F52F982
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
–
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -
http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
Can’t stop the signal.
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -
http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
Can’t stop the signal.