Discussion:
[Pykaraoke-discuss] installation problem on linux
Francesco Ruvolo
2009-08-30 17:12:28 UTC
Permalink
Hello,

I'm trying to install on Fedora 11, I have:

python 2.6
pygame 1.8.1
wxPython 2.8.9
sdl 1.2.13
mutagen 1.16

when I try to run setup.py i get this error (I also added it in
attachment):

$ sudo python setup.py install
/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14450: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
running install
running build
running build_py
running build_ext
building '_pycdgAux' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/SDL -I/usr/include/python2.6 -c _pycdgAux.c -o build/temp.linux-i686-2.6/_pycdgAux.o
_pycdgAux.c:37:27: error: pygame/pygame.h: No such file or directory
_pycdgAux.c: In function ‘CdgPacketReader_init’:
_pycdgAux.c:194: warning: implicit declaration of function ‘PySurface_AsSurface’
_pycdgAux.c:194: warning: assignment makes pointer from integer without a cast
_pycdgAux.c: In function ‘CdgPacketReader_FillTile’:
_pycdgAux.c:349: warning: assignment makes pointer from integer without a cast
error: command 'gcc' failed with exit status 1

Someone can help me? Thank you

Bye
Francesco
Kelvin Lawson
2009-08-30 20:33:01 UTC
Permalink
Hi Francesco,

Fedora splits pygame up into a pygame and pygame-devel package. In order to
compile the fast CDG playback module you need to also install the
pygame-devel package.

Thanks,
Kelvin.
Post by Francesco Ruvolo
Hello,
python 2.6
pygame 1.8.1
wxPython 2.8.9
sdl 1.2.13
mutagen 1.16
when I try to run setup.py i get this error (I also added it in
$ sudo python setup.py install
UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
running install
running build
running build_py
running build_ext
building '_pycdgAux' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/SDL
-I/usr/include/python2.6 -c _pycdgAux.c -o
build/temp.linux-i686-2.6/_pycdgAux.o
_pycdgAux.c:37:27: error: pygame/pygame.h: No such file or directory
_pycdgAux.c:194: warning: implicit declaration of function
‘PySurface_AsSurface’
_pycdgAux.c:194: warning: assignment makes pointer from integer without a cast
_pycdgAux.c:349: warning: assignment makes pointer from integer without a cast
error: command 'gcc' failed with exit status 1
Someone can help me? Thank you
Bye
Francesco
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Pykaraoke-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss
Loading...