[GRASS-dev] [GRASS GIS] #51: wxPython/pseudodc.h not found

GRASS GIS trac at osgeo.org
Sat Feb 16 11:22:26 EST 2008


#51: wxPython/pseudodc.h not found
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  6.4.0                    
Component:  default  |     Version:  svn-trunk                
 Keywords:  python   |  
---------------------+------------------------------------------------------
 I have taken the wxPython 2.8.7 SRPM from Mandriva  2008.1 and compiled on
 my 2007.1 box.
 Using the new configure, still wxPython/pseudodc.h is not found:

 {{{
 ./configure --with-wxwidgets=`which wx-config` ...
 ...
 checking whether to use Python... yes
 checking for python-config... /usr/bin/python-config
 checking for Python.h... yes
 checking whether to use wxWidgets... yes
 checking for wx-config... /usr/bin/wx-config
 checking wxWidgets version... 2.8.7
 checking for wx/wxprec.h... yes
 checking for wx/wxPython/pseudodc.h... no
 configure: error: * Unable to locate wxWidgets includes.
 }}}

 But:

 {{{
 locate pseudodc.h
 /usr/lib/wxPython/include/wx-2.8/wx/wxPython/pseudodc.h
 }}}

 And:
 {{{
 wx-config --cflags
 -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-ansi-release-2.8
 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_WXGTK_
 -pthread
 }}}


 I assume that we need something line --with-wxpython-includes.

 As hack:

 {{{
 ln -s /usr/lib/wxPython/include/wx-2.8/wx/wxPython /usr/include/wx-2.8/wx/
 }}}

 makes it work.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/51>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list