[GRASS-dev] [GRASS GIS] #2842: configure fails to detect missing HTMLParser

GRASS GIS trac at osgeo.org
Wed Dec 30 23:47:32 PST 2015


#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
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 Seems that Python module HTMLParser is a requirement to compile GRASS 7
 trunk. Still configure part will give no warning if it is missing. If it
 is required, it should be tested during configure phase. If it is
 optional, compilation should not fail in case of its absence.

 Example of failure message:
 {{{
 if [ "pngdriver" != "" -a -f "pngdriver".html ] ; then make html ; fi
 make[1]: Entering directory '/home/maris/soft/grass_trunk/lib/pngdriver'
 VERSION_NUMBER=7.1.svn /home/maris/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/tools/g.html2man.py /home/maris/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/docs/html/pngdriver.html /home/maris/soft/grass_trunk/dist.x86_64-pc-
 linux-gnu/docs/man/man1/pngdriver.1
 Traceback (most recent call last):
   File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/tools/g.html2man.py", line 4, in <module>
     from html import HTMLParser, HTMLParseError
   File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/tools/html.py", line 4, in <module>
     import HTMLParser as base
 ImportError: No module named 'HTMLParser'
 ../../include/Make/Html.make:11: recipe for target
 '/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/docs/man/man1/pngdriver.1' failed
 make[1]: *** [/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/docs/man/man1/pngdriver.1] Error 1
 make[1]: Leaving directory '/home/maris/soft/grass_trunk/lib/pngdriver'
 ../../include/Make/Lib.make:26: recipe for target 'lib' failed
 make: *** [lib] Error 2
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2842>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list