[GRASS-dev] Error while compiling grass 7.0 from source

Erick Opiyo osgis.dev at gmail.com
Tue Dec 4 07:13:07 PST 2012


Hi Everyone,

*I encountered an error while installing GRASS GIS from source. When i run
the make command i got the following error (see attached error.log)*

*GRASS GIS compilation log
-------------------------
Started compilation: Tue Dec  4 17:17:19 EAT 2012
--
Errors in:
/usr/local/src/grass_trunk/gui/wxpython/animation
/usr/local/src/grass_trunk/gui/wxpython/mapswipe
/usr/local/src/grass_trunk/gui/wxpython/gmodeler
/usr/local/src/grass_trunk/gui/wxpython/rlisetup
--
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.*
--

*And as suggested I changed into the affected directories and run the make
command again and the error listed below came up*

*Traceback (most recent call last):
  File
"/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/scripts/g.gui.animation",
line 50, in <module>
    from core.settings import UserSettings
  File
"/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/core/settings.py",
line 27, in <module>
    from core       import globalvar
  File
"/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/core/globalvar.py",
line 75, in <module>
    import wx.lib.flatnotebook as FN
ImportError: No module named flatnotebook
make: *** [g.gui.animation.tmp.html] Error 1*

*While flatnotebook exists within my python modules i don't understand why
it is not being imported successfully. When i run { locate flatnotebook }
command on my terminal i get:*

*/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/flatnotebook.py
/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/flatnotebook.pyc
/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/agw/flatnotebook.py
/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/agw/flatnotebook.pyc
*

Has anyone encountered the same compilation problem?

Thanks

Regards Erick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20121204/521e812a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: application/octet-stream
Size: 648 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20121204/521e812a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grass-7.0-compilation-error.png
Type: image/png
Size: 78460 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20121204/521e812a/attachment-0001.png>


More information about the grass-dev mailing list