[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: beginning GSOC preparations: was Re: [pygame] Thank You



So that worked, thank you Lenard.

All of them compiled. I'm now getting this error:

$ /c/Python25/python.exe setup.py build --compiler=mingw32
WARNING, DLL for smpeg library not found.
WARNING, DLL for tiff library not found.
WARNING, DLL for SDL_ttf library not found.
WARNING, DLL for SDL_image library not found.
WARNING, DLL for vorbisfile library not found.
WARNING, DLL for jpeg library not found.
WARNING, DLL for vorbis library not found.
WARNING, DLL for SDL library not found.
WARNING, DLL for portmidi library not found.
WARNING, DLL for SDL_mixer library not found.
WARNING, DLL for ogg library not found.
WARNING, DLL for z library not found.
WARNING, DLL for png library not found.
running build
running build_py
running build_ext
Traceback (most recent call last):
  File "setup.py", line 459, in <module>
    setup(**PACKAGEDATA)
  File "C:\Python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Python25\lib\distutils\command\build.py", line 112, in run
    self.run_command(cmd_name)
  File "C:\Python25\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "setup.py", line 324, in run
    sys.version_info[:2])
RuntimeError: The dependencies are linked to the wrong C runtime for Python 2.5

But beforehand, we had this:

  SDL       : Installed new DLL c:\msys\1.0\local\bin\SDL.dll
  Z         : Installed new DLL c:\msys\1.0\local\bin\zlib1.dll
  FREETYPE  : Installed new DLL c:\msys\1.0\local\bin\libfreetype-6.dll
  FONT      : Installed new DLL c:\msys\1.0\local\bin\SDL_ttf.dll
  PNG       : Installed new DLL c:\msys\1.0\local\bin\libpng12-0.dll
  JPEG      : Installed new DLL c:\msys\1.0\local\bin\jpeg.dll
  TIFF      : Installed new DLL c:\msys\1.0\local\bin\libtiff.dll
  IMAGE     : Installed new DLL c:\msys\1.0\local\bin\SDL_image.dll
  SMPEG     : Installed new DLL c:\msys\1.0\local\bin\smpeg.dll
  OGG       : Installed new DLL c:\msys\1.0\local\bin\libogg-0.dll
  VORBIS    : Installed new DLL c:\msys\1.0\local\bin\libvorbis-0.dll
  VORBIS    : Installed new DLL c:\msys\1.0\local\bin\libvorbisfile-3.dll
  MIXER     : Installed new DLL c:\msys\1.0\local\bin\SDL_mixer.dll
  PORTMIDI  : Installed new DLL c:\msys\1.0\local\bin\portmidi.dll


So the DLL's did install.

I'm sorry I keep bothering you guys with questions, but once it works, I won't bother you!

-Tyler

On Thu, Apr 23, 2009 at 5:58 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
Hi Tyler,

I assume you checked out a clean copy of Pygame rather than update the 1.8 checkout. If you had edited msys_build_deps.py then it will not be properly updated. Other than that try to clean up freetype and rebuild:

python msys_build_deps.py --clean-only freetype
python msys_build_deps.py freetype font

I added font (SDL_ttf) to the build list to make sure is built, since it depends on freetype.

Lenard

Tyler Laing wrote:
Okay, with the new compile, everything works... except for Freetype. Again. It appears that the dll is not being compiled as it should be.

Here's the error message:
----------------------------------------------------------------------
for P in /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/freetype.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbbox.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbdf.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbitmap.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftcache.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftchapters.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftcid.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fterrdef.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fterrors.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgasp.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftglyph.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgxval.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgzip.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftimage.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftincrem.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlcdfil.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlist.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlzw.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmac.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmm.h  /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmodapi.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmoderr.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftotval.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftoutln.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftpfr.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftrender.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsizes.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsnames.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftstroke.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsynth.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsystem.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fttrigon.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fttypes.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftwinfnt.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftxf86.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/t1tables.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ttnameid.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/tttables.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/tttags.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ttunpat.h ; do                           \
         /mingw/bin/install -c -m 644                                    \
           $P /usr/local/include/freetype2/freetype ; \
       done
for P in /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftconfig.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftheader.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftmodule.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftoption.h /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftstdlib.h  /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/objs/ftmodule.h  ; do                                  \
         /mingw/bin/install -c -m 644                                           \
           $P /usr/local/include/freetype2/freetype/config ; \
       done
rm -f /usr/local/include/freetype2/freetype/cache/*
rmdir /usr/local/include/freetype2/freetype/cache
rm -f /usr/local/include/freetype2/freetype/internal/*
rmdir /usr/local/include/freetype2/freetype/internal
rmdir: /usr/local/include/freetype2/freetype/internal: No such file or directory
make: [install] Error 1 (ignored)
/mingw/bin/install -c -m 644 ./builds/unix/ft2unix.h \
         /usr/local/include/ft2build.h
/mingw/bin/install -c -m 644 ./builds/unix/ftconfig.h                        \
         /usr/local/include/freetype2/freetype/config/ftconfig.h
/mingw/bin/install -c -m 644 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/objs/ftmodule.h                          \
         /usr/local/include/freetype2/freetype/config/ftmodule.h
/mingw/bin/install -c -m 755 ./builds/unix/freetype-config \
         /usr/local/bin/freetype-config
/mingw/bin/install -c -m 644 ./builds/unix/freetype2.m4 \
         /usr/local/share/aclocal/freetype2.m4
/mingw/bin/install -c -m 644 ./builds/unix/freetype2.pc \
         /usr/local/lib/pkgconfig/freetype2.pc
c:\MinGW\bin\strip.exe: 'C:/msys/1.0/local/bin/libfreetype-6.dll': No such file
Build aborted: The build for FREETYPE failed with code 1


Again, all the help has been much appreciated.

-Tyler

On Wed, Apr 22, 2009 at 9:58 PM, Tyler Laing <trinioler@xxxxxxxxx <mailto:trinioler@xxxxxxxxx>> wrote:

   Biggest problems I could see are in two areas, misinterpretation
   and structural. Depending on the filesystem, and current hardware
   setup, some of the files may still be being written to disk(say a
   network drive or during lots of other writes) when the tests are
   run. In terms of misinterepretation, you'd have to make it clear
   that it is in its test phase, and that installation finished
   without a hitch. Those are all I can see happening.

   And as to the test's you asked me to run... I realize now I was
   supposed to use the svn trunk of pygame, not the 1.8 release.
   Redoing it all over right now, but with the problems fixed, I
   don't forsee any issues. :)

   -Tyler


   On Wed, Apr 22, 2009 at 9:42 PM, René Dudfield <renesd@xxxxxxxxx
   <mailto:renesd@xxxxxxxxx>> wrote:

       That reminds me...

       should we make the tests run at the end of an install
       automatically?

       Should make it easier for people to figure out if there are
       problems... but might cause it's own problems too.




       On Thu, Apr 23, 2009 at 2:39 PM, Lenard Lindstrom
       <len-l@xxxxxxxxx <mailto:len-l@xxxxxxxxx>> wrote:

           One last step, run the unit test suite. I will only take a
           few minutes (still under construction).

           python -c "import pygame.tests.go"


           Tyler Laing wrote:

               And that works! Fantastic, thank you gentlemen for all
               the assistance. Much appreciated.

               -Tyler





   --    Visit my blog at http://oddco.ca/zeroth/zblog




--
Visit my blog at http://oddco.ca/zeroth/zblog




--
Visit my blog at http://oddco.ca/zeroth/zblog