Helena Mitasova wrote: > >> but I am having troubles compiling the SVN GRASS with wxPython - > >> although the configure finds wxprec.h it does not find pseudodc.h, > >> in spite of the fact that I have it (maybe in a wrong place?) > >> (see more below). > >> > >> Thanks a lot for any advice, > >> > >> Helena > >> > >> this is what I tried to add to the config file > >> ..... > >> --with-python \ > >> --with-wxwidgets=`which wx-config` \ > >> --with-wxwidgets-includes=/usr/lib/wxPython-2.8.7.1-gtk2-unicode/ > >> include/wx-2.8/ > >> > >> but I still get the same error: > >> checking whether to use wxWidgets... yes > >> checking for wx-config... /usr/bin/wx-config > >> checking wxWidgets version... 2.8.4 > >> checking for wx/wxprec.h... yes > >> checking for wx/wxPython/pseudodc.h... no > >> configure: error: *** Unable to locate wxWidgets includes. > >> > >> (I tried also > >> --with-wxwidgets-includes=/usr/lib/wxPython-2.8.7.1-gtk2-unicode/ > >> include/wx-2.8/wx/wxPython) > >> > >> This is where the related files are located: > > > >> deliboz% locate pseudodc.h (this gives error) > > > >> /usr/lib/wxPython-2.8.7.1-gtk2-unicode/include/wx-2.8/wx/wxPython/ > >> pseudodc.h > > > > Try: > > > > --with-wxwidgets-includes=/usr/lib/wxPython-2.8.7.1-gtk2-unicode/ > > include/wx-2.8 > > I did, but it still cannot find it,
Oops; there isn't a --with-wxwidgets-includes= switch (configure silently ignores unknown switches). The compilation and linking switches are determined solely by the output from wx-config. If the wxPython-specific headers don't get put into the wx include directory, you lose. You could try making a symlink. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
