BIND 10 #3277: configure errors

BIND 10 Development do-not-reply at isc.org
Mon Dec 30 20:52:36 UTC 2013


#3277: configure errors
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:  UnAssigned
                       Type:         |                Status:  new
  defect                             |             Milestone:  Next-Sprint-
                   Priority:         |  Proposed
  medium                             |              Keywords:
                  Component:  build  |             Sensitive:  0
  system                             |           Sub-Project:  Core
               CVSS Scoring:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 configure errors:

 {{{
 checking for main in -lpython3.1... no
 ./configure: line 15510: test: too many arguments
 checking for library containing inet_pton... -lnsl
 }}}
 and
 {{{
 checking whether __clang__ is declared... no
 grep: illegal option -- q
 Usage: grep -hblcnsviw pattern file . . .
 checking whether -Wl,-R flag is available in linker... yes
 }}}

 Here is my fix:

 {{{
 diff --git a/configure.ac b/configure.ac
 index f508400..164c617 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -70,7 +70,7 @@ AM_CONDITIONAL(USE_CLANGPP, test "X${CLANGPP}" = "Xyes")

  dnl Determine if weare using GNU sed
  GNU_SED=no
 -$SED --version 2> /dev/null | grep -q GNU
 +$SED --version 2> /dev/null | grep GNU > /dev/null 2>&1
  if test $? -eq 0; then
    GNU_SED=yes
  fi
 @@ -421,7 +421,7 @@ fi
  # Python 3.2 has an unused parameter in one of its headers. This
  # has been reported, but not fixed as of yet, so we check if we need
  # to set -Wno-unused-parameter.
 -if test "X$GXX" = "Xyes" -a $werror_ok = 1; then
 +if test "X$GXX" = "Xyes" -a "$werror_ok" = 1; then
         CPPFLAGS_SAVED="$CPPFLAGS"
         CPPFLAGS=${PYTHON_INCLUDES}
         CXXFLAGS_SAVED="$CXXFLAGS"
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/3277>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list