[GRASS-dev] trying to compile GRASS 7 on Mavericks
Michael.Barton at asu.edu
Tue Dec 3 19:23:53 PST 2013
I got as far as the help screen earlier, but now I cannot even get that far. Here is the error:
Traceback (most recent call last):
File "/Applications/grasstest/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gis_set.py", line 36, in <module>
from core import globalvar
File "/Applications/grasstest/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/globalvar.py", line 87, in <module>
File "/Applications/grasstest/GRASS-7.0.app/Contents/MacOS/etc/python/wx/__init__.py", line 45, in <module>
from wx._core import *
File "/Applications/grasstest/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py", line 4, in <module>
ImportError: /Applications/grasstest/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
Error in GUI startup. If necessary, please report this error to the GRASS developers.
I'm using wxPython 2.9 cocoa so that I CAN run in 64bit mode. And I did get it to start a few hours ago. But it won't launch now.
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
On Dec 3, 2013, at 5:53 PM, Helena Mitasova <hmitaso at ncsu.edu> wrote:
> can you please share your configure file that you are using?
> thanks, Helena
> Helena Mitasova
> Associate Professor
> Department of Marine, Earth, and Atmospheric Sciences
> 2800 Faucette Drive, Rm. 1125 Jordan Hall
> North Carolina State University
> Raleigh, NC 27695-8208
> hmitaso at ncsu.edu
> "All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties.”
> On Dec 3, 2013, at 7:12 PM, Michael Barton wrote:
>> I got it to compile fine using GDAL 1.10. But the GUI still crashes on startup due to problems in the xml toolbox.
>> C. Michael Barton
>> Director, Center for Social Dynamics & Complexity
>> Professor of Anthropology, School of Human Evolution & Social Change
>> Arizona State University
>> Tempe, AZ 85287-2402
>> 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
>> fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
>> http://csdc.asu.edu, http://shesc.asu.edu
>> On Dec 3, 2013, at 12:43 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
>>> Hi all,
>>> I am still having problems to compile GRASS on Maverick, it cannot find GDAL, I already reinstalled the frameworks and Xcode, too. I tried to compile the simple code which seems to be compiled during configure:
>>> #include <gdal.h>
>>> int main(int argc, const char* argv)
>>> GDALOpen("foo", GA_ReadOnly);
>>> which gives me:
>>> gis-imac:Desktop akratoc$ gcc test.c
>>> test.c:14:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
>>> GDALOpen("foo", GA_ReadOnly);
>>> ^~~~~~~~ ~~~~~~~~~~~~~~~~~~
>>> 1 warning generated.
>>> Undefined symbols for architecture x86_64:
>>> "_GDALOpen", referenced from:
>>> _main in test-sew0gz.o
>>> ld: symbol(s) not found for architecture x86_64
>>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>>> I am having the same problem also on another computer. Any help appreciated.
>>> On Fri, Nov 29, 2013 at 3:27 PM, Markus Neteler <neteler at osgeo.org> wrote:
>>> On Fri, Nov 29, 2013 at 9:02 PM, Michael Barton <Michael.Barton at asu.edu> wrote:
>>>> I've been chilling out after Thanksgiving and thought I'd try compiling
>>>> GRASS on Mavericks.
>>>> I had a couple of configure issues.
>>>> --with-odbc failed. Is this not included with Mavericks or do I need to
>>>> reference it in some other way?
>>>> --with nls also failed. I wonder if I have to update the version of gettext
>>>> that I compiled on Lion?
>>>> When I dropped these out, I got it to compile. But it errors out with the
>>>> Undefined symbols for architecture x86_64:
>>>> "___sincos_stret", referenced from:
>>> I found these "random" links:
>>> Perhaps giving the right idea..
>>> grass-dev mailing list
>>> grass-dev at lists.osgeo.org
More information about the grass-dev