Changes between Initial Version and Version 1 of Ticket #15561, comment 11


Ignore:
Timestamp:
Dec 25, 2013, 7:21:53 PM (9 years ago)
Author:
Emmanuel Charpentier
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15561, comment 11

    initial v1  
    11Replying to [comment:10 vbraun]:
    2 > Build errors:
    3 > * http://build.sagemath.org/sage/builders/%20%20fast%20UW%20redhawk%20%28Ubuntu%2010.04%20x86_64%29%20incremental/builds/27/steps/compile/logs/freetype
    4 > * http://build.sagemath.org/sage/builders/%20%20fast%20UW%20mod%20%28Ubuntu%208.04%20x86_64%29%20incremental/builds/26/steps/compile/logs/freetype
     2
     3> Build errors: * http://build.sagemath.org/sage/builders/%20%20fast%20UW%20redhawk%20%28Ubuntu%2010.04%20x86_64%29%20incremental/builds/27/steps/compile/logs/freetype * http://build.sagemath.org/sage/builders/%20%20fast%20UW%20mod%20%28Ubuntu%208.04%20x86_64%29%20incremental/builds/26/steps/compile/logs/freetype
    54
    65Ahiii ! That's the snag in libpng that triggered me to patch pngconf.h. How can i check that this patch has been applied ? This error (horror ?) originates in a code section that I #defined around...
     6
     7Edit, Dec 25 : I see *another* build problem with PIL and freetype. but I could diagnose it only by creating a new sage tree and git'ing !#15661 directly : adding #15561 to an already compiled tree does not force recompilation of PIL.
     8
     9The problem : 
     10
     11{{{
     12[ ... ]
     13
     14gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/charpent/sagebis/sage/local/include/freetype2 -IlibImaging -I/home/charpent/sagebis/sage/local/include -I/usr/include -I/home/charpent/sagebis/sage/local/include/python2.7 -c _imagingft.c -o build/temp.linux-x86_64-2.7/_imagingft.o
     15_imagingft.c:68:31: fatal error: freetype/fterrors.h: Aucun fichier ou dossier de ce type
     16 #include <freetype/fterrors.h>
     17                               ^
     18compilation terminated.
     19error: command 'gcc' failed with exit status 1
     20
     21[ ... ]
     22}}}
     23This happens twice (PIL attemps compilation with and without Tkinter support). This is caused by the fact that the directory containing freetype headers is no longer local/include/freetype but local/include/freetype2.
     24
     25Since Pillow is now accepted in the next sage, my plan is :
     26
     27 * start a new tree
     28 * fetch the Pillow branch (for rebase ?)
     29 * fetch !#15561 and adjust it.
     30
     31Your thoughts ?