QGIS With Grass Plugin doesn't build (kpty.cpp)

lbartoletti coder at tuxfamily.org
Fri May 17 19:44:06 UTC 2013


Le Fri, 17 May 2013 07:36:53 -0700 (PDT),
GeoBSD <pierre at 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.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports To
> unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

Hello,

I work on this port, and it needs also to have -lulog in the linking.

Can you test the patch ? Works for me.

Regards


PS : I'm working also to add Globe plugin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qgis_grass_compile.diff
Type: text/x-patch
Size: 118700 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130517/69b21eb0/attachment-0001.bin>


More information about the freebsd-ports mailing list