QGIS With Grass Plugin doesn't build (kpty.cpp)
Pierre Stévens
pierre at geobsd.com
Fri May 17 09:34:13 UTC 2013
Have you Qgis with Grass plugin on your v9.1 FreeBSD machine ?
- Problem come from file :
graphics/qgis/work/qgis-1.8.0/src/plugins/grass/qtermwidget/kpty.cpp
- On line 85, it tries to include <utmp.h>.
- Thanks to v9 release notes : "The utmp(5) user accounting database has
been replaced by utmpx(3). User accounting utilities will now use utmpx
database files exclusively."
- On line 51, I've tried to insert "#define HAVE_UTMPX" but it still
trying to include <utmp.h> but, new fact, another error appears :
kpty.cpp:456: error: 'struct utmpx' has no member named 'ut_name'
- Function KPty::login can not been declared.
Resources :
https://github.com/qgis/Quantum-GIS/blob/master/src/plugins/grass/qtermwidget/kpty.cpp
http://80386.nl/unix/utmpx/
More information about the freebsd-ports
mailing list