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

Markus Metz markus.metz.giswork at googlemail.com
Mon May 17 15:04:11 EDT 2010


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