[GRASS-user] GRASS-7svn: Build Errors

Nikos Alexandris nik at nikosalexandris.net
Sun May 11 03:29:23 PDT 2014


On 11.05.2014 00:59, Rich Shepard wrote:

> I built and installed wxPython-3.0.0.0. Since previous attempts to 
> build
> 7.1 threw errors in the gui/wxPython/ subdirectories I expected make 
> to
> complete error free. That did not happen with the latest update from 
> the
> subversion repository; build #60167. The error log is attached.
>
>   Do the configuration files differ between 6.x and 7.x? I'm using 
> the same
> configuration for both and 6.5svn builds without error.

Rich,

I think the wxPython version doesn't matter. It's the Python version 
that matters (ver. 3 is not supported). You could start with the 
simplest configuration call, that is simply `./configure` no matter the 
version I think.  And don't forget to `make distclean` before 
re-compiling.  The error log you attached doesn't say much I think on 
why it fails.  What is your OS?  Does the configuration process complete 
error-free? If you do see the 
`/home/rshepard/GIS/GRASS/grass-7.0svn/bin.x86_64-unknown-linux-gnu/grass71`, 
try to execute it and check what the error says.


For your interest, trying to get as many things as possible supported, 
I do use different configuration settings for 6.4.x and 7.x:

# 6.4.x
./configure \
--enable-64bit \
--with-cxx \
--with-proj \
--with-geos \
--with-motif \
--with-tcltk-includes="/usr/include/" \
--with-cairo \
--with-opengl-libs=/usr/include/GL \
--with-glw \
--with-python=yes --with-python=/usr/bin/python2.7-config \
--with-wxwidgets \
--with-ffmpeg=yes --with-ffmpeg-includes="/usr/include/libavcodec 
/usr/include/libavformat /usr/include/libswscale /usr/include/libavutil" 
\
--with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" 
\
--with-odbc=yes \
--with-mysql=yes --with-mysql-includes="/usr/include/mysql" 
--with-mysql-libs=/usr/lib/mysql \
--with-sqlite=yes \
--with-postgres=yes --with-postgresql=yes 
--with-postgres-includes="/usr/lib64/postgresql" \
--with-opencl --with-openmp --with-pthread \
--with-readline \
--with-nls \
--enable-largefile=yes \
--with-netcdf

# 7.x
./configure \
--with-cxx \
--with-includes=/usr/include/ --with-libs=/usr/lib64/ \
--with-proj \
--with-proj-includes=/usr/include/ \
--with-proj-libs=/usr/lib64/ \
--with-proj-share=/usr/share/proj/ \
--with-geos \
--with-geos=/usr/bin/geos-config \
--with-gdal=/usr/bin/gdal-config \
--with-x \
--with-motif \
--with-cairo \
--with-opengl-libs=/usr/include/GL \
--without-ffmpeg \
--with-python=yes --with-python=/usr/bin/python2.7-config \
--with-wxwidgets \
--with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" 
\
--with-odbc=yes \
--with-sqlite=yes \
--with-mysql=yes --with-mysql-includes="/usr/include/mysql" 
--with-mysql-libs=/usr/lib/mysql \
--with-postgres=yes --with-postgresql=yes 
--with-postgres-includes="/usr/include/postgresql" \
--with-opencl --with-openmp --with-pthread \
--with-lapack \
--with-fftw \
--with-readline \
--with-regex \
--with-nls \
--with-jpeg \
--with-tiff \
--with-png \
--with-netcdf \
--without-opendwg \
--enable-largefile=yes

--
Nikos


More information about the grass-user mailing list