[GRASS-dev] wrong configure documentation for compilation with wxwidgets ?

Moritz Lennert mlennert at club.worldonline.be
Thu Nov 6 04:00:31 EST 2008


On 05/11/08 23:38, Glynn Clements wrote:
> Moritz Lennert wrote:
> 
>>>> ./configure --help shows:
>>>>
>>>> --with-wxwidgets[=path/wx-config] enable wxWidgets support (wx-config with
>>>> path, e.g. '--with-wxwidgets=/usr/local/bin/wx-config', default: no)
>>>>
>>>> but this does not seem to work, while below solution does. Looking through
>>>> the configure file, I don't really understand why this is so (but then
>>>> again, I can't claim that I understand everything in that file).
>>>>
>>>> So, is the documentation wrong, or does below solution just work by chance ?
>>>> On Tue, 04 Nov 2008 17:16:26 +0100,
>>>> Moritz Lennert <mlennert at club.worldonline.be> wrote:
>>>> [...]
>>>>
>>>>> On 05/11/08 03:13, Seb wrote:
>>>>>> Yes, I liked that better too.  However, modifying that target as:
>>>>>>
>>>>>> ,-----[ rules (lines: 66 - 67) ]
>>>>>> |
>>>>>> --with-wxwidgets=/usr/lib/wx/config/gtk2-unicode-release-2.8 \
>>>>>> `-----
>>>>> It should be:
>>>>> --with-wx=/usr/lib/wx/config/gtk2-unicode-release-2.8\
>>>>> --with-wxwidgets \
>>>> Yes, this worked.  The packages built fine.  The only problem reamining
>>>> is the clash betwee grass-preview-doc and grass-doc I posted earlier.
>>>> Thanks everyone for your help.
>>> there is no --with-wx just --with-wxwidgets which takes as argument
>>> *path to wx-config* (similary e.g. to --with-gdal)
>> But what is weird is that the above combination works, whereas giving 
>> the path to wx-widgets doesn't...
> 
> The configure script silently ignores any --with-* options which it
> doesn't understand, and it doesn't understand --with-wx.
> 
> It's entirely possible that specifying a non-default wx-config script
> doesn't work, but that's down the wx installation, not the configure
> script.
> 

Ok, sorry for the noise. I'll see with the OP why my "solution" suddenly 
made things work for him.

Moritz


More information about the grass-dev mailing list