[GRASS-dev] [GRASS GIS] #1758: Disabling python support does not prevent entry into python directories during build

GRASS GIS trac at osgeo.org
Mon Feb 18 16:25:05 PST 2013


#1758: Disabling python support does not prevent entry into python directories
during build
------------------------+---------------------------------------------------
  Reporter:  brook      |       Owner:  grass-dev@…              
      Type:  defect     |      Status:  reopened                 
  Priority:  major      |   Milestone:  6.4.3                    
 Component:  Compiling  |     Version:  6.4.2                    
Resolution:             |    Keywords:  python, wxgui            
  Platform:  All        |         Cpu:  Unspecified              
------------------------+---------------------------------------------------

Comment(by glynn):

 Replying to [comment:6 hamish]:

 > Is the goal to build on a system without any python on it, to build on a
 system without wxWidgets on it, or to just not build the wxGUI?

 --with-python and --with-wxwidgets tell the configure script to check for
 Python/wxWidgets compilation/linking switches. These are only necessary if
 you're building binary modules (programs or shared libraries) which link
 against the Python or wx libraries (do any of these still exist? 7.0 has
 visualisation/wximgview, but that's largely obsoleted by
 scripts/wxpyimgview).

 Note that neither switch is enabled by default, so there's no point in
 using --without-python or --without-wxwidgets.

 If you enable the checks and they fail, configure will fail.

 > If it's just to avoid building with the wxGUI it's not really a problem,
 since most of it is not really built, just copied in place and then left
 unused.

 Any Python modules and the wxGUI should be "built" regardless of whether
 Python and/or wxWidgets are installed on the build system.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1758#comment:9>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list