Opened 12 years ago

Closed 12 years ago

#36150 closed defect (invalid)

Processing of port python27 failed on MacOSX10.8

Reported by: phillicl@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: python27

Description (last modified by ryandesign (Ryan Carsten Schmidt))

According to the log file, this seems to be where the problem is occurring

:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.3'
:info:build /usr/bin/clang -c -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -I/opt/local/include  -DPy_BUILD_CORE -o Python/mactoolboxglue.o Python/mactoolboxglue.c
:info:build In file included from Python/mactoolboxglue.c:27:
:info:build In file included from Include/pymactoolbox.h:10:
:info:build In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
:info:build /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:37:10: fatal error: 'CFNetwork/CFNetwork.h' file not found
:info:build #include <CFNetwork/CFNetwork.h>
:info:build          ^
:info:build 1 error generated.
:info:build make: *** [Python/mactoolboxglue.o] Error 1

Attachments (2)

main.log (19.7 KB) - added by phillicl@… 12 years ago.
main.log
main.2.log (168.7 KB) - added by phillicl@… 12 years ago.
main.log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to jwa@…
Port: python27 added

Please attach the main.log file.

Changed 12 years ago by phillicl@…

Attachment: main.log added

main.log

comment:2 in reply to:  1 Changed 12 years ago by phillicl@…

Replying to ryandesign@…:

Please attach the main.log file.

Changed 12 years ago by phillicl@…

Attachment: main.2.log added

main.log

comment:3 Changed 12 years ago by ci42

It seems some system headers are missing in your system:

:info:build /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:37:10: fatal error: 'CFNetwork/CFNetwork.h' file not found

Please check your Xcode (and Command Line Tools) installation (see http://guide.macports.org/#installing.xcode).

comment:4 Changed 12 years ago by phillicl@…

I checked my Xcode, downloaded the command line tools, cleaned my python27, reinstalled it. And it worked!

Thank you for your help.

comment:5 Changed 12 years ago by ci42

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.