[GRASS-user] 6.5svn Build Problem

Anna Petrášová kratochanna at gmail.com
Fri Mar 28 20:12:00 PDT 2014


Hi,


On Fri, Mar 28, 2014 at 6:03 PM, Rich Shepard <rshepard at appl-ecosys.com>wrote:

> On Thu, 27 Mar 2014, Rich Shepard wrote:
>
>   I've not before had 6.5svn throw an error when building.
>>
>
>   OK, wxPython-3.0.0.0 installed and version.py is present. So, ...
>

could you just try importing wxpython in python console outside of grass
session:

>>> import wxversion
>>> import wx

to make sure it's working? (Sorry if you already did that)

Anna


>
>   From the main grass-6.5svn/ directory's error.log:
>
> GRASS GIS compilation log
> -------------------------
> Started compilation: Fri Mar 28 14:34:50 PDT 2014
> --
> Errors in:
> /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython
> --
> 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 28 14:44:19 PDT 2014
>
>    In ../gui/wxpython/ I run 'make' and see this output:
>
> make parsubdirs
> make[1]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython'
> make -C docs || echo /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs
> >> /home/rshepard/GIS/GRASS/grass-6.5svn/error.log
> make[2]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> for file in wxGUI wxGUI.PsMap wxGUI.Vector_Digitizer wxGUI.Components
> wxGUI.Modeler wxGUI.GCP_Manager wxGUI.Nviz wxGUI.Attribute_Table_Manager ;
> do \
>      rm -f $file.tmp.html ; \
>      rm -f "/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/$file.html"; \
>      make htmldir PGM=$file; \
> done
> make[3]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.html
> make[4]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/
> GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65
> GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu
> PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.
> 5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C  --html-description < /dev/null | grep -v '</body>\|</html>' >
> wxGUI.tmp.html ; true ; fi
> ../../../tools/mkhtml.sh wxGUI ; mkdir -p /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c  -m
> 644 wxGUI.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.html
> ; for file in  *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ;
> if [ $? -ne 0 ] ; then /usr/bin/ginstall -c  -m 644 $file
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ;
> fi done 2> /dev/null ; true
> make[4]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.PsMap.html
> make[4]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/
> GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65
> GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu
> PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.
> 5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C  --html-description < /dev/null | grep -v '</body>\|</html>' >
> wxGUI.PsMap.tmp.html ; true ; fi
> ../../../tools/mkhtml.sh wxGUI.PsMap ; mkdir -p /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c  -m
> 644 wxGUI.PsMap.tmp.html /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.PsMap.html ; for file
> in  *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne
> 0 ] ; then /usr/bin/ginstall -c  -m 644 $file /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ;
> true
> make[4]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.Vector_Digitizer.html
> make[4]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/
> GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65
> GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu
> PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.
> 5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C  --html-description < /dev/null | grep -v '</body>\|</html>' >
> wxGUI.Vector_Digitizer.tmp.html ; true ; fi
> ../../../tools/mkhtml.sh wxGUI.Vector_Digitizer ; mkdir -p
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ;
> /usr/bin/ginstall -c  -m 644 wxGUI.Vector_Digitizer.tmp.html
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.Vector_Digitizer.html ; for file in  *.png
> *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ;
> then /usr/bin/ginstall -c  -m 644 $file /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ;
> true
> make[4]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.Components.html
> make[4]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/
> GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65
> GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu
> PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.
> 5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C  --html-description < /dev/null | grep -v '</body>\|</html>' >
> wxGUI.Components.tmp.html ; true ; fi
> ../../../tools/mkhtml.sh wxGUI.Components ; mkdir -p
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ;
> /usr/bin/ginstall -c  -m 644 wxGUI.Components.tmp.html
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.Components.html ; for file in  *.png *.jpg ; do
> head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then
> /usr/bin/ginstall -c  -m 644 $file /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ;
> true
> make[4]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.Modeler.html
> make[4]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/
> GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65
> GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu
> PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.
> 5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C  --html-description < /dev/null | grep -v '</body>\|</html>' >
> wxGUI.Modeler.tmp.html ; true ; fi
> ../../../tools/mkhtml.sh wxGUI.Modeler ; mkdir -p /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c  -m
> 644 wxGUI.Modeler.tmp.html /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Modeler.html ; for
> file in  *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [
> $? -ne 0 ] ; then /usr/bin/ginstall -c  -m 644 $file
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ;
> fi done 2> /dev/null ; true
> make[4]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.GCP_Manager.html
> make[4]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/
> GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65
> GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu
> PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.
> 5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C  --html-description < /dev/null | grep -v '</body>\|</html>' >
> wxGUI.GCP_Manager.tmp.html ; true ; fi
> ../../../tools/mkhtml.sh wxGUI.GCP_Manager ; mkdir -p
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ;
> /usr/bin/ginstall -c  -m 644 wxGUI.GCP_Manager.tmp.html
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.GCP_Manager.html ; for file in  *.png *.jpg ;
> do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then
> /usr/bin/ginstall -c  -m 644 $file /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ;
> true
> make[4]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.Nviz.html
> make[4]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/
> GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65
> GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu
> PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.
> 5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C  --html-description < /dev/null | grep -v '</body>\|</html>' >
> wxGUI.Nviz.tmp.html ; true ; fi
> ../../../tools/mkhtml.sh wxGUI.Nviz ; mkdir -p /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c  -m
> 644 wxGUI.Nviz.tmp.html /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Nviz.html ; for file
> in  *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne
> 0 ] ; then /usr/bin/ginstall -c  -m 644 $file /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ;
> true
> make[4]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Leaving directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make[3]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.Attribute_Table_Manager.html
> make[4]: Entering directory /home/rshepard/GIS/GRASS/
> grass-6.5svn/gui/wxpython/docs'
> if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/
> GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65
> GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu
> PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.
> 5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C  --html-description < /dev/null | grep -v '</body>\|</html>' >
> wxGUI.Attribute_Table_Manager.tmp.html ; true ; fi
> ../../../tools/mkhtml.sh wxGUI.Attribute_Table_Manager ; mkdir -p
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ;
> /usr/bin/ginstall -c  -m 644 wxGUI.Attribute_Table_Manager.tmp.html
> /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-
> linux-gnu/docs/html/wxGUI.Attribute_Table_Manager.html ; for file in
>  *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0
> ] ; then /usr/bin/ginstall -c  -m 644 $file /home/rshepard/GIS/GRASS/
> grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ;
> true
> make[4]: Leaving directory
> /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs' make[3]: Leaving
> directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
> make[2]:
> Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
> make[1]: Leaving directory
> /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython'
>
>    Then, as root, I 'make install'. But, when I start GRASS I see:
>
> [rshepard at salmo ~/GIS/GRASS/grass-6.5svn]$ grass65 Cleaning up temporary
> files ...
> Starting GRASS ...
> ERROR: wxGUI requires wxPython. libwx_gtk2u_xrc-3.0.so.0: cannot open
> shared
> object file: No such file or directory
>
> Error in GUI startup. If necessary, please
> report this error to the GRASS developers.
> Switching to text mode now.
> Hit RETURN to continue...
>
>    Does this provide more detailed information that might lead one of you
> developers to figure out where the problem is?
>
> Thanks in advance,
>
>
> 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
>
>
> --
> 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140328/3a50cae5/attachment-0001.html>


More information about the grass-user mailing list