[GRASS-dev] [GRASS GIS] #2842: configure fails to detect missing HTMLParser
GRASS GIS
trac at osgeo.org
Thu Jan 7 09:57:50 PST 2016
#2842: configure fails to detect missing HTMLParser
--------------------------+-------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Compiling | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by glynn):
Replying to [comment:2 marisn]:
> Still the issue is valid - configure step should check build time
dependencies and fail if they are not met. It is done for C, C++ - why
Python should be different?
For C/C++, the checks are often part of a more significant process, i.e.
ensuring that the necessary parameters are stored in Platform.make,
config.h, etc. That has to be done in order for the build to work, even
when everything is in order. The fact that you get an error if something
is wrong is almost a side-effect.
At present, we don't even check whether Python is installed. For C, the
relevant compiler checks are part of autoconf (AC_PROG_CC); there isn't an
equivalent for Python. With Python 3 becoming more common, it may be
worthwhile checking for Python 2.x specifically.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2842#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list