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

#579: configure doesn't like debian's wx-config 2.8 renaming
--------------------------+-------------------------------------------------
Reporter: hamish | Owner: grass-dev@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&gt;
GRASS GIS <http://grass.osgeo.org>

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

configure[.in] updated in devbr6 in r36942.

keeping report open until it's ported to relbr6 and trunk.
(my system isn't set up for that today)

Hamish

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

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

Replying to [ticket:579 hamish]:

> '--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:

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

Done in r36943.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/579#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#579: configure doesn't like debian's wx-config 2.8 renaming
---------------------------+------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: Installation | Version: svn-develbranch6
Resolution: fixed | Keywords: configure
  Platform: Linux | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:1 hamish]:
> configure[.in] updated in devbr6 in r36942.
>
> keeping report open until it's ported to relbr6

done in r36945.

Markus

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/579#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>