graphics/qgis does not build on 9.0-BETA1

Rainer Hurling rhurlin at gwdg.de
Thu Aug 11 06:30:02 UTC 2011


After the latest patches to make the GRASS plugin work QGIS does not 
build any more on 9.0-BETA1.


----------------------------------------
[..snip..]
[ 94%] Building CXX object 
src/plugins/grass/CMakeFiles/grassplugin.dir/qtermwidget/kpty.cpp.o
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:85:19: 
error: utmp.h: No such file or directory
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp: 
In member function 'void KPty::login(const char*, const char*)':
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:449: 
error: aggregate 'utmp l_struct' has incomplete type and cannot be defined
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:488: 
error: '::login' has not been declared
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp: 
In member function 'void KPty::logout()':
/usr/ports/graphics/qgis/work/qgis-1.7.0/src/plugins/grass/qtermwidget/kpty.cpp:541: 
error: '::logout' has not been declared
*** Error code 1
Stop in /usr/ports/graphics/qgis/work/qgis-1.7.0.
----------------------------------------


Obviously the change from 'utmp.h' to 'utmpx.h' is not solved for this 
plugin?

It seems it is necessary but not sufficient to define HAVE_UTMPX in 
src/plugins/grass/qtermwidget/kpty.cpp (for example at line 51).

Rainer Hurling


More information about the freebsd-ports mailing list