[GRASS-dev] OSX 10.10 Yosemite + Homebrew - Summary

Carlos Grohmann carlos.grohmann at gmail.com
Sat Aug 8 08:02:09 PDT 2015


Hi Anna

I think you can use other wx version with homebrew but I'm not sure, I used
3.0 because homebrew installed it and I didn't knew of the issues you
commented.
As for the error you are getting, maybe it is because you are using a
non-homebrew wx?

HTH

Carlos

On Fri, Aug 7, 2015 at 3:48 PM, Anna Petrášová <kratochanna at gmail.com>
wrote:

>
>
> On Wed, Aug 5, 2015 at 10:33 AM, Carlos Grohmann <
> carlos.grohmann at gmail.com> wrote:
>
>> OK, this is a summary of what works and what doesn't work when installing
>> GRASS 7.1svn through homebrew on OSC 10.10 Yosemite (still need to test
>> these on El Capitan 10.11).
>>
>>
>> 1) libLAS: although properly installed by homebrew, it's not found by
>> ./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.
>>
>> 2) so give up of liblas for now. The spearfish sample location also won't
>> work, so install with:
>> > brew install --HEAD rkrug/head-only/grass-71  --with-openblas
>> --without-nc_spm_08_grass7
>>
>> 3) after installation, add these to .bash_profile:
>>
>> export LC_ALL=en_US.UTF-8
>> export LANG=en_US.UTF-8
>> export PYTHONPATH=`brew --prefix`/lib/python2.7/site-packages:`brew
>> --prefix`/lib/python2.7/site-packages/wx-3.0-osx_cocoa
>> :$PYTHONPATH
>>
>>
>> And it works!
>>
>
> Hi Carlos and Rainer,
>
> I am testing it now and the installation goes well, but I can't launch it
> because it doesn't find wx. So I exported the PYTHONPATH as you did and
> then I am getting:
>
> Cleaning up temporary files...
> Starting GRASS GIS...
> This program needs access to the screen.
> Please run with a Framework build of python, and only when you are
> logged in on the main display of your Mac.
> Error in GUI startup. If necessary, please report this error to the GRASS
> developers.
> Switching to text mode now.
>
> Does anyone know what does it mean?
>
> BTW, is there a way we could use wxPython 2.8 (32bit) instead of 3?
> Version 3 is not working very well on Mac yet, I tried to fix couple of
> things in GRASS, but there are some bugs in the library itself.
>
> Thank you,
>
> Anna
>
>
>> 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.
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150808/f51cfde8/attachment.html>


More information about the grass-dev mailing list