[QGIS-trac] Re: [Quantum GIS] #2021: [FreeBSD] problem compiling
Qgis with grass. Kpty.c qtermwidget
Quantum GIS
qgis at qgis.org
Wed Oct 21 13:34:35 EDT 2009
#2021: [FreeBSD] problem compiling Qgis with grass. Kpty.c qtermwidget
-----------------------------------------------------+----------------------
Reporter: slash | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone:
Component: Build/Install | Version: 1.3.0
Resolution: | Keywords: freebsd grass
Platform_version: 8.0 | Platform: FreeBSD
Must_fix: Yes | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by slash):
I have found the problem by myself (and maybe the solution).
The file kpty.cpp in /qgis/src/plugins/grass/qtermwidget make a call to
functions in utmp.h header of the GLIBC. setutent updwtmp & co...
In fact we don't have this functions in FreeBSD Headers.
So the solution is to copy/paste the code source of this functions in the
ktpy file like in the attached file.
It's not beautiful but it works. I have can build install and use grass
plugins without crash with this solutions.
Regards.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2021#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list