[Qgis-user] FreeBSD 9.1, QGIS doesn't build

Pierre Stévens pierre at geobsd.com
Sun Apr 21 10:49:25 PDT 2013


Hi, when trying to install QGIS with Grass Plugins from Ports on FreeBSD
9.1, I get the following :

Building CXX object src/plugins/grass/CMakeFiles/grassplugin.dir/qtermwidget/kpty.cpp.o

/usr/ports/graphics/qgis/work/qgis-1.8.0/src/plugins/grass/qtermwidget/kpty.cpp:85:19: error: utmp.h: No such file or directory

/usr/ports/graphics/qgis/work/qgis-1.8.0/src/plugins/grass/qtermwidget/kpty.cpp: In member function 'void KPty::login(const char*, const char*)':

/usr/ports/graphics/qgis/work/qgis-1.8.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.8.0/src/plugins/grass/qtermwidget/kpty.cpp:488: error: '::login' has not been declared

/usr/ports/graphics/qgis/work/qgis-1.8.0/src/plugins/grass/qtermwidget/kpty.cpp: In member function 'void KPty::logout()':

/usr/ports/graphics/qgis/work/qgis-1.8.0/src/plugins/grass/qtermwidget/kpty.cpp:541: error: '::logout' has not been declared
*** [src/plugins/grass/CMakeFiles/grassplugin.dir/qtermwidget/kpty.cpp.o] Error code 1


I've tried the solution proposed by Rainer Hurling by adding

#define HAVE_UTEMPTER in kpty.cpp 

But it didn't work.

Anyone an idea ?



More information about the Qgis-user mailing list