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 >>> > >>> 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 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 1 >>> >> >>> >> READ THIS: https://git.io/brew-troubleshooting >>> >> If reporting this issue please do so at (not Homebrew/homebrew): >>> >> https://github.com/rkrug/homebrew-head-only/issues >>> >> >>> >> 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. >>> >> GuanoAFBIOTA:~ guano$ >>> >> >>> >> >>> >> >>> >> >>> >> On Fri, Jul 31, 2015 at 11:54 AM, Carlos Grohmann < >>> >> carlos.grohm...@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 >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Fri, Jul 31, 2015 at 5:44 AM, Rainer M Krug <rai...@krugs.de> >>> wrote: >>> >>> >>> >>>> Anna Petrášová <kratocha...@gmail.com> writes: >>> >>>> >>> >>>> > On Thu, Jul 30, 2015 at 6:38 AM, Rainer M Krug <rai...@krugs.de> >>> >>>> wrote: >>> >>>> > >>> >>>> >> Hi >>> >>>> >> >>> >>>> >> I just added a section / new page in the WIKI for installation of >>> >>>> GRASS >>> >>>> >> using homebrew. Please see >>> >>>> >> >>> >>>> >> http://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 Africa >>> >>>> >> >>> >>>> >> Tel : +33 - (0)9 53 10 27 44 >>> >>>> >> Cell: +33 - (0)6 85 62 59 98 >>> >>>> >> Fax : +33 - (0)9 58 10 27 44 >>> >>>> >> >>> >>>> >> Fax (D): +49 - (0)3 21 21 25 22 44 >>> >>>> >> >>> >>>> >> email: rai...@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 Africa >>> >>>> >>> >>>> Tel : +33 - (0)9 53 10 27 44 >>> >>>> Cell: +33 - (0)6 85 62 59 98 >>> >>>> Fax : +33 - (0)9 58 10 27 44 >>> >>>> >>> >>>> Fax (D): +49 - (0)3 21 21 25 22 44 >>> >>>> >>> >>>> email: rai...@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. >>> >> >>> >> <02.make> >>> >> >>> >> >>> >>> -- >>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation >>> Biology, UCT), Dipl. Phys. (Germany) >>> >>> Centre of Excellence for Invasion Biology >>> Stellenbosch University >>> South Africa >>> >>> Tel : +33 - (0)9 53 10 27 44 >>> Cell: +33 - (0)6 85 62 59 98 >>> Fax : +33 - (0)9 58 10 27 44 >>> >>> Fax (D): +49 - (0)3 21 21 25 22 44 >>> >>> email: rai...@krugs.de >>> >>> Skype: RMkrug >>> >>> PGP: 0x0F52F982 >>> -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982
signature.asc
Description: PGP signature
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev