[GRASS-dev] [GRASS GIS] #1684: configure GRASS 6 with X11 support

GRASS GIS trac at osgeo.org
Tue Jul 3 15:03:08 PDT 2012


#1684: configure GRASS 6 with X11 support
----------------------------+-----------------------------------------------
 Reporter:  martinl         |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  6.4.3                    
Component:  Compiling       |     Version:  svn-releasebranch64      
 Keywords:  configure, X11  |    Platform:  Linux                    
      Cpu:  x86-64          |  
----------------------------+-----------------------------------------------

Comment(by hamish):

 Hi,

 what version of Debian? just in releasebranch_6_4 or in all branches?

 any clues about a missing header file near the end of config.log?

 the following works for me on Squeeze, adjust as needed:
 {{{
 renice +17 -p $$

 CFLAGS="-ggdb -march=native -Wall -Werror-implicit-function-declaration" \
   ./configure \
     --with-tcltk-includes=/usr/include/tcl8.5 --with-cairo \
     --with-motif --with-python=/usr/bin/python2.6-config \
     --with-readline --with-cxx --with-odbc --with-sqlite \
     --with-freetype --with-freetype-includes=/usr/include/freetype2 \
     --with-proj-share=/usr/share/proj \
     --enable-64bit --with-pthread -with-openmp \
     --with-wxwidgets=/usr/lib/wx/config/gtk2-unicode-release-2.8 \
     --with-postgres-includes=/usr/include/postgresql \
     --with-geos \
     2>&1 | tee config_log.txt

 time make -j 8
 }}}


 the following package requirements are for Debian's Sid, but with minor
 tweaks will work with other versions:
 {{{
 Build-depends:
   autoconf2.13, autotools-dev,
   debhelper (>= 8),
   doxygen,
   fakeroot,
   flex, bison,
   graphviz,
   lesstif2-dev,
   libcairo2-dev,
   libfftw3-dev,
   libfreetype6-dev,
   libgdal-dev | libgdal1-dev (>= 1.5.0),
   libglu1-mesa-dev | libglu1-xorg-dev,
   libjpeg-dev,
   libpng-dev | libpng12-dev,
   libtiff5-dev | libtiff4-dev,
   libmysqlclient-dev | libmysqlclient15-dev,
   libncurses5-dev,
   libpq-dev,
 # proj-bin needed for nad2bin during config
   libproj-dev, proj-bin,
   libreadline-dev | libreadline6-dev,
   libsqlite3-dev,
   libxmu-dev,
 #install optipng if compressing the PNG images in the programmers' manual
 #  optipng,
   python (>= 2.6.6-3~),
   python-wxgtk2.8, libwxgtk2.8-dev,
   python-dev,
   tcl-dev (>= 8.5), tk-dev (>= 8.5),
   unixodbc-dev
 }}}

 If config.log does show a missing header file, you can use 'apt-file' to
 search for which package provides it.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1684#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list