Hi
As far as I know nobody have ported pymedia to mac osx yet. I tried it
myself once but I didn't have the time nor good enough c++ knowledge to
complete the task in the time I had available :)
--
Rune Devik
http://www.garageinnovation.org
On 12/1/06, Tim Jones <[EMAIL PROTECTED]> wrote:
Hello,
I'm trying to install PyMedia 1.3.7.4 on Mac-OSX 10.4. But running
"sudo python setup.py build" produces a giant string of errors.
I've attached the errors to the bottom of this email. Does anyone
have an idea of what's going wrong and how I could fix it?
I'm a Python noob, so apologies in advance if I'm missing something
obvious.
Many thanks,
=T=
******snip*******
~/Desktop/pymedia-1.3.7.3 tones$ sudo python setup.py build
Password:
Using UNIX configuration...
OGG : not found
VORBIS : not found
FAAD : not found
MP3LAME : found
VORBISENC : not found
ALSA : not found
Continue building pymedia ? [Y,n]:
running build
running build_py
running build_ext
building 'pymedia.audio.sound' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -
DBUILD_NUM=1867 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/
mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -
DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -
DCONFIG_MP3LAME -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -I/usr/local/include/
lame -I/Users/tones/Desktop/pymedia-1.3.7.3 -Isound/ -I/System/
Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c
sound/sound.cpp -o build/temp.darwin-8.8.0-Power_Macintosh-2.3/sound/
sound.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
In file included from sound/sound.cpp:33:
sound/audio_unix.h:29:27: error: sys/soundcard.h: No such file or
directory
In file included from sound/sound.cpp:37:
sound/resample.h:5:20: error: malloc.h: No such file or directory
sound/audio_unix.h: In member function 'void OSoundStream::Uninit()':
sound/audio_unix.h:215: error: 'SNDCTL_DSP_RESET' was not declared in
this scope
sound/audio_unix.h: In member function 'int OSoundStream::Init(int,
int, int, int)':
sound/audio_unix.h:247: error: 'SNDCTL_DSP_SETFMT' was not declared
in this scope
sound/audio_unix.h:256: error: 'SNDCTL_DSP_CHANNELS' was not declared
in this scope
sound/audio_unix.h:266: error: 'SNDCTL_DSP_STEREO' was not declared
in this scope
sound/audio_unix.h:280: error: 'SNDCTL_DSP_SPEED' was not declared in
this scope
sound/audio_unix.h: In member function 'int OSoundStream::GetSpace()':
sound/audio_unix.h:309: error: 'audio_buf_info' was not declared in
this scope
sound/audio_unix.h:309: error: expected `;' before 'zz'
sound/audio_unix.h:313: error: 'SNDCTL_DSP_GETOSPACE' was not
declared in this scope
sound/audio_unix.h:313: error: 'zz' was not declared in this scope
sound/audio_unix.h:320: error: 'zz' was not declared in this scope
sound/audio_unix.h: In member function 'int OSoundStream::IsPlaying()':
sound/audio_unix.h:334: error: 'SNDCTL_DSP_GETODELAY' was not
declared in this scope
sound/audio_unix.h: In member function 'int OSoundStream::GetVolume()':
sound/audio_unix.h:361: error: 'SOUND_MIXER_READ_DEVMASK' was not
declared in this scope
sound/audio_unix.h:362: error: 'SOUND_MASK_PCM' was not declared in
this scope
sound/audio_unix.h:363: error: 'SOUND_MIXER_READ_PCM' was not
declared in this scope
sound/audio_unix.h: In member function 'int OSoundStream::SetVolume
(int)':
sound/audio_unix.h:389: error: 'SOUND_MIXER_READ_DEVMASK' was not
declared in this scope
sound/audio_unix.h:392: error: 'SOUND_MASK_PCM' was not declared in
this scope
sound/audio_unix.h:393: error: 'SOUND_MIXER_WRITE_PCM' was not
declared in this scope
sound/audio_unix.h: In member function 'int OSoundStream::Pause()':
sound/audio_unix.h:403: error: 'SNDCTL_DSP_POST' was not declared in
this scope
sound/audio_unix.h: In member function 'float OSoundStream::Play
(unsigned char*, int)':
sound/audio_unix.h:450: error: 'SNDCTL_DSP_POST' was not declared in
this scope
sound/audio_unix.h: In member function 'void ISoundStream::Uninit()':
sound/audio_unix.h:506: error: 'SNDCTL_DSP_RESET' was not declared in
this scope
sound/audio_unix.h: In member function 'int ISoundStream::Init(int,
int, int)':
sound/audio_unix.h:530: error: 'SNDCTL_DSP_SETFMT' was not declared
in this scope
sound/audio_unix.h:534: error: 'SNDCTL_DSP_STEREO' was not declared
in this scope
sound/audio_unix.h:546: error: 'SNDCTL_DSP_SPEED' was not declared in
this scope
sound/audio_unix.h: In member function 'int ISoundStream::GetSpace()':
sound/audio_unix.h:559: error: 'audio_buf_info' was not declared in
this scope
sound/audio_unix.h:559: error: expected `;' before 'zz'
sound/audio_unix.h:560: error: 'SNDCTL_DSP_GETISPACE' was not
declared in this scope
sound/audio_unix.h:560: error: 'zz' was not declared in this scope
sound/audio_unix.h:563: error: 'zz' was not declared in this scope
sound/audio_unix.h: In member function 'int Mixer::GetConnection(int,
int)':
sound/audio_unix.h:655: error: 'SOUND_MIXER_NRDEVICES' was not
declared in this scope
sound/audio_unix.h: In member function 'bool Mixer::Refresh()':
sound/audio_unix.h:673: error: 'SOUND_MIXER_READ_DEVMASK' was not
declared in this scope
sound/audio_unix.h:679: error: 'SOUND_MIXER_READ_RECMASK' was not
declared in this scope
sound/audio_unix.h:685: error: 'SOUND_MIXER_READ_STEREODEVS' was not
declared in this scope
sound/audio_unix.h:691: error: 'SOUND_MIXER_READ_RECSRC' was not
declared in this scope
sound/audio_unix.h: In member function 'int Mixer::GetConnectionsCount
(int)':
sound/audio_unix.h:743: error: 'SOUND_MIXER_NRDEVICES' was not
declared in this scope
sound/audio_unix.h: In member function 'char* Mixer::GetConnectionName
(int, int)':
sound/audio_unix.h:755: error: 'SOUND_DEVICE_LABELS' was not declared
in this scope
sound/audio_unix.h: In member function 'int Mixer::GetControlValue
(int, int, int, int, int*)':
sound/audio_unix.h:786: error: 'MIXER_READ' was not declared in this
scope
sound/audio_unix.h: In member function 'bool Mixer::SetControlValue
(int, int, int, int, int)':
sound/audio_unix.h:829: error: 'MIXER_READ' was not declared in this
scope
sound/audio_unix.h:863: error: 'MIXER_WRITE' was not declared in this
scope
sound/audio_unix.h: In member function 'bool Mixer::SetActive(int,
int, int)':
sound/audio_unix.h:901: error: 'SOUND_MIXER_WRITE_RECSRC' was not
declared in this scope
error: command 'gcc' failed with exit status 1
**************snip****************
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users