Running Slackware-14.1 here with Python-2.7.5 and wxPython-2.8.12.1. I
just decided to install -7svn in addition to -6.5svn. The latter continues
to build error-free; the latter fails:
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/timeline
--
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.
/dev/null | grep -v '</body>\|</html>' > g.gui.timeline.tmp.html
Traceback (most recent call last):
File
"/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts/g.gui.timeline",
line 39, in <module>
import wx
ImportError: No module named wx
make[1]: *** [g.gui.timeline.tmp.html] Error 1
rm g.gui.timeline.tmp.html
make[1]: Leaving directory
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/timeline'
make: *** [guiscript] Error 2
There is no error log in the base directory.
All suggestions on why wx fails to import are certainly welcome.
Rich
--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
On Fri, 14 Mar 2014, Rich Shepard wrote:
Running Slackware-14.1 here with Python-2.7.5 and wxPython-2.8.12.1. I
just decided to install -7svn in addition to -6.5svn. The latter continues
to build error-free; the former fails:
Correction.
Rich
Rich,
On Fri, Mar 14, 2014 at 8:13 PM, Rich Shepard <rshepard@appl-ecosys.com> wrote:
Running Slackware-14.1 here with Python-2.7.5 and wxPython-2.8.12.1. I
just decided to install -7svn in addition to -6.5svn. The latter continues
to build error-free; the latter fails:
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/timeline
--
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.
/dev/null | grep -v '</body>\|</html>' > g.gui.timeline.tmp.html
Traceback (most recent call last):
File
"/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts/g.gui.timeline",
line 39, in <module>
import wx
ImportError: No module named wx
make[1]: *** [g.gui.timeline.tmp.html] Error 1
rm g.gui.timeline.tmp.html
make[1]: Leaving directory
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/timeline'
make: *** [guiscript] Error 2
There is no error log in the base directory.
All suggestions on why wx fails to import are certainly welcome.
Just to be sure, do you configure with
./configure \
--with-python \
--with-wxwidget \
...
?
Markus
On Sat, 15 Mar 2014, Markus Neteler wrote:
Just to be sure, do you configure with
./configure \
--with-python \
--with-wxwidget \
Markus,
Yep. I have a configuration file that I have used (successfully) with all
the 6.x sources. Used it on the 7.0 source, too.
./configure --with-postgres --with-sqlite --with-cairo --with-freetype --with-cxx --with-geos=usr/bin/geos-config --with-gdal=/usr/bin/gdal-config --with-python=/usr/bin/python-config --with-wxwidgets=/usr/bin/wx-config --enable-largefile --with-postgres-includes=/usr/local/pgsql/include/ --with-postgres-libs=/usr/local/pgsql/lib/ --with-openmp --with-sqlite-includes=/usr/include/ --with-sqlite-libs=/usr/lib/
Rich
--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
On Sat, 15 Mar 2014, Anna Petrá¨ová wrote:
only g.gui.timeline does not compile? Or also other g.gui.* modules
(g.gui.animation, g.gui.rlisetup,...)? Anyway have you tried to launch
grass gui and try to run g.gui.timeline?. This compilation error (if it
appears) is usually harmless but I don't understand why it appears
(something wrong with the building environment, not your fault).
Anna,
That's where the build failed. I did not look to see what built
sucessfully before that, nor what would have been built after that.
Rich
--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
On Sat, Mar 15, 2014 at 9:00 AM, Rich Shepard <rshepard@appl-ecosys.com>wrote:
On Sat, 15 Mar 2014, Anna Petrášová wrote:
only g.gui.timeline does not compile? Or also other g.gui.* modules
(g.gui.animation, g.gui.rlisetup,...)? Anyway have you tried to launch
grass gui and try to run g.gui.timeline?. This compilation error (if it
appears) is usually harmless but I don't understand why it appears
(something wrong with the building environment, not your fault).
Anna,
That's where the build failed. I did not look to see what built
sucessfully before that, nor what would have been built after that.
After the build of the whole grass (the top most directory in the grass
source code), you should get something like:
Compilation failed. Errors in:
/.../list/of/directories/
/.../where/make/was/not/successful
...
This you should get when the build fails. In other words, the make always
prints a report at the end with the message whether the compilation was
successful or it prints a list of directories where the compilation failed.
Vaclav
Rich
--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
On Sat, 15 Mar 2014, Vaclav Petras wrote:
This you should get when the build fails. In other words, the make always
prints a report at the end with the message whether the compilation was
successful or it prints a list of directories where the compilation
failed.
Vaclav,
The tail of that list of directories was what I copied into the original
message. In addition, here's the error.log:
GRASS GIS 7.0.svn 59253 compilation log
--------------------------------------------------
Started compilation: Fri Mar 14 08:51:04 PDT 2014
--
Errors in:
/home/rshepard/GIS/GRASS/grass-7.0svn/scripts/i.pansharpen
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.create
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.support
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.topology
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.list
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.info
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.merge
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.remove
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.sample
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.register
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.unregister
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.accumulate
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.accdetect
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.aggregate
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.aggregate.ds
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.colors
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.to.rast3
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.univar
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.list
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.mapcalc
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.mapcalc2
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.neighbors
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.series
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.export
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.out.vtk
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.import
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.gapfill
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast.extract
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast3d.list
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast3d.extract
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast3d.mapcalc
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast3d.mapcalc2
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rast3d.univar
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.rename
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.select
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.snap
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.shift
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.list
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.db.select
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.export
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.extract
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.mapcalc
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.import
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.what.strds
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.observe.strds
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.vect.univar
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/animation
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/mapswipe
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/gmodeler
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/rlisetup
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/psmap
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/dbmgr
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/vdigit
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/iclass
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/gcp
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/timeline
--
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: Fri Mar 14 08:59:47 PDT 2014
Mea culpa! I had not looked at the error.log before. Now I see that
nothing in 7.0 is building here.
Suggestions on where I should start looking for why?
Rich
--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
On Sat, Mar 15, 2014 at 6:24 PM, Rich Shepard <rshepard@appl-ecosys.com> wrote:
The tail of that list of directories was what I copied into the original
message. In addition, here's the error.log:
This is relevant since a fail somewhere may cause another later on
(dependencies...).
GRASS GIS 7.0.svn 59253 compilation log
...
Errors in:
/home/rshepard/GIS/GRASS/grass-7.0svn/scripts/i.pansharpen
Please
cd /home/rshepard/GIS/GRASS/grass-7.0svn/scripts/i.pansharpen
make
to see the error.
/home/rshepard/GIS/GRASS/grass-7.0svn/temporal/t.create
Likely python-dateutil is not on your system?
(the t.* commands need it. Perhaps to be tested in "configure")
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/animation
cd /home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/animation
make
...
the others likewise to see if there is a different error.
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/timeline
same here.
--
In case of errors please change into the directory with error and run
'make'.
... as stated 
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.
Yes.
Best
Markus
On Sat, 15 Mar 2014, Markus Neteler wrote:
Likely python-dateutil is not on your system?
Markus,
It is, but an old version. I just upgraded to -2.2 and installed it. I'll
look for other python modules that need upgrading since I upgraded the OS
and it includes python-2.7.5.
More information when I have it.
Thanks!
Rich
--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
On Sat, 15 Mar 2014, Rich Shepard wrote:
More information when I have it.
From ~/GIS/GRASS/grass-7.0svn/gui/wxpython/animation:
File "/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts/g.gui.animation",
line 56, in <module>
import wx
ImportError: No module named wx
From ~/GIS/GRASS/grass-7.0svn/gui/wxpython/mapswipe:
File
"/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts/g.gui.mapswipe",
line 51, in <module>
import wx
ImportError: No module named wx
No sense trying the others until I learn why wxPython is not being
imported into the wx namespace.
Currently have wxPython-2.8.12.1 installed; having issues building
-3.0.0.0.
Rich
On Sat, Mar 15, 2014 at 6:16 PM, Rich Shepard <rshepard@appl-ecosys.com>wrote:
On Sat, 15 Mar 2014, Rich Shepard wrote:
More information when I have it.
From ~/GIS/GRASS/grass-7.0svn/gui/wxpython/animation:
File "/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-
linux-gnu/scripts/g.gui.animation",
line 56, in <module>
import wx
ImportError: No module named wx
From ~/GIS/GRASS/grass-7.0svn/gui/wxpython/mapswipe:
File
"/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-
linux-gnu/scripts/g.gui.mapswipe",
line 51, in <module>
import wx
ImportError: No module named wx
No sense trying the others until I learn why wxPython is not being
imported into the wx namespace.
Please go to the directory of one of the temporal modules and give us the
output of make. Also try if GRASS launches and if it does try launching one
of the gui modules where the build fails. It might happen that the gui
won't start but the grass session should run.
Anna
Currently have wxPython-2.8.12.1 installed; having issues building
-3.0.0.0.
Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
On Sat, 15 Mar 2014, Anna Petrá¨ová wrote:
Please go to the directory of one of the temporal modules and give us the
output of make.
Anna,
[rshepard@salmo ~/GIS/GRASS/grass-7.0svn/temporal/t.support]$ make
make: Nothing to be done for irst'.
[rshepard@salmo ~/GIS/GRASS/grass-7.0svn/temporal/t.support]$ cd ../t.create
[rshepard@salmo ~/GIS/GRASS/grass-7.0svn/temporal/t.create]$ make
make: Nothing to be done for irst'.
Also try if GRASS launches and if it does try launching one of the gui
modules where the build fails. It might happen that the gui won't start
but the grass session should run.
There is no executable file built.
Rich