Bigglez
November 19th, 2005, 09:06 AM
Hello, I had this posted in Kubuntu Support forum, but had no takers, so took the risk of reposting it here. If there is a way to move threads to other forums, I missed it...
So here it is:
I have tried and tried to compile pygame 1.7 on Kubuntu 5.04 (Oh damn, just saw this is the 5.10 forum. Sorry.) and I cannot get it working.
I tried to install the pygame 1.7 debian package (not available in ubu repos) but it has deps and those are not available on the ubu repos either. I could force it, but I don't want to break kynaptic.
[Insert: I have used the deb file. It does complain about libc being too old and sdlmixer too. I just ran pygame anyway - and it runs! It's not a nice fix and it still leaves the problem unsolved.]
When I try to compile pygame1.7 using the "python setup.py install" it chokes on environment variables. These ones mainly:
CC, OPT, CCSHARED, SO
How many more, I just don't know. I traced these by following-along in the source code of the various python modules that threw errors.
I tried installing 'gcc' and then faking the flags.
I set CC to "gcc" and to "gcc-3.3" (exporting all the while) to no avail.
I even hacked the python code to make the vars a space " " when the flags were not found in the environment. Errors all the way.
I am used to Linux on Fedora and these flags just work. I am totally at sea on Kubuntu. Can anyone advise me as to what to do?
I tried the pygame IRC and they were stumped. Their opinion of Kubuntu was unflattering to say the least.
Oh yeah - I have all the SDL deps that pygame1.7 (from the source pov) seems to want.
Any boffins out there?
:)
So here it is:
I have tried and tried to compile pygame 1.7 on Kubuntu 5.04 (Oh damn, just saw this is the 5.10 forum. Sorry.) and I cannot get it working.
I tried to install the pygame 1.7 debian package (not available in ubu repos) but it has deps and those are not available on the ubu repos either. I could force it, but I don't want to break kynaptic.
[Insert: I have used the deb file. It does complain about libc being too old and sdlmixer too. I just ran pygame anyway - and it runs! It's not a nice fix and it still leaves the problem unsolved.]
When I try to compile pygame1.7 using the "python setup.py install" it chokes on environment variables. These ones mainly:
CC, OPT, CCSHARED, SO
How many more, I just don't know. I traced these by following-along in the source code of the various python modules that threw errors.
I tried installing 'gcc' and then faking the flags.
I set CC to "gcc" and to "gcc-3.3" (exporting all the while) to no avail.
I even hacked the python code to make the vars a space " " when the flags were not found in the environment. Errors all the way.
I am used to Linux on Fedora and these flags just work. I am totally at sea on Kubuntu. Can anyone advise me as to what to do?
I tried the pygame IRC and they were stumped. Their opinion of Kubuntu was unflattering to say the least.
Oh yeah - I have all the SDL deps that pygame1.7 (from the source pov) seems to want.
Any boffins out there?
:)