Pygame 1.9.1 on Slackware64 14.0
Hi all,
I am trying to build and install pygame 1.9.1 on a Slackware64 14.0 machine. When I type ; python setup.py build I get ; In file included from src/_camera.c:36:0: src/camera.h:42:32: fatal error: linux/videodev.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 Failure is originating from pygame.camera module trying to build. Any ideas for a workaround ? Thanks in advance. |
apply these modifications to slackbuilds.org build script
Code:
--- pygame.orig/pygame.SlackBuild 2012-12-12 05:49:22.067570944 +0100 |
Quote:
|
you can either:
- see the lines changed above and modify the original files accordingly with a text editor; - save the text above as a file called my.patch and from the folder of the slackbuild of pygame do a Code:
patch -p1 -i /path/to/my.patch http://slackbuilds.org/repository/14.0/python/pygame/ |
Quote:
Thank you! |
All times are GMT -5. The time now is 07:37 AM. |