Opened 15 years ago

Closed 15 years ago

#579 closed defect (fixed)

configure doesn't like debian's wx-config 2.8 renaming

Reported by: hamish Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: Installation Version: svn-develbranch6
Keywords: configure Cc:
CPU: Unspecified Platform: Linux

Description

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

Change History (3)

comment:1 by hamish, 15 years ago

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

in reply to:  description comment:2 by glynn, 15 years ago

Replying to 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.

in reply to:  1 comment:3 by neteler, 15 years ago

Resolution: fixed
Status: newclosed

Replying to hamish:

configure[.in] updated in devbr6 in r36942.

keeping report open until it's ported to relbr6

done in r36945.

Markus

Note: See TracTickets for help on using tickets.