From owner-freebsd-ports@FreeBSD.ORG Sat May 18 08:35:29 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 64F9E7CB for ; Sat, 18 May 2013 08:35:29 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 04FB97D2 for ; Sat, 18 May 2013 08:35:28 +0000 (UTC) Received: from p5dc3eac2.dip0.t-ipconnect.de ([93.195.234.194] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Udcbt-0005r0-S3; Sat, 18 May 2013 10:35:26 +0200 Message-ID: <51973D4A.1040307@gwdg.de> Date: Sat, 18 May 2013 10:35:22 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: lbartoletti Subject: Re: QGIS With Grass Plugin doesn't build (kpty.cpp) References: <20130517083358.GB63515@geobsd.com> <5195FB7D.8040002@gwdg.de> <1368801413862-5812449.post@n5.nabble.com> <20130517214341.5147989b@bureau> In-Reply-To: <20130517214341.5147989b@bureau> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 08:35:29 -0000 On 17.05.2013 21:43 (UTC+2), lbartoletti wrote: > Le Fri, 17 May 2013 07:36:53 -0700 (PDT), > GeoBSD 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