[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pygame] 0.3 Released
ShredWheat writes:
> Version 0.3 of pygame is released and ready for your paws.
Thanks for this release, Pete!
>
> the "auto-config" routines are a little smarter now. there is
> now a simple "config.py" script you can run which will make
> a pretty good shot at getting your Setup file created. i'd like
> to get feedback on the new config stuff. it is about the same on
> windows. on unix now it attempts to use the "sdl-config" script
> to automatically get the proper compiler flags. please try and
> report :]
>
'python config.py' runs fine, and creates the following Setup file
(boring bits excluded):
<<<begin Setup file listing>>>
#flags needed to link each dependency
#--StartConfig
SDL = -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpth
readFONT = -lSDL_ttf
IMAGE = -lSDL_image
MIXER = -lSDL_mixer
SMPEG = -lsmpeg
#--EndConfig
<<<end Setup file listing>>>
I don't think those commas belong there. Unfortunately, 'python
setup.py install' then fails, with:
<<<begin error listing>>>
warning: Setup, line 9: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 9: unrecognized argument '='
warning: Setup, line 10: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 10: unrecognized argument '='
warning: Setup, line 11: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 11: unrecognized argument '='
warning: Setup, line 12: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 12: unrecognized argument '='
warning: Setup, line 13: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 13: unrecognized argument '='
warning: Setup, line 14: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 14: unrecognized argument '='
warning: Setup, line 15: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 15: unrecognized argument '='
warning: Setup, line 16: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 16: unrecognized argument '='
warning: Setup, line 17: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 17: unrecognized argument '='
warning: Setup, line 18: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 18: unrecognized argument '='
warning: Setup, line 19: unrecognized argument '-Wl,-rpath,/usr/lib'
warning: Setup, line 19: unrecognized argument '='
Traceback (most recent call last):
File "setup.py", line 28, in ?
extensions = read_setup_file('Setup')
File "/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/extension.py", line 140, in read_setup_file
File "/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/sysconfig.py", line 260, in expand_makefile_vars
TypeError: cannot add type "None" to string
<<<end error listing>>>
Changing the compiler flags back to:
SDL = -I/usr/include/SDL -D_REENTRANT -lSDL
allows me to build normally.
I'll have the rpms up tomorrow night, Wednesday at the outside.
--
----------------------------------------------------------------
David "Futility [D!]" Clark | Everyone's gotta be something.
silenus@telus.net | Me, I'm garbage.
| It's all I've ever wanted to be.
| Shock me again, and I'll say
| anything you want me to. -MGB
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org