2015-12-03 41 views
0

我有一个错误,将this项目推送到heroku。 (应该是没有什么奇特的,只是一些世界你好的Django-CMS /博客,我为了尽量服务制造)django-cms/pillow部署在heroku由于缺少头文件而失败

似乎还很遥远错过一些所需的lib标题:

[tons of verbosity] 
remote:   building '_imagingft' extension 
remote:   gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/freetype2 -IlibImaging -I/app/.heroku/python/include -I/usr/local/include -I/usr/include -I/app/.heroku/python/include/python2.7 -I/usr/include/x86_64-linux-gnu -c _imagingft.c -o build/temp.linux-x86_64-2.7/_imagingft.o 
remote:   _imagingft.c:60:31: fatal error: freetype/fterrors.h: No such file or directory 
remote:   #include <freetype/fterrors.h> 
remote:           ^
remote:   compilation terminated. 
remote:   error: command 'gcc' failed with exit status 1 
从我对谷歌的初始搜索

还它似乎枕头应该正确编译(尝试2. *和强制1. *,他们通过管理runserver或heroku本地工作...

回答

0

似乎问题在于使用枕头< 3(当前django-cms依赖安装2.0)。强迫枕头要求3.0固定此

相关问题