2015-12-03 40 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固定此

相關問題