[GRASS-dev] Compile error, Mac OSX, wxpython
Johannes Radinger
JRadinger at gmx.at
Wed Jul 25 07:40:33 PDT 2012
Hi,
I just tried to compile the newest version of GRASS 6.5 SVN on Mac OSX. Before I had to update my Python version to 2.7.3 (also set as env. variable)) due to some python modules. Now my compilation of GRASS GIS doesn't work anymore. I get an error in wxpython dir. See here:
Started compilation: Mi 25 Jul 2012 16:05:03 CEST
--
Errors in:
/Users/admin/Documents/GRASS-Source/grass-6.5.svn/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: Mi 25 Jul 2012 16:27:12 CEST
make: *** [default] Error 1
Johannes-Snow-Leopard:grass-6.5.svn admin$ cd /Users/admin/Documents/GRASS-Source/grass-6.5.svn/gui/wxpython/
Johannes-Snow-Leopard:wxpython admin$ make
make parsubdirs
make -C docs || echo /Users/admin/Documents/GRASS-Source/grass-6.5.svn/gui/wxpython/docs >> /Users/admin/Documents/GRASS-Source/grass-6.5.svn/error.log
for file in wxGUI.Attribute_Table_Manager wxGUI.Components wxGUI.GCP_Manager wxGUI.Modeler wxGUI.Nviz wxGUI.PsMap wxGUI.Vector_Digitizer wxGUI ; do \
rm -f $file.tmp.html ; \
rm -f "/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/$file.html"; \
make htmldir PGM=$file; \
done
make /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.Attribute_Table_Manager.html
if [ "" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc65 GISBASE=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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 /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; /usr/bin/install -c -m 644 wxGUI.Attribute_Table_Manager.tmp.html /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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/install -c -m 644 $file /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; fi done 2> /dev/null ; true
make /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.Components.html
if [ "" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc65 GISBASE=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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 /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; /usr/bin/install -c -m 644 wxGUI.Components.tmp.html /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.Components.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; fi done 2> /dev/null ; true
make /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.GCP_Manager.html
if [ "" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc65 GISBASE=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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 /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; /usr/bin/install -c -m 644 wxGUI.GCP_Manager.tmp.html /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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/install -c -m 644 $file /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; fi done 2> /dev/null ; true
make /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.Modeler.html
if [ "" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc65 GISBASE=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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 /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; /usr/bin/install -c -m 644 wxGUI.Modeler.tmp.html /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.Modeler.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; fi done 2> /dev/null ; true
make /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.Nviz.html
if [ "" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc65 GISBASE=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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 /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; /usr/bin/install -c -m 644 wxGUI.Nviz.tmp.html /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.Nviz.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; fi done 2> /dev/null ; true
make /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.PsMap.html
if [ "" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc65 GISBASE=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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 /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; /usr/bin/install -c -m 644 wxGUI.PsMap.tmp.html /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.PsMap.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; fi done 2> /dev/null ; true
make /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.Vector_Digitizer.html
if [ "" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc65 GISBASE=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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 /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; /usr/bin/install -c -m 644 wxGUI.Vector_Digitizer.tmp.html /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/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/install -c -m 644 $file /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; fi done 2> /dev/null ; true
make /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.html
if [ "" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc65 GISBASE=/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/bin:/Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI ; mkdir -p /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; /usr/bin/install -c -m 644 wxGUI.tmp.html /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html/wxGUI.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file /Users/admin/Documents/GRASS-Source/grass-6.5.svn/dist.x86_64-apple-darwin10.8.0/docs/html ; fi done 2> /dev/null ; true
here the output of configure:
GRASS is now configured for: x86_64-apple-darwin10.8.0
Source directory: /Users/admin/Documents/GRASS-Source/grass-6.5.svn
Build directory: /Users/admin/Documents/GRASS-Source/grass-6.5.svn
Installation directory: ${prefix}/GRASS-6.5.app/Contents/MacOS
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2 -arch i386 -arch x86_64
C++ compiler: c++ -arch i386 -arch x86_64
Building shared libraries: yes
64bit support: no
OpenGL platform: Aqua
MacOSX application: yes
MacOSX architectures: -arch i386 -arch x86_64
MacOSX SDK:
Tcl/Tk NVIZ: yes
BLAS support: no
C++ support: yes
Cairo support: no
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GEOS support: yes
GLw support: no
LAPACK support: no
Large File support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: yes
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: no
Python support: yes
Readline support: no
SQLite support: yes
Tcl/Tk support: yes
wxWidgets support: yes
TIFF support: yes
X11 support: yes
I am not sure if it is related to the newest SVN-version of GRASS or to the update of Python. Any suggestions?
/Johannes
More information about the grass-dev
mailing list