Trying to compile release 6.4 branch today, and it fails creating menudata.py because the PYTHONPATH is not defined to find grass.script. I see a r49620 from a while back that fixes this (dev6 branch compiles without this error) - maybe this should be backported to release 6.4?
http://trac.osgeo.org/grass/changeset/49620
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."
"Don't you even hate 'em?"
"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."
<Ha, ha> "And it might give 'em all stomach ulcers."
- Tarzan, on war
William Kyngesburye wrote:
Trying to compile release 6.4 branch today, and it fails creating
menudata.py
menustrings.py, right?
because the PYTHONPATH is not defined to find
grass.script. I see a r49620 from a while back that fixes this (dev6
branch compiles without this error) - maybe this should be
backported to release 6.4?
6.x should be able to be built without Python installed on the build
system. menustrings.py should be optional, i.e. failure to build
menustrings.py should not be fatal (it's only needed for translators).
In addition to setting PYTHONPATH, I suggest:
menustrings.py: core/menudata.py $(ETCDIR)/xml/menudata.xml $(ETCDIR)/xml/menudata_modeler.xml
echo > $@
-$(call run_grass,$(PYTHON) $< >> $@)
-$(call run_grass,$(PYTHON) $< "modeler" >> $@)
--
Glynn Clements <glynn@gclements.plus.com>
On Oct 22, 2012, at 9:35 AM, Glynn Clements wrote:
William Kyngesburye wrote:
Trying to compile release 6.4 branch today, and it fails creating
menudata.py
menustrings.py, right?
right.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
[Trillian] What are you supposed to do WITH a maniacally depressed robot?
[Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...
- HitchHiker's Guide to the Galaxy