astro/gpsd fails to build on CURRENT
Rainer Hurling
rhurlin at gwdg.de
Tue May 7 17:27:29 UTC 2013
On 07.05.2013 18:47 (UTC+2), Christoph Moench-Tegeder wrote:
> ## Rainer Hurling (rhurlin at 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 at 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 ...
More information about the freebsd-ports
mailing list