On Mon, Dec 29, 2008 at 01:56:46PM +0100, Steven Le Roux wrote:
> yes the problem was around pymedia, which seemed unmaintained...
> 
> great you managed using it ! could you share this build ? i didn't
> manage it last time I tried...

Get the Pymedia 1.3.7.3 source, and apply the attached patch.  It
defines HAVE_LRINTF in the setup which stops it from redeclaring
lrintf() which Debian with GCC 4 already has.  Run ‘python setup.py
install’.

If you give me a moment I’ll have a checkinstall based .deb (the
setup.py script doesn’t provide bdist_deb).

Simon
-- 
A complex system that works is invariably found to have evolved from a
simple system that works.—John Gall
--- pymedia-1.3.7.3-orig/setup.py	2006-06-20 07:04:43.000000000 +0100
+++ pymedia-1.3.7.3/setup.py	2008-12-06 09:29:45.000000000 +0000
@@ -198,7 +198,7 @@
 f.write( str( int( buildNum )+ 1 ) )
 f.close()
 
-DEFINES= [( 'BUILD_NUM', buildNum ),]
+DEFINES= [( 'BUILD_NUM', buildNum ), ('HAVE_LRINTF', None)]
 
 if sys.platform == 'win32':
 		print 'Using WINDOWS configuration...\n'

Attachment: signature.asc
Description: Digital signature

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to