macports trouble on OS X Lion

Goldberg, Arthur P arthur.p.goldberg at mssm.edu
Wed Jun 6 09:36:15 PDT 2012


Another problem
$ sudo port install mercurial
Password:
--->  Computing dependencies for mercurial
--->  Fetching archive for mercurial
--->  Attempting to fetch mercurial-2.2.1_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/mercurial
--->  Fetching distfiles for mercurial
--->  Attempting to fetch mercurial-2.2.1.tar.gz from http://mercurial.selenic.com/release/
--->  Verifying checksum(s) for mercurial
--->  Extracting mercurial
--->  Applying patches to mercurial
--->  Configuring mercurial
--->  Building mercurial
Error: org.macports.build for port mercurial returned: command execution failed
Please see the log file for port mercurial for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mercurial/mercurial/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mercurial failed

In the log file I find a fatal error:
:info:build /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:33:10: fatal error: 'stdio.h' file not found
:info:build #include <stdio.h>
:info:build          ^
:info:build 1 error generated.
:info:build error: command '/Developer/usr/bin/clang' failed with exit status 1

I don't understand why 'stdio.h' wouldn't be found. I've installed XCode.

Thoughts?

BR
A

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120606/37679311/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log
Type: application/octet-stream
Size: 29004 bytes
Desc: main.log
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120606/37679311/attachment.obj>


More information about the macports-users mailing list