Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2013 10:33:58 +0200
From:      Pierre =?iso-8859-1?Q?St=E9vens?= <pierre@geobsd.com>
To:        freebsd-ports@freebsd.org
Subject:   QGIS With Grass Plugin doesn't build (kpty.cpp)
Message-ID:  <20130517083358.GB63515@geobsd.com>

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






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