Date: Tue, 07 May 2013 19:27:25 +0200 From: Rainer Hurling <rhurlin@gwdg.de> To: Christoph Moench-Tegeder <cmt@burggraben.net> Cc: freebsd-ports@freebsd.org Subject: Re: astro/gpsd fails to build on CURRENT Message-ID: <5189397D.7050300@gwdg.de> In-Reply-To: <20130507164745.GA2066@elch.exwg.net> References: <51892984.4050301@gwdg.de> <20130507164745.GA2066@elch.exwg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07.05.2013 18:47 (UTC+2), Christoph Moench-Tegeder wrote: > ## Rainer Hurling (rhurlin@gwdg.de): > >> When I try to build astro/gpsd on 10.0-CURRENT it fails with the >> following messages (devel/scons should be up to date): > > The root cause of this is the interaction between scons and > ncurses5-config (from devel/ncurses) - scons mis-parses the > output of the (autotools-generated) ncurses5-config: > : cmt@elch:~$ ncurses5-config --libs > : -L/usr/local/lib -rpath /usr/local/lib -lncurses -ltinfo > > The argument to -rpath is not recognized as such but instead taken > as a file argument and objectified as such. > I enden up "fixing" this by adding a "=" after -rpath in ncurses5-config, > which is valid syntax for gcc/ld and keeps scons of that "/usr/local/lib". > I'm quite sure that there should be a better solution. > > Regards, > Christoph > Christoph, Thanks for your answer. I am wondering, if this could have something to do with the simultaneous presence of libncurses in base system and ports? ldconfig -r | grep libncurses 29:-lncursesw.8 => /lib/libncursesw.so.8 30:-lncurses.8 => /lib/libncurses.so.8 1127:-lncursesw.5 => /usr/local/lib/libncursesw.so.5 1277:-lncurses.5 => /usr/local/lib/libncurses.so.5 In astro/gpsd file 'SConstruct', lines 450--465 it seems, they try to test for the right version of ncurses ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5189397D.7050300>