[GRASS-dev] [GRASS GIS] #579: configure doesn't like debian's wx-config 2.8 renaming

GRASS GIS trac at osgeo.org
Sat May 2 09:11:11 EDT 2009


#579: configure doesn't like debian's wx-config 2.8 renaming
--------------------------+-------------------------------------------------
 Reporter:  hamish        |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect        |      Status:  new                      
 Priority:  major         |   Milestone:  6.4.0                    
Component:  Installation  |     Version:  svn-develbranch6         
 Keywords:  configure     |    Platform:  Linux                    
      Cpu:  Unspecified   |  
--------------------------+-------------------------------------------------
 Hi,

 for the official Debian package we need to specify which wx-config to use
 because 2.6 can be installed on the same system.

 '--with-wxwidgets=/path/to/wx-config2.8' should work, but it doesn't
 because configure.in explicitly only accepts a binary called 'wx-config'
 on line ~ 1740:

 {{{
   if test "`basename $with_wxwidgets`" = "wx-config" ; then
     WX_CONFIG="$with_wxwidgets"
   fi
 }}}

 can we change it to be more like --with-python= ?

 {{{
   if test "$with_python" != "yes" ; then
     PY_CONFIG="$with_python"
   fi
 }}}


 the real wx-config binary on debian is hidden behind some symlinks but on
 a system with wx2.6 on it as well needs to be set to '--with-
 wxwidgets=/usr/lib/wx/config/gtk2-unicode-release-2.8'

 this is related to debian bug # 526200:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526200


 thanks,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/579>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list