[visionegg] Re: pygame errors: FONT : not found

  • From: Andrew Straw <astraw@xxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Thu, 23 Jun 2005 11:41:09 -0700

Hi Joognam,

I think pygame is probably using SDL_ttf-1.2.x (not SDL_ttf-2.0.7). See if installing that helps.

Also, the pygame mailing list is probably a better location for this question, since this is really a pygame issue. http://www.pygame.org/info.shtml#maillist

Cheers!
Andrew

Joongnam Yang wrote:
Hi all,

I am trying to compile pygame.
I have errors when I ran "python config.py" for pygame, which is

Hunting dependencies...
sh: line 1: smpeg-config: command not found
WARNING: "smpeg-config" failed!
SDL     : found 1.2.5
FONT    : not found
IMAGE   : found
MIXER   : found
SMPEG   : not found
NUMERIC : found 24.0b2

The trouble is "FONT".  I already installed SDL_ttf-2.0.7, but
pygame installation still complains about "FONT".
Would some one lead me on this?

If this listing is not appropriate for this question, would someone direct
me to some other listings?

Thanks.
Nam.



astraw@xxxxxxxxxxx 05/06/21 ìí 10:10 >>>

It looks like you need to reconfigure pygame. I believe you must run "python config.py" to do this. Do it before running "python setup.py build" again. Also, unless you want to play mpeg movies, you don't need smpeg, so I wouldn't worry about that. SDL_ttf is the FONT dependency referred to. Good luck, and let us know if you have any more issues.


Cheers!
Andrew

Joongnam Yang wrote:

Thanks jds,

I installed SDL_ttf, successfully, but when I tried to rebuild pygame,
I found failing dependences like the following,

Hunting dependencies...
sh: line 1: smpeg-config: command not found
WARNING: "smpeg-config" failed!
SDL     : found 1.2.5
FONT    : not found
IMAGE   : found
MIXER   : found
SMPEG   : not found
NUMERIC : found 24.0b2

So, "FONT" and "SMPEG" need to be installed.
Would you please let me know how to get the two?

Nam.





swisher@xxxxxxxxxxx 05/06/20 ** 5:24 >>>


I'd guess the problem is that SDL_ttf is not installed. It's available here:

http://www.libsdl.org/projects/SDL_ttf/

You may have to rebuild pygame afterwards.

 -- jds

On Mon, 20 Jun 2005, Joongnam Yang wrote:



Hi all,

I am posting this message again, since there is
no further help.

I rann demo, but the following three demos

"gamma.py"
"gratings_multi.py"
"mouse_gabor_perspective.py",

gave me the following error message.

RuntimeError: no pygame font module.

I would appreciate any response.
(FYI, I did the "check-config.py" shown below).

Nam.


======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html






--
Andrew D. Straw  Post-doctoral scholar
,-.              Dickinson Lab
\_/              California Institute of Technology
8||}             Mailcode 138-78
/ \              Pasadena CA 91125, USA
`-^
                 email:  astraw@xxxxxxxxxxx
                 office: +1 626 395 4396

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: