[QGIS-trac] [Quantum GIS] #2021: [FreeBSD] problem compiling Qgis with grass. Kpty.c qtermwidget

Quantum GIS qgis at qgis.org
Sat Oct 17 12:40:11 EDT 2009


#2021: [FreeBSD] problem compiling Qgis with grass. Kpty.c qtermwidget
---------------------------------------------------------+------------------
   Reporter:  slash                                      |              Owner:  nobody
       Type:  bug                                        |             Status:  new   
   Priority:  critical: causes crash or data corruption  |          Milestone:        
  Component:  Build/Install                              |            Version:  1.3.0 
   Keywords:  freebsd grass                              |   Platform_version:  8.0   
   Platform:  FreeBSD                                    |           Must_fix:  Yes   
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 On FreeBSD 8.0RC1 (i don't know for older version) you can't compile Qgis
 with Grass option.
 There is a problem with kpty.c file in qtermwidget

 [ 77%] Building CXX object
 src/plugins/grass/CMakeFiles/grassplugin.dir/qtermwidget/kpty.o
 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:
 In member function 'void KPty::login(const char*, const char*)':

 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:489:
 error: 'utmpname' was not declared in this scope
 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:490:
 error: 'setutent' was not declared in this scope

 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:491:
 error: 'pututline' was not declared in this scope
 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:492:
 error: 'endutent' was not declared in this scope

 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:493:
 error: 'updwtmp' was not declared in this scope
 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:
 In member function 'void KPty::logout()':

 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:539:
 error: 'utmpname' was not declared in this scope
 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:540:
 error: 'setutent' was not declared in this scope

 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:541:
 error: 'getutline' was not declared in this scope
 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:558:
 error: 'pututline' was not declared in this scope

 /usr/ports/graphics/qgis/work/qgis-1.3.0/src/plugins/grass/qtermwidget/kpty.cpp:560:
 error: 'endutent' was not declared in this scope
 *** Error code 1

 Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.

 *** Error code 1

 Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.
 *** Error code 1

 Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.
 *** Error code 1

 Stop in /usr/ports/graphics/qgis.
 *** Error code 1


 Stop in /usr/ports/graphics/qgis.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2021>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list