heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

Failed to compile #1965

Open hhsieh opened 8 years ago

hhsieh commented 8 years ago

Hi, I am new to Heroku, and do not know what I did wrong. I highly appreciate if anyone can help me here. Here is the error message that I got when I 'git push heroku master.'

Does anyone know how to fix this? Thank you.

ude/libffi -I/app/.heroku/python/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o remote: c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory remote: #include remote: ^ remote: compilation terminated. remote: error: command 'gcc' failed with exit status 1 remote:
remote: ---------------------------------------- remote: Command "/app/.heroku/python/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-p5BnBS/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-4k1LWT-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-p5BnBS/cffi/ remote: remote: ! Push rejected, failed to compile Python app remote: remote: Verifying deploy... remote: remote: ! Push rejected to hhapp. remote:

ransombriggs commented 8 years ago

@hhsieh Could you please file a ticket at https://support.heroku.com ? This is not a bug in the CLI and I do not have the requisite python skills to help you. If you submit there, it will be routed to people who will be able to help you better.