Date: Sat, 18 May 2013 10:35:22 +0200 From: Rainer Hurling <rhurlin@gwdg.de> To: lbartoletti <coder@tuxfamily.org> Cc: freebsd-ports@freebsd.org Subject: Re: QGIS With Grass Plugin doesn't build (kpty.cpp) Message-ID: <51973D4A.1040307@gwdg.de> In-Reply-To: <20130517214341.5147989b@bureau> References: <20130517083358.GB63515@geobsd.com> <5195FB7D.8040002@gwdg.de> <1368801413862-5812449.post@n5.nabble.com> <20130517214341.5147989b@bureau>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17.05.2013 21:43 (UTC+2), lbartoletti wrote: > Le Fri, 17 May 2013 07:36:53 -0700 (PDT), > GeoBSD <pierre@geobsd.com> a écrit : > >> - Compilation goes further when adding : >> #define HAVE_UTEMPTER, >> >> - But root problem is still the same. It comes from functions >> KPty::login() and KPty:logout(). >> >> CMakeFiles/grassplugin.dir/qtermwidget/kpty.cpp.o: In function >> `KPty::login(char const*, char const*)': >> kpty.cpp:(.text+0x21e): undefined reference to `addToUtmp' >> >> CMakeFiles/grassplugin.dir/qtermwidget/kpty.cpp.o: In function >> `KPty::logout()': >> kpty.cpp:(.text+0x3d7): undefined reference to `removeLineFromUtmp' >> >> - I'm not sure if it is correct to use HAVE_UTEMPTER instead of >> HAVE_UTMPX (which is the standard) >> >> - It's a vicious circle. It will better if we can modify the file >> "kpty.cpp" to be directly compatible with FreeBSD and submit it to >> QGIS developpers. >> >> Any help will be (very) appreciated. >> >> >> -- >> View this message in context: >> http://freebsd.1045724.n5.nabble.com/QGIS-With-Grass-Plugin-doesn-t-build-kpty-cpp-tp5812385p5812449.html >> Sent from the freebsd-ports mailing list archive at Nabble.com. > > Hello, > > I work on this port, and it needs also to have -lulog in the linking. > > Can you test the patch ? Works for me. [After some manual adaptation your patch applied in the right places. Don't know, if this was a problem on my side.] And yes, I can confirm, that now graphics/qgis builds and installs fine with option GRASS enabled. Some small first tests to read in GRASS datasets and locations seems to work again :) Many thanks for your work and have a nice weekend, Rainer Hurling > > Regards > > > PS : I'm working also to add Globe plugin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51973D4A.1040307>