[GRASS-dev] Grass7 GUI compilation failed

grass7.0 fails compilation at first and continues only after setting PYTHONPATH.

This becomes a routine for recompilation. Is there any work around to automatically pickup wxPython?

Here is my error log:

Started compilation: Sat Dec 29 21:46:17 IST 2012

Errors in:
/code/grass/grass70/gui/wxpython/animation
/code/grass/grass70/gui/wxpython/mapswipe
/code/grass/grass70/gui/wxpython/gmodeler
/code/grass/grass70/gui/wxpython/rlisetup
/code/grass/grass70/gui/wxpython/psmap
/code/grass/grass70/gui/wxpython/dbmgr
/code/grass/grass70/gui/wxpython/vdigit

In case of errors please change into the directory with error and run ‘make’.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.

Finished compilation: Sat Dec 29 21:53:10 IST 2012

wxpython is installed from ubuntu repos. so its in the default path

Regards,
Rashad

here is output from v.digit
make

ml
make[6]: Entering directory /code/grass/grass70/gui/wxpython/vdigit' GISRC=/code/grass/grass70/dist.x86_64-unknown-linux-gnu/demolocation/.grassrc70 GISBASE=/code/grass/grass70/dist.x86_64-unknown-linux-gnu PATH="/code/grass/grass70/dist.x86_64-unknown-linux-gnu/bin:/code/grass/grass70/dist.x86_64-unknown-linux-gnu/bin:$PATH" PYTHONPATH="/code/grass/grass70/dist.x86_64-unknown-linux-gnu/etc/python:/code/grass/grass70/dist.x86_64-unknown-linux-gnu/etc/python:$PYTHONPATH" LD_LIBRARY_PATH="/code/grass/grass70/dist.x86_64-unknown-linux-gnu/bin:/code/grass/grass70/dist.x86_64-unknown-linux-gnu/lib:/code/grass/grass70/dist.x86_64-unknown-linux-gnu/lib:" LC_ALL=C /code/grass/grass70/dist.x86_64-unknown-linux-gnu/scripts/g.gui.vdigit --html-description < /dev/null | grep -v '</body>\|</html>' > g.gui.vdigit.tmp.html Traceback (most recent call last): File "/code/grass/grass70/dist.x86_64-unknown-linux-gnu/scripts/g.gui.vdigit", line 39, in <module> import wx ImportError: No module named wx make[6]: *** [g.gui.vdigit.tmp.html] Error 1 rm g.gui.vdigit.tmp.html make[6]: Leaving directory /code/grass/grass70/gui/wxpython/vdigit’
make[5]: *** [guiscript] Error 2

···

On Sat, Dec 29, 2012 at 9:57 PM, Rashad M <mohammedrashadkm@gmail.com> wrote:

grass7.0 fails compilation at first and continues only after setting PYTHONPATH.

This becomes a routine for recompilation. Is there any work around to automatically pickup wxPython?

Here is my error log:

Started compilation: Sat Dec 29 21:46:17 IST 2012

Errors in:
/code/grass/grass70/gui/wxpython/animation
/code/grass/grass70/gui/wxpython/mapswipe
/code/grass/grass70/gui/wxpython/gmodeler
/code/grass/grass70/gui/wxpython/rlisetup
/code/grass/grass70/gui/wxpython/psmap
/code/grass/grass70/gui/wxpython/dbmgr
/code/grass/grass70/gui/wxpython/vdigit

In case of errors please change into the directory with error and run ‘make’.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.

Finished compilation: Sat Dec 29 21:53:10 IST 2012

wxpython is installed from ubuntu repos. so its in the default path

Regards,
Rashad

Regards,
Rashad