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 <[EMAIL PROTECTED]> 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. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
