Re: [GRASS-dev] OSX 10.11 Compiling
OK - I tried the installation of grass 70 from osgeo4mac and it has the same error. I have reported it on their website (see https://github.com/OSGeo/homebrew-osgeo4mac/issues/102) So it is not a 7.1 issue. Cheers, Rainer Rainer M Krug rai...@krugs.de writes: Carlos Grohmann carlos.grohm...@gmail.com writes: Hi I never installed OS X on a virtual machine, can't help much there.. (I'm using yosemite as primary machine and El Capitan on a secondary one) OK - I will see how it goes. Maybe a second HDD is the easiest option. While we are here, I tried the homebrew tap for 7.1svn on a Yosemite machine and it didn't worked. Could you give me the options you used for , | brew install --HEAD grass-71 ` so that I can check? because on Travis-ci the default installation is installing without errors - I am trying it just now at https://travis-ci.org/rkrug/homebrew-experimental First I tried to install with libLas, add although it installed libels correctly, it can't find the library when running GRASS'configure :== ./configure --prefix=/usr/local/Cellar/grass-71/HEAD --enable-shared --with- checking for gdal-config... /usr/local/opt/gdal/bin/gdal-config rm: conftest.dSYM: is a directory checking whether to use libLAS... yes checking for liblas-config... /usr/local/opt/liblas/bin/liblas-config configure: error: *** Unable to locate libLAS library. Then I tried with libels and it went OK, but when I run: Serenity:~ guano$ /usr/local/bin/grass71 Traceback (most recent call last): File /usr/local/bin/grass71, line 54, in module ENCODING = locale.getdefaultlocale()[1] File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 511, in getdefaultlocale return _parse_localename(localename) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 443, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: UTF-8 Serenity:~ guano$ I have everything (including python) in homebrew and I can install it, although I have not tested any additional options. I just added two more test cases / envelopes on travis-ci (--with-liblas and --with-openblas) to test this and they are running at the moment ... You can see them at https://travis-ci.org/rkrug/homebrew-experimental/builds/74242734 And the --with-liblas fails there as well. OK. I added the -v for the v=compile to get a better picture ... https://travis-ci.org/rkrug/homebrew-experimental/builds/74248159 same errors. I found the following: grass70 not detecting latest source build of libLAS (1.7.0) https://trac.osgeo.org/grass/ticket/2065 And the only reference I see is that liblas newer than 1.7 is installed, but homebrew installs 1.8 - so this is not the problem. OK - I think I narrowed it down: it seems that the problem is gdal. I will open another subject with this. Cheers, Rainer any ideas? thanks Carlos On Tue, Aug 4, 2015 at 10:52 AM, Rainer M Krug rai...@krugs.de wrote: Carlos Grohmann carlos.grohm...@gmail.com writes: 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). Thanks - I registered for the beta program an I am downloading El Capitan at the moment. Can you give any pointers how I can install it in Virtual Box as I do not want to interfere with my production machine and do prefer the flexibility of a virtual machine. I'll take a look at the errors when I have it installed - which might be in two weeks time as I will be on holiday next week. Thanks, Rainer 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
Re: [GRASS-dev] OSX 10.11 Compiling
Thanks to Glenn, this should be working now: --8---cut here---start-8--- brew install -build-from-source liblas brew install --with-liblas HEAD grass-71 --8---cut here---end---8--- I also updated the wiki at --8---cut here---start-8--- http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew#How_to_install_GRASS_GIS_7.1_SVN_Head --8---cut here---end---8--- Cheers, Rainer Rainer M Krug rai...@krugs.de writes: OK - I tried the installation of grass 70 from osgeo4mac and it has the same error. I have reported it on their website (see https://github.com/OSGeo/homebrew-osgeo4mac/issues/102) So it is not a 7.1 issue. Cheers, Rainer Rainer M Krug rai...@krugs.de writes: Carlos Grohmann carlos.grohm...@gmail.com writes: Hi I never installed OS X on a virtual machine, can't help much there.. (I'm using yosemite as primary machine and El Capitan on a secondary one) OK - I will see how it goes. Maybe a second HDD is the easiest option. While we are here, I tried the homebrew tap for 7.1svn on a Yosemite machine and it didn't worked. Could you give me the options you used for , | brew install --HEAD grass-71 ` so that I can check? because on Travis-ci the default installation is installing without errors - I am trying it just now at https://travis-ci.org/rkrug/homebrew-experimental First I tried to install with libLas, add although it installed libels correctly, it can't find the library when running GRASS'configure :== ./configure --prefix=/usr/local/Cellar/grass-71/HEAD --enable-shared --with- checking for gdal-config... /usr/local/opt/gdal/bin/gdal-config rm: conftest.dSYM: is a directory checking whether to use libLAS... yes checking for liblas-config... /usr/local/opt/liblas/bin/liblas-config configure: error: *** Unable to locate libLAS library. Then I tried with libels and it went OK, but when I run: Serenity:~ guano$ /usr/local/bin/grass71 Traceback (most recent call last): File /usr/local/bin/grass71, line 54, in module ENCODING = locale.getdefaultlocale()[1] File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 511, in getdefaultlocale return _parse_localename(localename) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 443, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: UTF-8 Serenity:~ guano$ I have everything (including python) in homebrew and I can install it, although I have not tested any additional options. I just added two more test cases / envelopes on travis-ci (--with-liblas and --with-openblas) to test this and they are running at the moment ... You can see them at https://travis-ci.org/rkrug/homebrew-experimental/builds/74242734 And the --with-liblas fails there as well. OK. I added the -v for the v=compile to get a better picture ... https://travis-ci.org/rkrug/homebrew-experimental/builds/74248159 same errors. I found the following: grass70 not detecting latest source build of libLAS (1.7.0) https://trac.osgeo.org/grass/ticket/2065 And the only reference I see is that liblas newer than 1.7 is installed, but homebrew installs 1.8 - so this is not the problem. OK - I think I narrowed it down: it seems that the problem is gdal. I will open another subject with this. Cheers, Rainer any ideas? thanks Carlos On Tue, Aug 4, 2015 at 10:52 AM, Rainer M Krug rai...@krugs.de wrote: Carlos Grohmann carlos.grohm...@gmail.com writes: 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). Thanks - I registered for the beta program an I am downloading El Capitan at the moment. Can you give any pointers how I can install it in Virtual Box as I do not want to interfere with my production machine and do prefer the flexibility of a virtual machine. I'll take a look at the errors when I have it installed - which might be in two weeks time as I will be on holiday next week. Thanks, Rainer 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/
Re: [GRASS-dev] OSX 10.11 Compiling
Yes, worked fine now. thanks Carlos On Thu, Aug 6, 2015 at 10:49 AM, Rainer M Krug rai...@krugs.de wrote: Thanks to Glenn, this should be working now: --8---cut here---start-8--- brew install -build-from-source liblas brew install --with-liblas HEAD grass-71 --8---cut here---end---8--- I also updated the wiki at --8---cut here---start-8--- http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew#How_to_install_GRASS_GIS_7.1_SVN_Head --8---cut here---end---8--- Cheers, Rainer Rainer M Krug rai...@krugs.de writes: OK - I tried the installation of grass 70 from osgeo4mac and it has the same error. I have reported it on their website (see https://github.com/OSGeo/homebrew-osgeo4mac/issues/102) So it is not a 7.1 issue. Cheers, Rainer Rainer M Krug rai...@krugs.de writes: Carlos Grohmann carlos.grohm...@gmail.com writes: Hi I never installed OS X on a virtual machine, can't help much there.. (I'm using yosemite as primary machine and El Capitan on a secondary one) OK - I will see how it goes. Maybe a second HDD is the easiest option. While we are here, I tried the homebrew tap for 7.1svn on a Yosemite machine and it didn't worked. Could you give me the options you used for , | brew install --HEAD grass-71 ` so that I can check? because on Travis-ci the default installation is installing without errors - I am trying it just now at https://travis-ci.org/rkrug/homebrew-experimental First I tried to install with libLas, add although it installed libels correctly, it can't find the library when running GRASS'configure :== ./configure --prefix=/usr/local/Cellar/grass-71/HEAD --enable-shared --with- checking for gdal-config... /usr/local/opt/gdal/bin/gdal-config rm: conftest.dSYM: is a directory checking whether to use libLAS... yes checking for liblas-config... /usr/local/opt/liblas/bin/liblas-config configure: error: *** Unable to locate libLAS library. Then I tried with libels and it went OK, but when I run: Serenity:~ guano$ /usr/local/bin/grass71 Traceback (most recent call last): File /usr/local/bin/grass71, line 54, in module ENCODING = locale.getdefaultlocale()[1] File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 511, in getdefaultlocale return _parse_localename(localename) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 443, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: UTF-8 Serenity:~ guano$ I have everything (including python) in homebrew and I can install it, although I have not tested any additional options. I just added two more test cases / envelopes on travis-ci (--with-liblas and --with-openblas) to test this and they are running at the moment ... You can see them at https://travis-ci.org/rkrug/homebrew-experimental/builds/74242734 And the --with-liblas fails there as well. OK. I added the -v for the v=compile to get a better picture ... https://travis-ci.org/rkrug/homebrew-experimental/builds/74248159 same errors. I found the following: grass70 not detecting latest source build of libLAS (1.7.0) https://trac.osgeo.org/grass/ticket/2065 And the only reference I see is that liblas newer than 1.7 is installed, but homebrew installs 1.8 - so this is not the problem. OK - I think I narrowed it down: it seems that the problem is gdal. I will open another subject with this. Cheers, Rainer any ideas? thanks Carlos On Tue, Aug 4, 2015 at 10:52 AM, Rainer M Krug rai...@krugs.de wrote: Carlos Grohmann carlos.grohm...@gmail.com writes: 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). Thanks - I registered for the beta program an I am downloading El Capitan at the moment. Can you give any pointers how I can install it in Virtual Box as I do not want to interfere with my production machine and do prefer the flexibility of a virtual machine. I'll take a look at the errors when I have it installed - which might be in two weeks time as I will be on holiday next week. Thanks, Rainer 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. -
Re: [GRASS-dev] OSX 10.11 Compiling
Carlos Grohmann carlos.grohm...@gmail.com writes: Yes, worked fine now. Great Rainer thanks Carlos On Thu, Aug 6, 2015 at 10:49 AM, Rainer M Krug rai...@krugs.de wrote: Thanks to Glenn, this should be working now: --8---cut here---start-8--- brew install -build-from-source liblas brew install --with-liblas HEAD grass-71 --8---cut here---end---8--- I also updated the wiki at --8---cut here---start-8--- http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew#How_to_install_GRASS_GIS_7.1_SVN_Head --8---cut here---end---8--- Cheers, Rainer Rainer M Krug rai...@krugs.de writes: OK - I tried the installation of grass 70 from osgeo4mac and it has the same error. I have reported it on their website (see https://github.com/OSGeo/homebrew-osgeo4mac/issues/102) So it is not a 7.1 issue. Cheers, Rainer Rainer M Krug rai...@krugs.de writes: Carlos Grohmann carlos.grohm...@gmail.com writes: Hi I never installed OS X on a virtual machine, can't help much there.. (I'm using yosemite as primary machine and El Capitan on a secondary one) OK - I will see how it goes. Maybe a second HDD is the easiest option. While we are here, I tried the homebrew tap for 7.1svn on a Yosemite machine and it didn't worked. Could you give me the options you used for , | brew install --HEAD grass-71 ` so that I can check? because on Travis-ci the default installation is installing without errors - I am trying it just now at https://travis-ci.org/rkrug/homebrew-experimental First I tried to install with libLas, add although it installed libels correctly, it can't find the library when running GRASS'configure :== ./configure --prefix=/usr/local/Cellar/grass-71/HEAD --enable-shared --with- checking for gdal-config... /usr/local/opt/gdal/bin/gdal-config rm: conftest.dSYM: is a directory checking whether to use libLAS... yes checking for liblas-config... /usr/local/opt/liblas/bin/liblas-config configure: error: *** Unable to locate libLAS library. Then I tried with libels and it went OK, but when I run: Serenity:~ guano$ /usr/local/bin/grass71 Traceback (most recent call last): File /usr/local/bin/grass71, line 54, in module ENCODING = locale.getdefaultlocale()[1] File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 511, in getdefaultlocale return _parse_localename(localename) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 443, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: UTF-8 Serenity:~ guano$ I have everything (including python) in homebrew and I can install it, although I have not tested any additional options. I just added two more test cases / envelopes on travis-ci (--with-liblas and --with-openblas) to test this and they are running at the moment ... You can see them at https://travis-ci.org/rkrug/homebrew-experimental/builds/74242734 And the --with-liblas fails there as well. OK. I added the -v for the v=compile to get a better picture ... https://travis-ci.org/rkrug/homebrew-experimental/builds/74248159 same errors. I found the following: grass70 not detecting latest source build of libLAS (1.7.0) https://trac.osgeo.org/grass/ticket/2065 And the only reference I see is that liblas newer than 1.7 is installed, but homebrew installs 1.8 - so this is not the problem. OK - I think I narrowed it down: it seems that the problem is gdal. I will open another subject with this. Cheers, Rainer any ideas? thanks Carlos On Tue, Aug 4, 2015 at 10:52 AM, Rainer M Krug rai...@krugs.de wrote: Carlos Grohmann carlos.grohm...@gmail.com writes: 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). Thanks - I registered for the beta program an I am downloading El Capitan at the moment. Can you give any pointers how I can install it in Virtual Box as I do not want to interfere with my production machine and do prefer the flexibility of a virtual machine. I'll take a look at the errors when I have it installed - which might be in two weeks time as I will be on holiday next week. Thanks, Rainer 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
Re: [GRASS-dev] OSX 10.11 Compiling
Hi I never installed OS X on a virtual machine, can't help much there.. (I'm using yosemite as primary machine and El Capitan on a secondary one) While we are here, I tried the homebrew tap for 7.1svn on a Yosemite machine and it didn't worked. First I tried to install with libLas, add although it installed libels correctly, it can't find the library when running GRASS'configure :== ./configure --prefix=/usr/local/Cellar/grass-71/HEAD --enable-shared --with- checking for gdal-config... /usr/local/opt/gdal/bin/gdal-config rm: conftest.dSYM: is a directory checking whether to use libLAS... yes checking for liblas-config... /usr/local/opt/liblas/bin/liblas-config configure: error: *** Unable to locate libLAS library. Then I tried with libels and it went OK, but when I run: Serenity:~ guano$ /usr/local/bin/grass71 Traceback (most recent call last): File /usr/local/bin/grass71, line 54, in module ENCODING = locale.getdefaultlocale()[1] File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 511, in getdefaultlocale return _parse_localename(localename) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 443, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: UTF-8 Serenity:~ guano$ any ideas? thanks Carlos On Tue, Aug 4, 2015 at 10:52 AM, Rainer M Krug rai...@krugs.de wrote: Carlos Grohmann carlos.grohm...@gmail.com writes: 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). Thanks - I registered for the beta program an I am downloading El Capitan at the moment. Can you give any pointers how I can install it in Virtual Box as I do not want to interfere with my production machine and do prefer the flexibility of a virtual machine. I'll take a look at the errors when I have it installed - which might be in two weeks time as I will be on holiday next week. Thanks, Rainer 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 '/body\|/html' 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 stdin, line 1, in module File /Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/pygrass/messages/__init__.py, line 19, in module import grass.lib.gis as libgis File /Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/lib/gis.py, line 23, in module
Re: [GRASS-dev] OSX 10.11 Compiling
Continuing.. Adding export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 to my .bash_profile fixed the initial problem. Then it can't find wxpython, even though it installed it: Serenity:~ guano$ brew install wxpython Warning: wxpython-3.0.2.0 already installed So, I had to add some stuff to my PYTHONPATH. The usual advised of including /usr/local/lib/python2.7/site-packages didn't worked, I had to include /usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa as well, since the wx.pth file is not read by python (see https://github.com/Homebrew/homebrew/issues/30844) So I add: export PYTHONPATH=`brew --prefix`/lib/python2.7/site-packages:`brew --prefix`/lib/python2.7/site-packages/wx-3.0-osx_cocoa :$PYTHONPATH And now it works! (except for liblas. still need to figure out why it couldn't find it at) best Carlos On Wed, Aug 5, 2015 at 9:31 AM, Carlos Grohmann carlos.grohm...@gmail.com wrote: Hi I never installed OS X on a virtual machine, can't help much there.. (I'm using yosemite as primary machine and El Capitan on a secondary one) While we are here, I tried the homebrew tap for 7.1svn on a Yosemite machine and it didn't worked. First I tried to install with libLas, add although it installed libels correctly, it can't find the library when running GRASS'configure :== ./configure --prefix=/usr/local/Cellar/grass-71/HEAD --enable-shared --with- checking for gdal-config... /usr/local/opt/gdal/bin/gdal-config rm: conftest.dSYM: is a directory checking whether to use libLAS... yes checking for liblas-config... /usr/local/opt/liblas/bin/liblas-config configure: error: *** Unable to locate libLAS library. Then I tried with libels and it went OK, but when I run: Serenity:~ guano$ /usr/local/bin/grass71 Traceback (most recent call last): File /usr/local/bin/grass71, line 54, in module ENCODING = locale.getdefaultlocale()[1] File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 511, in getdefaultlocale return _parse_localename(localename) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 443, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: UTF-8 Serenity:~ guano$ any ideas? thanks Carlos On Tue, Aug 4, 2015 at 10:52 AM, Rainer M Krug rai...@krugs.de wrote: Carlos Grohmann carlos.grohm...@gmail.com writes: 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). Thanks - I registered for the beta program an I am downloading El Capitan at the moment. Can you give any pointers how I can install it in Virtual Box as I do not want to interfere with my production machine and do prefer the flexibility of a virtual machine. I'll take a look at the errors when I have it installed - which might be in two weeks time as I will be on holiday next week. Thanks, Rainer 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
Re: [GRASS-dev] OSX 10.11 Compiling
Carlos Grohmann carlos.grohm...@gmail.com writes: Hi I never installed OS X on a virtual machine, can't help much there.. (I'm using yosemite as primary machine and El Capitan on a secondary one) OK - I will see how it goes. Maybe a second HDD is the easiest option. While we are here, I tried the homebrew tap for 7.1svn on a Yosemite machine and it didn't worked. Could you give me the options you used for , | brew install --HEAD grass-71 ` so that I can check? because on Travis-ci the default installation is installing without errors - I am trying it just now at --8---cut here---start-8--- https://travis-ci.org/rkrug/homebrew-experimental --8---cut here---end---8--- First I tried to install with libLas, add although it installed libels correctly, it can't find the library when running GRASS'configure :== ./configure --prefix=/usr/local/Cellar/grass-71/HEAD --enable-shared --with- checking for gdal-config... /usr/local/opt/gdal/bin/gdal-config rm: conftest.dSYM: is a directory checking whether to use libLAS... yes checking for liblas-config... /usr/local/opt/liblas/bin/liblas-config configure: error: *** Unable to locate libLAS library. Then I tried with libels and it went OK, but when I run: Serenity:~ guano$ /usr/local/bin/grass71 Traceback (most recent call last): File /usr/local/bin/grass71, line 54, in module ENCODING = locale.getdefaultlocale()[1] File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 511, in getdefaultlocale return _parse_localename(localename) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py, line 443, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: UTF-8 Serenity:~ guano$ I have everything (including python) in homebrew and I can install it, although I have not tested any additional options. I just added two more test cases / envelopes on travis-ci (--with-liblas and --with-openblas) to test this and they are running at the moment ... You can see them at --8---cut here---start-8--- https://travis-ci.org/rkrug/homebrew-experimental/builds/74242734 --8---cut here---end---8--- And the --with-liblas fails there as well. OK. I added the -v for the v=compile to get a better picture ... --8---cut here---start-8--- https://travis-ci.org/rkrug/homebrew-experimental/builds/74248159 --8---cut here---end---8--- same errors. I found the following: grass70 not detecting latest source build of libLAS (1.7.0) --8---cut here---start-8--- https://trac.osgeo.org/grass/ticket/2065 --8---cut here---end---8--- And the only reference I see is that liblas newer than 1.7 is installed, but homebrew installs 1.8 - so this is not the problem. OK - I think I narrowed it down: it seems that the problem is gdal. I will open another subject with this. Cheers, Rainer any ideas? thanks Carlos On Tue, Aug 4, 2015 at 10:52 AM, Rainer M Krug rai...@krugs.de wrote: Carlos Grohmann carlos.grohm...@gmail.com writes: 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). Thanks - I registered for the beta program an I am downloading El Capitan at the moment. Can you give any pointers how I can install it in Virtual Box as I do not want to interfere with my production machine and do prefer the flexibility of a virtual machine. I'll take a look at the errors when I have it installed - which might be in two weeks time as I will be on holiday next week. Thanks, Rainer 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
Re: [GRASS-dev] OSX 10.11 Compiling
Carlos Grohmann carlos.grohm...@gmail.com writes: 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). Thanks - I registered for the beta program an I am downloading El Capitan at the moment. Can you give any pointers how I can install it in Virtual Box as I do not want to interfere with my production machine and do prefer the flexibility of a virtual machine. I'll take a look at the errors when I have it installed - which might be in two weeks time as I will be on holiday next week. Thanks, Rainer 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 '/body\|/html' 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 stdin, line 1, in module File /Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/pygrass/messages/__init__.py, line 19, in module import grass.lib.gis as libgis File /Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/lib/gis.py, line 23, in module _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.k...@gmail.com wrote: Envoyé de mon iPhone Le 31 juil. 2015 à 23:07, Carlos Grohmann carlos.grohm...@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 with `brew install --HEAD rkrug/head-only/grass-71` brew install --HEAD