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

Attachment: main.log
Description: main.log

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to