<div dir="ltr">Hi Anna,<div><br></div><div>Just to be clear, should I do the following?</div><div>- Uninstall python-wxgtk2.8 first</div><div>- Install python-wxgtk3.0</div><div>- make clean</div><div>- make </div><div>- make install</div><div><br></div><div>Thanks!</div><div class="gmail_extra"><br></div><div class="gmail_extra">-- Tung</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 6, 2017 at 8:05 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
could you by any chance install wxPython 3 from packages<br>
(python-wxgtk3.0)? I think that should help.<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Sep 6, 2017 at 4:24 AM, Tung Nguyen <<a href="mailto:tungkttv@gmail.com">tungkttv@gmail.com</a>> wrote:<br>
> Thank you very much Anna!<br>
><br>
> I finally managed to compile the snapshot version you posted.<br>
><br>
> While compiling, I had this error<br>
><br>
> Errors in:<br>
> /home/Downloads/grass-6.4_<wbr>2017/gui/wxpython<br>
> --<br>
> In case of errors please change into the directory with error and run<br>
> 'make'.<br>
> If you get multiple errors, you need to deal with them in the order they<br>
> appear in the error log. If you get an error building a library, you will<br>
> also get errors from anything which uses the library.<br>
> --<br>
> Finished compilation: Mon Sep 4 16:52:36 PDT 2017<br>
> make: *** [default] Error 1<br>
> LinuxMint17 ~/Downloads/grass-6.4_2017 $ cd ./gui/wxpython/<br>
> LinuxMint17 ~/Downloads/grass-6.4_2017/<wbr>gui/wxpython $ make<br>
><br>
> After running make in gui/wxpython. The GRASS was successfully compiled.<br>
> However the error still remained.<br>
><br>
> GRASS 6.4.6svn (default):~/Downloads/grass-6.<wbr>4_2017 > Traceback (most recent<br>
> call last):<br>
> File "/usr/local/grass-6.4.6svn/<wbr>etc/wxpython/wxgui.py", line 34, in<br>
> <module><br>
> from lmgr.frame import GMFrame<br>
> File "/usr/local/grass-6.4.6svn/<wbr>etc/wxpython/lmgr/frame.py", line 46, in<br>
> <module><br>
> from lmgr.layertree import LayerTree, LMIcons<br>
> File "/usr/local/grass-6.4.6svn/<wbr>etc/wxpython/lmgr/layertree.<wbr>py", line 37,<br>
> in <module><br>
> from mapdisp.frame import MapFrame<br>
> File "/usr/local/grass-6.4.6svn/<wbr>etc/wxpython/mapdisp/frame.py"<wbr>, line 52,<br>
> in <module><br>
> from wxplot.profile import ProfileFrame<br>
> File "/usr/local/grass-6.4.6svn/<wbr>etc/wxpython/wxplot/profile.<wbr>py", line 28,<br>
> in <module><br>
> import wx.lib.plot as plot<br>
> File<br>
> "/usr/lib/python2.7/dist-<wbr>packages/wx-2.8-gtk2-unicode/<wbr>wx/lib/plot.py", line<br>
> 132, in <module><br>
> raise ImportError, "Numeric,numarray or NumPy not found. \n" + msg<br>
> ImportError: Numeric,numarray or NumPy not found.<br>
><br>
> This module requires the Numeric/numarray or NumPy module,<br>
> which could not be imported. It probably is not installed<br>
> (it's not part of the standard Python distribution). See the<br>
> Numeric Python site (<a href="http://numpy.scipy.org" rel="noreferrer" target="_blank">http://numpy.scipy.org</a>) for information on<br>
> downloading source or binaries.<br>
><br>
> These are the configs that I used<br>
><br>
> CFLAGS="-g -Wall -O2" LDFLAGS="-s" ./configure \<br>
> --enable-64bit \<br>
> --with-libs=/usr/lib64 \<br>
> --with-cxx \<br>
> --with-freetype=yes \<br>
> --with-freetype-includes=/usr/<wbr>include/freetype2 \<br>
> --with-postgres=no \<br>
> --with-sqlite=yes \<br>
> --enable-largefile=yes \<br>
> --with-tcltk-includes=/usr/<wbr>include/tcl8.6 \<br>
> --with-opengl-libs=/usr/<wbr>include/GL \<br>
> --with-readline \<br>
> --with-python=yes \<br>
> --with-wxwidgets \<br>
> --with-cairo \<br>
> ...<br>
><br>
> GRASS is now configured for:<br>
><br>
> Source directory: /home/Downloads/grass-6.4_2017<br>
> Build directory: /home/Downloads/grass-6.4_2017<br>
> Installation directory: ${prefix}/grass-6.4.6svn<br>
> Startup script in directory: ${exec_prefix}/bin<br>
> C compiler: gcc -g -Wall -O2<br>
> C++ compiler: c++ -g -O2<br>
> Building shared libraries: yes<br>
> 64bit support: yes<br>
> OpenGL platform: X11<br>
><br>
> MacOSX application: no<br>
> MacOSX architectures:<br>
> MacOSX SDK:<br>
><br>
> Tcl/Tk NVIZ: yes<br>
><br>
> BLAS support: no<br>
> C++ support: yes<br>
> Cairo support: yes<br>
> DWG support: no<br>
> FFMPEG support: no<br>
> FFTW support: yes<br>
> FreeType support: yes<br>
> GDAL support: yes<br>
> GEOS support: no<br>
> GLw support: no<br>
> LAPACK support: no<br>
> Large File support (LFS): yes<br>
> Motif support: no<br>
> MySQL support: no<br>
> NLS support: no<br>
> ODBC support: no<br>
> OGR support: yes<br>
> OpenGL support: yes<br>
> PNG support: yes<br>
> PostgreSQL support: no<br>
> Python support: yes<br>
> Readline support: yes<br>
> SQLite support: yes<br>
> Tcl/Tk support: yes<br>
> wxWidgets support: yes<br>
> TIFF support: yes<br>
> X11 support: yes<br>
><br>
> I attached the full log of the compilation in case you want to look further<br>
> into it<br>
><br>
> Best regards,<br>
><br>
> -- Tung<br>
><br>
> On Wed, Aug 30, 2017 at 12:14 PM, Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Is this version from packages? There has been some fixes, so maybe if<br>
>> you could download and compile the latest version:<br>
>><br>
>> <a href="https://grass.osgeo.org/grass64/source/snapshot/" rel="noreferrer" target="_blank">https://grass.osgeo.org/<wbr>grass64/source/snapshot/</a><br>
>><br>
>> On Wed, Aug 30, 2017 at 11:23 AM, Tung Nguyen <<a href="mailto:tungkttv@gmail.com">tungkttv@gmail.com</a>> wrote:<br>
>> > Hi Vero,<br>
>> ><br>
>> > Thanks for the suggestion! I'd love to however some of the tools we're<br>
>> > using<br>
>> > are only compatible with GRASS-GIS 6.4<br>
>> ><br>
>> > Best regards,<br>
>> ><br>
>> > -- Tung<br>
>> ><br>
>> > On Tue, Aug 29, 2017 at 10:55 PM, Veronica Andreo <<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Hello Tung,<br>
>> >><br>
>> >> Have you considered moving to GRASS 7.2? The last update of GRASS 6.4<br>
>> >> series (6.4.4) was released one year ago and won't receive further bug<br>
>> >> fixing.<br>
>> >><br>
>> >> I would highly recommend to move to grass 7<br>
>> >><br>
>> >> Best,<br>
>> >> Vero<br>
>> >><br>
>> >> El 30 ago. 2017 12:28 a.m., "Tung Nguyen" <<a href="mailto:tungkttv@gmail.com">tungkttv@gmail.com</a>><br>
>> >> escribió:<br>
>> >>><br>
>> >>> Hello GRASS dev,<br>
>> >>><br>
>> >>> I'm using GRASS-GIS v6.4.3 on Linux Mint 17.3 Rosa but couldn't get<br>
>> >>> the<br>
>> >>> GUI to start. I have tried all solutions I could find to no avail.<br>
>> >>> What I<br>
>> >>> have tried so far:<br>
>> >>> - Uninstall & reinstall numpy (numpy-1.13.1)<br>
>> >>> - Uninstall (purge) and reinstall python-wxversion, python-wxgtk2.8<br>
>> >>> then<br>
>> >>> grass-core, grass-dev & grass-gui<br>
>> >>><br>
>> >>> - Error message:<br>
>> >>><br>
>> >>> Welcome to GRASS 6.4.3 (2013)<br>
>> >>> GRASS homepage: <a href="http://grass.osgeo.org/" rel="noreferrer" target="_blank">http://grass.osgeo.org/</a><br>
>> >>> This version running thru: Bash Shell (/bin/bash)<br>
>> >>> Help is available with the command: g.manual -i<br>
>> >>> See the licence terms with: g.version -c<br>
>> >>> If required, restart the GUI with: g.gui wxpython<br>
>> >>> When ready to quit enter: exit<br>
>> >>><br>
>> >>> [Raster MASK present]<br>
>> >>> GRASS 6.4.3 (default):~ > Traceback (most recent call last):<br>
>> >>> File "/usr/lib/grass64/etc/<wbr>wxpython/wxgui.py", line 34, in <module><br>
>> >>> from lmgr.frame import GMFrame<br>
>> >>> File "/usr/lib/grass64/etc/<wbr>wxpython/lmgr/frame.py", line 46, in<br>
>> >>> <module><br>
>> >>> from lmgr.layertree import LayerTree, LMIcons<br>
>> >>> File "/usr/lib/grass64/etc/<wbr>wxpython/lmgr/layertree.py", line 37, in<br>
>> >>> <module><br>
>> >>> from mapdisp.frame import MapFrame<br>
>> >>> File "/usr/lib/grass64/etc/<wbr>wxpython/mapdisp/frame.py", line 52, in<br>
>> >>> <module><br>
>> >>> from wxplot.profile import ProfileFrame<br>
>> >>> File "/usr/lib/grass64/etc/<wbr>wxpython/wxplot/profile.py", line 23, in<br>
>> >>> <module><br>
>> >>> import wx.lib.plot as plot<br>
>> >>> File<br>
>> >>> "/usr/lib/python2.7/dist-<wbr>packages/wx-2.8-gtk2-unicode/<wbr>wx/lib/plot.py",<br>
>> >>> line<br>
>> >>> 132, in <module><br>
>> >>> raise ImportError, "Numeric,numarray or NumPy not found. \n" + msg<br>
>> >>> ImportError: Numeric,numarray or NumPy not found.<br>
>> >>> This module requires the Numeric/numarray or NumPy module,<br>
>> >>> which could not be imported. It probably is not installed<br>
>> >>> (it's not part of the standard Python distribution). See<br>
>> >>> the<br>
>> >>> Numeric Python site (<a href="http://numpy.scipy.org" rel="noreferrer" target="_blank">http://numpy.scipy.org</a>) for<br>
>> >>> information<br>
>> >>> on<br>
>> >>> downloading source or binaries.<br>
>> >>><br>
>> >>><br>
>> >>> - Machine info:<br>
>> >>><br>
>> >>> $ python --version<br>
>> >>> Python 2.7.6<br>
>> >>><br>
>> >>> $ inxi -Fxz<br>
>> >>> System: Kernel: 4.4.0-28-generic x86_64 (64 bit gcc: 4.8.4)<br>
>> >>> Desktop: Cinnamon 2.8.8 (Gtk 3.10.8) Distro: Linux Mint<br>
>> >>> 17.3<br>
>> >>> Rosa<br>
>> >>> Graphics: Card: NVIDIA GM107GL [Quadro K620] bus-ID: 01:00.0<br>
>> >>> Display Server: X.Org 1.17.1 driver: nvidia Resolution:<br>
>> >>> 1920x1080@60.0hz, 1920x1080@60.0hz<br>
>> >>> GLX Renderer: Quadro K620/PCIe/SSE2 GLX Version: 4.5.0<br>
>> >>> NVIDIA<br>
>> >>> 375.39 Direct Rendering: Yes<br>
>> >>><br>
>> >>> Any suggestion would be appreciated. Thanks!<br>
>> >>><br>
>> >>> -- Tung<br>
>> >>><br>
>> >>> ______________________________<wbr>_________________<br>
>> >>> grass-dev mailing list<br>
>> >>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
>> >>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-dev</a><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> ><br>
>> > Thanks!<br>
>> ><br>
>> > -- Tung<br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > grass-dev mailing list<br>
>> > <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
>> > <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-dev</a><br>
><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div>Thanks!<div><br></div><div>-- Tung</div></div></div>
</div></div>