ports/182280: devel/gdb fails to build when PYTHON option enabled

Raphael Kubo da Costa rakuco at FreeBSD.org
Sun Oct 13 14:20:02 UTC 2013


The following reply was made to PR ports/182280; it has been noted by GNATS.

From: Raphael Kubo da Costa <rakuco at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc: Andrew Wilcox <AWilcox at Wilcox-Tech.com>, Luca Pizzamiglio <luca.pizzamiglio at 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


More information about the freebsd-ports-bugs mailing list