[GRASS-dev] GRASS6.3 on Airbook and GRASS SVN on RH
Martin Landa
landa.martin at gmail.com
Mon Apr 21 04:00:47 EDT 2008
Hi,
2008/4/21, Glynn Clements <glynn at gclements.plus.com>:
> > >> 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.
see
http://trac.osgeo.org/grass/ticket/51
A symlink should work, anyway do we need to add --wx-widgets-includes
and wx-widgets-libs to the configuration script?
Do you have wxPython-specific wx-config somewhere? E.g. in Mandriva
there is /usr/lib/wxPython/bin/wx-config.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
More information about the grass-dev
mailing list