Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2013 14:20:01 GMT
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/182280: devel/gdb fails to build when PYTHON option enabled
Message-ID:  <201310131420.r9DEK1N3056146@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/182280; it has been noted by GNATS.

From: Raphael Kubo da Costa <rakuco@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc: Andrew Wilcox <AWilcox@Wilcox-Tech.com>, Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
Subject: Re: ports/182280: devel/gdb fails to build when PYTHON option enabled
Date: Sun, 13 Oct 2013 17:16:34 +0300

 The problem seems to come from the combination of PYTHON and
 BUNDLED_READLINE.
 
 If one chooses PORTS_READLINE instead, this is the command line the
 configure script uses to detect Python:
 
   configure:8173: checking for python2.7
   configure:8191: cc -o conftest -O2 -pipe -DRL_NO_COMPAT -fno-strict-aliasing -std=gnu89 -I/usr/local/include  -I/usr/local/include/python2.7 -I/usr/local/include/python2.7  -L/usr/local/lib -lreadline conftest.c -lz -lm    -L/usr/local/lib/python2.7/config -lintl -lutil -lm -lpython2.7 -Wl,--export-dynamic >&5
 
 On the other hand, if BUNDLED_READLINE is chosen, -L/usr/local/lib
 -lreadline is not passed and the linker cannot find libintl.so:
 
   configure:8173: checking for python2.7
   configure:8191: cc -o conftest -O2 -pipe -DRL_NO_COMPAT -fno-strict-aliasing -std=gnu89   -I/usr/local/include/python2.7 -I/usr/local/include/python2.7   conftest.c -lncurses -lz -lm    -L/usr/local/lib/python2.7/config -lintl -lutil -lm -lpython2.7 -Wl,--export-dynamic >&5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310131420.r9DEK1N3056146>