2
votes

I have Mac OS 10.8.2, Python 2.7.3, Xcode 4.5.1.

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.

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 enter image description here

How do I solve it?

1

1 Answers

2
votes

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