[GRASS-dev] [GRASS GIS] #3493: Compilation error with python 2.6

GRASS GIS trac at osgeo.org
Mon Feb 12 10:59:59 PST 2018


#3493: Compilation error with python 2.6
-----------------------+-------------------------
 Reporter:  vesnikos   |      Owner:  grass-dev@…
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  Compiling  |    Version:  svn-trunk
 Keywords:             |        CPU:  Unspecified
 Platform:  Linux      |
-----------------------+-------------------------
 Tried to compile the latest grass from source, I got this error:

 Traceback (most recent call last):
   File "/home/nv1g17/grass/dist.x86_64-pc-linux-gnu/tools/mkhtml.py", line
 38, in <module>
     if sys.version_info.major == 2:
 AttributeError: 'tuple' object has no attribute 'major'
 make[4]: *** [/home/xxxxx/grass/dist.x86_64-pc-linux-
 gnu/docs/html/pngdriver.html] Error 1


 my python:

 Python 2.6.6 (r266:84292, May  1 2012, 13:52:17)
 [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2

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



More information about the grass-dev mailing list