Last active
August 29, 2015 13:57
-
-
Save hyperfocus1338/9783225 to your computer and use it in GitHub Desktop.
New relic agent compilation error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hyper@cloudserver:~$ sudo pip install newrelic-plugin-agent | |
Downloading/unpacking newrelic-plugin-agent | |
Downloading newrelic_plugin_agent-1.2.3.tar.gz | |
Running setup.py (path:/tmp/pip_build_root/newrelic-plugin-agent/setup.py) egg_info for package newrelic-plugin-agent | |
Checking /usr for newrelic_plugin_agent installation manifest | |
Checking /usr for newrelic_plugin_agent installation manifest | |
Checking /home/hyper/.local/lib/python2.7/site-packages for newrelic_plugin_agent installation manifest | |
Checking /tmp/pip_build_root/newrelic-plugin-agent for newrelic_plugin_agent installation manifest | |
Did not find the installed-files.txt manifest uninstallation issue | |
Downloading/unpacking helper>=2.2.2 (from newrelic-plugin-agent) | |
Downloading helper-2.4.1.tar.gz | |
Running setup.py (path:/tmp/pip_build_root/helper/setup.py) egg_info for package helper | |
Downloading/unpacking requests>=2.0.0 (from newrelic-plugin-agent) | |
Downloading requests-2.2.1-py2.py3-none-any.whl (625kB): 625kB downloaded | |
Downloading/unpacking pyyaml (from helper>=2.2.2->newrelic-plugin-agent) | |
Downloading PyYAML-3.10.tar.gz (241kB): 241kB downloaded | |
Running setup.py (path:/tmp/pip_build_root/pyyaml/setup.py) egg_info for package pyyaml | |
Installing collected packages: newrelic-plugin-agent, helper, requests, pyyaml | |
Running setup.py install for newrelic-plugin-agent | |
Checking /usr for newrelic_plugin_agent installation manifest | |
Checking /usr for newrelic_plugin_agent installation manifest | |
Checking /home/hyper/.local/lib/python2.7/site-packages for newrelic_plugin_agent installation manifest | |
Checking /tmp/pip_build_root/newrelic-plugin-agent for newrelic_plugin_agent installation manifest | |
Did not find the installed-files.txt manifest uninstallation issue | |
Installing newrelic_plugin_agent script to /usr/local/bin | |
Running setup.py install for helper | |
Found existing installation: requests 1.2.3 | |
Uninstalling requests: | |
Successfully uninstalled requests | |
Running setup.py install for pyyaml | |
checking if libyaml is compilable | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o | |
checking if libyaml is linkable | |
x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-2.7/check_libyaml.o -lyaml -o build/temp.linux-x86_64-2.7/check_libyaml | |
building '_yaml' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ext/_yaml.c -o build/temp.linux-x86_64-2.7/ext/_yaml.o | |
ext/_yaml.c:4:20: fatal error: Python.h: No such file or directory | |
#include "Python.h" | |
^ | |
compilation terminated. | |
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 | |
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/pyyaml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5nVSDR-record/install-record.txt --single-version-externally-managed --compile: | |
running install | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-2.7 | |
creating build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/reader.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/resolver.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/cyaml.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/__init__.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/nodes.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/error.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/tokens.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/dumper.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/events.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/serializer.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/parser.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/scanner.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/constructor.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/composer.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/representer.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/emitter.py -> build/lib.linux-x86_64-2.7/yaml | |
copying lib/yaml/loader.py -> build/lib.linux-x86_64-2.7/yaml | |
running build_ext | |
creating build/temp.linux-x86_64-2.7 | |
checking if libyaml is compilable | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o | |
checking if libyaml is linkable | |
x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-2.7/check_libyaml.o -lyaml -o build/temp.linux-x86_64-2.7/check_libyaml | |
building '_yaml' extension | |
creating build/temp.linux-x86_64-2.7/ext | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ext/_yaml.c -o build/temp.linux-x86_64-2.7/ext/_yaml.o | |
ext/_yaml.c:4:20: fatal error: Python.h: No such file or directory | |
#include "Python.h" | |
^ | |
compilation terminated. | |
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 | |
---------------------------------------- | |
Cleaning up... | |
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/pyyaml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5nVSDR-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/pyyaml | |
Storing debug log for failure in /home/hyper/.pip/pip.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
maybe this is help MeetMe/newrelic-plugin-agent#151