On Jun 15, 2007, at 04:56, Dirk van Oosterbosch, IR labs wrote:

Yesterday I installed MacPorts, and this night I had my pBook crunch out some pretty big installation (ffmpeg with a list of codecs). I turned to MacPorts because I gave up on installing all the video/audio codec libraries my hand.

I actually want to use PyMedia (which is based upon ffmpeg, and which needs all the same codec libraries). However, since my python lives in /url/local/bin/python and python's package installer easy_install lives in /Library/ Frameworks/Python.framework/Versions/2.5/bin/easy_install they do not recognize or find the codec libraries installed in /opt/local/bin

To install ffmpeg I installed this:
% sudo port install ffmpeg +lame +libogg +vorbis +xvid +x264 +a52 +faac +faad +dts
But
% sudo easy_install PyMedia
is still saying:
OGG          : not found
VORBIS       : not found
FAAD         : not found
MP3LAME      : not found
VORBISENC    : not found
ALSA         : not found

How can I mix libraries installed with MacPorts, with normal installed packages? Or how can I have python / easy_install recognize the libraries in / opt/local/bin?

Not sure how to install pymedia, having never heard of it. But presumably you just have to tell pymedia where to find the MacPorts- installed libraries, which as you know are under /opt/local. Ask the pymedia folks how to do that.

Once you figure it out, you might want to consider contributing a portfile for pymedia, so that in the future you (and everyone else interested in pymedia) can just say "sudo port install pymedia" to get it.



_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to