[GRASS-dev] grass7 compile problems

Markus Metz markus.metz.giswork at googlemail.com
Thu Jan 15 16:20:25 EST 2009


I forgot, if gdal is compiled with grass support based on a previous 
version, that doesn't work too, you have to compile gdal without grass 
support again, then grass7 with gdal support. It's a bit of a hassle but 
worth the effort, grass7 is really nice:-)

Markus M

Helena Mitasova wrote:
> I am trying to get to test the new r.watershed but I am stuck at
> compiling grass7
> (I had it working OK without wxwidgets before I updated)
>
> First, the issue with wxWidgets, when I include --with-wxwidgets
> I get
>
> checking whether to use wxWidgets... yes
> checking for wx-config... /usr/bin/wx-config
> checking wxWidgets version... 2.8.9
> checking for wx/wxprec.h... yes
> checking for wx/wxPython/pseudodc.h... no
> configure: error: *** Unable to locate wxWidgets includes.
>
> but I do have  it
> deliboz%
> ls /usr/lib/wxPython-2.8.7.1-gtk2-unicode/include/wx-2.8/wx/wxPython
> i_files  printfw.h  pseudodc.h  pyclasses.h  pydrawxxx.h  pyistream.h
> pytree.h  swigver.h  twoitem.h  wxPython.h  wxPython_int.h
>
> I tried to add (I don't know what I am doing here)
> --with-wxwidgets-includes=/usr/lib/wxPython-2.8.7.1-gtk2-unicode/include/wx-2.8/wx
> --with-wxwidgets-libs=/usr/lib/wxPython-2.8.7.1-gtk2-unicode/include/wx-2.8/wx/wxPython
> but I got the same as above
>
>
> -----------------------------------------------------------------------------
> To get at least something running
> I did make distclean
> svn update
> configure, make, make install
> with skipped wxWidgets, configure goes through
> but make gives error for g.cairocomp (do I need it compiled?)
>
> OBJ.x86_64-unknown-linux-gnu/main.o: In function `init_xlib':
> /local/home/helena/grasssvn/grass_trunk/general/g.cairocomp/main.c:118:
> undefined reference to `cairo_xlib_surface_get_xrender_format'
> collect2: ld returned 1 exit status
>
> and when I try to run any r.* command I get
>
> "ERROR: Incompatible library version for module"
> g., v. commands run OK
>
> any advice would be appreciated,
>
> Helena
>
> -----configure without wxwidgets-----------------------
> GRASS is now configured for:  x86_64-unknown-linux-gnu
>
>   Source directory:            /local/home/helena/grasssvn/grass_trunk
>   Build directory:             /local/home/helena/grasssvn/grass_trunk
>   Installation directory:      ${prefix}/grass-7.0.svn
>   Startup script in directory: ${exec_prefix}/bin
>   C compiler:                  gcc -g -Wall
>   C++ compiler:                c++ -g -O2
>   Building shared libraries:   yes
>   64bit support:               yes
>   OpenGL platform:             X11
>   MacOSX application:         no
>
>   NVIZ:                       yes
>
>   BLAS support:               no
>   C++ support:                yes
>   Cairo support:              yes
>   DWG support:                no
>  FFMPEG support:             no
>   FFTW support:               yes
>   FreeType support:           yes
>   GDAL support:               yes
>   JPEG support:               yes
>   LAPACK support:             no
>   Large File support (LFS):   yes
>   MySQL support:              no
>   NLS support:                no
>   ODBC support:               no
>   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:          no
>   TIFF support:               yes
>   X11 support:                yes
>   Regex support:              yes
>   POSIX thread support:       no
>
> On Wed, 2009-01-07 at 00:44 +0000, Glynn Clements wrote:
>   
>> Helena Mitasova wrote:
>>
>>     
>>> I am trying to get myself up to date on grass7, especially look at the
>>> wxnviz but although  I did make distclean and updated grass trunk
>>> grass7_wxnviz is not found - am I perhaps missing
>>> something in my configure (see below)?
>>>       
>> You need --with-wxwidgets for the vdigit and nviz add-ons to the wx
>> GUI, also for the xganim replacement.
>>
>> Also, --with-motif no longer exists.
>>
>>     
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
>   


More information about the grass-dev mailing list