[MacPorts] #40690: python27: Configure error: Fatal: You must get working getaddrinfo() function.

MacPorts noreply at macports.org
Fri Oct 25 07:12:36 PDT 2013


#40690: python27: Configure error: Fatal: You must get working getaddrinfo()
function.
-----------------------+-----------------------
  Reporter:  sofcik@…  |      Owner:  jwa@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.0
Resolution:            |   Keywords:  mavericks
      Port:  python27  |
-----------------------+-----------------------

Comment (by gonhidi@…):

 Are your Xcode command line tools properly installed?

 I also came across the python27 +universal issue you describe; many
 `./configure` checks such as the getaddrinfo were negatve because `gcc -o
 conftest -arch x86_64 -arch i386 -g -O2  -arch x86_64 -arch i386 -isysroot
 /  conftest.c` was failing. I set the issue aside for a time until I found
 out that `/usr/include` was missing (when clang-3.3 failed to build
 because it could not find AvailabilityMacros.h). In case it wasn't an
 intended novelty, I visited
 <https://developer.apple.com/downloads/index.action> (free registration
 required), downloaded and installed the late October 2013 command line
 package, and presto, `/usr/include` was back and installing python27
 +universal (and clang-3.3) now worked.

 I wonder if I was supposed to have manually downloaded and upgraded the
 command line tools. During the Xcode 5.0.1 update I accepted a prompt to
 download and install two or three related packages, which I think included
 the command line tools; I could be wrong, or they might have been a
 different version. Also, since it was at the time of the OS X 10.9
 Mavericks upgrade, the developer package installations might have happened
 under 10.8 Snow Leopard or even intermingled, perhaps causing trouble.

-- 
Ticket URL: <https://trac.macports.org/ticket/40690#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list