Mountain Lion中的Mac 10.4 SDK [英] Mac 10.4 SDK in Mountain Lion
问题描述
我有Mac OS 10.8.2,Python 2.7.3,Xcode 4.5.1.
I have Mac OS 10.8.2, Python 2.7.3, Xcode 4.5.1.
我正在尝试按照 python
中使用 import pyaudio
)http://www.portaudio.com/docs/v19-doxydocs/compile_mac_coreaudio.html"rel =" nofollow noreferrer> http://www.portaudio.com/docs/v19-doxydocs/compile_mac_coreaudio.html .
I am trying to install portaudio
(so that I can use import pyaudio
in python
) following the instructions in http://www.portaudio.com/docs/v19-doxydocs/compile_mac_coreaudio.html.
如站点中所述,我从 http://connect.apple.com ,作为DMG文件下载.我已成功安装.但是 MacOSX10.4.sdk
从未将其自身放置在 Applications/Xcode.app/Developer/Platforms/MacOSX.platform/Developer/Library/SDKs
的路径中 MacOSX10.7.sdk
和 MacOS10.8.sdk
.考虑到它的不可用性,请 ./configure&&make
显示错误.
As mentioned in the site, I downloaded MacOSX10.4 SDK from http://connect.apple.com, which downloaded as DMG file. I installed it successfully. But MacOSX10.4.sdk
never got itself placed it in the path Applications/Xcode.app/Developer/Platforms/MacOSX.platform/Developer/Library/SDKs
, along with MacOSX10.7.sdk
and MacOS10.8.sdk
. Considering its unavailability, ./configure && make
shows error.
这是文件夹的屏幕截图
Here is a screenshot of the folder
以下是错误的屏幕截图
Here is a screenshot of the errors
我该如何解决?
推荐答案
我会使用 homebrew 安装它一个>.我正在运行MountainLion,它在14秒内安装完毕.
I would just install it using homebrew. I am running MountainLion and it installed in 14 seconds.
$ brew install portaudio
==> Downloading http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
==> Patching patching file include/pa_mac_core.h
==> ./configure --prefix=/usr/local/Cellar/portaudio/19.20111121 --enable-mac-universal=no
==> make install /usr/local/Cellar/portaudio/19.20111121: 8 files, 308K, built in 14 seconds
这篇关于Mountain Lion中的Mac 10.4 SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!