Hi Matt, Thank a lot. I'm working on a setup.py changes to get it compile on 64 bit platforms. Can you tell me if video module will work the way you made changes ? Also what is the sys.platform returns ? Thanks a lot for your work, Dmitry/
----- Original Message ----- From: "Matt Hammond" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, August 17, 2006 4:23 AM Subject: [Pymedia-users] Getting pymedia (CVS,Aug 2006) to build under Suse 9.3 64bit > Fwiw, I managed to get pymedia to build and run under SuSE 9.3 64bit. I've > basically disabled large chunks of code :) I was only interested in the > sound, muxing and audio codecs, so I've disabled video and Player. > > FWIW everything (including the video codec related stuff) seems to > compile; however when you try to import any of the video stuff, you get > the following error: > > File "/usr/lib64/python2.4/site-packages/pymedia/__init__.py", line 26, > in ? > import muxer, audio, removable, video > File "/usr/lib64/python2.4/site-packages/pymedia/video/__init__.py", > line 23, in ? > import vcodec, ext_codecs > ImportError: /usr/lib64/python2.4/site-packages/pymedia/video/vcodec.so: > undefined symbol: mm_flags > > > A description of what I've done follows. Hopefully this will be of use to > someone. > > regards > > > Matt > > Index: setup.py > =================================================================== > RCS file: /cvsroot/pymedia/pymedia/setup.py,v > retrieving revision 1.17 > diff -r1.17 setup.py > 33,35c33,35 > < for var in cv: #"CCSHARED","GCCSHARED","CFLAGS","OPT","CONFIG_ARGS": > < if type(cv[var])== str: > < cv[var] = cv[var].replace('-fPIC','') > --- >> # for var in cv: #"CCSHARED","GCCSHARED","CFLAGS","OPT","CONFIG_ARGS": >> # if type(cv[var])== str: >> # cv[var] = cv[var].replace('-fPIC','') > 233c233 > < ('HAVE_MMX', '1' ), > --- >> ('HAVE_MMX', '0' ), > 246c246 > < FILES[ 'video.vcodec' ][ 'libavcodec' ]+= MMX_FILES > --- >> FILES[ 'video.vcodec' ][ 'libavcodec' ]+= NONMMX_FILES > > Index: inst_lib/__init__.py > =================================================================== > RCS file: /cvsroot/pymedia/pymedia/inst_lib/__init__.py,v > retrieving revision 1.10 > diff -r1.10 __init__.py > 25,27c25,27 > < __all__= [ 'muxer', 'audio', 'video', 'removable' ] > < import muxer, audio, video, removable > < from player import Player > --- >> __all__= [ 'muxer', 'audio', 'removable' ] # 'video' >> import muxer, audio, removable # 'video' >> #from player import Player > 31c31 > < muxer.extensions= muxer.audio_extensions+ muxer.video_extensions > --- >> muxer.extensions= muxer.audio_extensions #+ muxer.video_extensions > > -- > | Matt Hammond > | Research Engineer, Tech. Group, BBC, Kingswood Warren, Tadworth, Surrey, > UK > | http://kamaelia.sf.net/ > | http://www.bbc.co.uk/rd/ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Pymedia-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pymedia-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Pymedia-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pymedia-users
