[GRASS-dev] makefile for Mac still not compiling wxpython GUI section automatically

Michael Barton Michael.Barton at asu.edu
Mon May 17 16:23:53 EDT 2010


Thanks Markus and William,

I think that 2 different things are happening.

1. Something is now causing wxpython NOT to compile automatically--perhaps in the wxpython makefile, perhaps something else.

2. Glynn is changing /lib/python and THAT is why this won't compile in GRASS 7. For this one, do I need just need to build ctypesgen?

Michael
____________________
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-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu










On May 17, 2010, at 12:04 PM, Markus Metz wrote:

> William Kyngesburye wrote:
>> The Mac makefile doesn't do any of the GRASS compilation, only the Mac startup compilation.  gui/wxpython is always compiled, regardless of the system.
>> 
>> Maybe wxpython now needs something from a folder that is compiled after it (visualization, locale, man, swig), so it's quietly skipped?
> 
> It's lib/python that needs to be fixed, see
> http://lists.osgeo.org/pipermail/grass-dev/2010-May/050502.html
> 
> Glynn is looking for alternatives to SWIG and currently trying ctypesgen.
> 
> Citing from
> http://lists.osgeo.org/pipermail/grass-dev/2010-May/050496.html
> 
> -->
> ctypesgen can be obtained via SVN:
> 
> svn checkout http://ctypesgen.googlecode.com/svn/trunk/ ctypesgen-read-only
> 
> or you can get a tarball from:
> 
> http://mirrors.kernel.org/gentoo/distfiles/ctypesgen-0_p72.tar.bz2
> 
> To build:
> 
> 	python setup.py build install
> 
> Although it's probably not as widespread as SWIG, it has the advantage
> that both ctypesgen itself and the wrappers which it generates are
> pure Python code, with no binary components.
> 
> I'm also going to look at ctypeslib:
> 
> 	http://pypi.python.org/pypi/ctypeslib/
> 
> I went with ctypesgen first as there's a supported Gentoo package for
> it.
> <--
> 
> Get ctypesgen, install it or put ctypesgen.py somewhere in your path,
> that should do the trick.
> 
>> 
>> On May 17, 2010, at 12:58 PM, Michael Barton wrote:
>> 
>>> The makefile for the Mac needs to be changed so that it compiles the wxpython folder automatically. Currently you must cd to the folder in order to compile this. It didn't used to be this way.
>>> 
>>> On 6.5 and 7.
>>> 
>>> Michael
>> 
>> -----
>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>> http://www.kyngchaos.com/
>> 
>> All generalizations are dangerous, even this one.
>> 
>> 
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>> 



More information about the grass-dev mailing list