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

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



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