Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2011 08:29:56 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        wen@FreeBSD.org
Cc:        freebsd-ports@freebsd.org
Subject:   graphics/qgis does not build on 9.0-BETA1
Message-ID:  <4E4376E4.5070509@gwdg.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E4376E4.5070509>