Huh, I've never seen that build-dep command before. So that's supposed
to fetch all the dependencies so that I can compile it from source? Is
that command necessary for programs to be able to run pygame?
To answer your questions, I simply ran
sudo apt-get install python-pygame
then tried to run a game. No dice. So then, I tried to install pygame
from source using this:
sudo apt-get -b source python-pygame
That was stopped by some errors thrown by apt-get, not pygame. I'll try
your command later today when I have some free time, then I'll try using
that for my pgreloaded problem. Thanks for the new approach.
Evan Kroske
James Paige wrote:
How are you using apt-get?
Here is what I do:
sudo apt-get install python-pygame
sudo apt-get build-dep python-pygame
The first line installs pygame and everything needed to RUN it. The
second line installs everything needed to recompile pygame from scratch.
What are you doing differently?
---
James Paige
On Tue, Apr 14, 2009 at 07:36:14PM -0400, Evan Kroske wrote:
Yes, I have all the dev packages installed from apt-get. Unfortunately,
I'm starting to doubt whether I'm using apt-get right. I installed the
python-pygame package from apt-get to try it out; unfortunately, when I
try to run a game, the compiler says it can't find pygame. Am I missing a
step, like flushing the apt-get buffer or something? Maybe my installation
just hates pygame... :(
On Tue, Apr 14, 2009 at 6:05 PM, Nirav Patel <[email protected]> wrote:
Make sure you also have the dev packages, that is, libsdl-ttf-dev,
libsdl-image-dev, and so on.
Nirav
On Tue, Apr 14, 2009 at 5:49 PM, Evan Kroske <[email protected]> wrote:
>
>
> On Tue, Apr 14, 2009 at 5:20 PM, Marcus von Appen <[email protected]>
wrote:
>>
>> On, Tue Apr 14, 2009, Evan Kroske wrote:
>>
>> > Okay, I just re-installed SDL_mixer, and now I'm getting a
different but
>> > equally intimidating list of warnings (which I've attached). Is it
>> > possibly
>> > that pgreloaded isn't possible with my 64-bit Ubuntu Intrepid Ibex
box?
>> > I
>> > know python's supposed to be platform independent, but maybe some
of the
>> > dependencies aren't.
>> >
>> > I couldn't get the whole error this time because of the limited
terminal
>> > size; do you know of a command I can use to capture the error
output
>> > instead
>> > of the standard output?
>>
>> src/sdlttf/pgttf.h:25:21: error: SDL_ttf.h: No such file or directory
>>
>> Seems that you do not have the SDL_ttf development headers. Install
all
>> required -dev packages of the dependencies.
>>
>> Regards
>> Marcus
>>
>
> I just updated my apt-get package list then tried to update my
libsdl-ttf
> development installation through apt-get, but it said it was
up-to-date. I'm
> getting a smaller error now, but it still says it's missing SDL_ttf.
I've
> attached the latest smaller error.
>
> Thanks,
> Evan Kroske
>