This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 198
Having a real hard time installing graphite on centos 6.5. #58
Labels
Comments
I just realized I posted this to the wrong repo. |
Actually, long day. This was the correct repo. |
Ok, first: RPMforge is dead a few years. Why do you use it? |
I figured out the problem late last night. Not knowing anything about python and twisted I didn't know twisted required gcc. I had to install the Development Tools before I could install graphite. |
This is strange because the module should ensure that the gcc is installed. If this is not the case, its a bug. |
I have found and fixed the part where gcc could be installed after twisted. This also explains why it only failed on the first run |
Great. Glad that got solved. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is the error we're seeing.
Error: Could not update: Execution of '/usr/bin/pip-python install -q twisted==11.1.0' returned 1: Command /usr/bin/python -c "import setuptools;file='/tmp/pip-build-root/twisted/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-e3n5qe-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/twisted
Storing complete log in /root/.pip/pip.log
Error: /Stage[main]/Graphite::Install/Package[twisted]/ensure: change from absent to 11.1.0 failed: Could not update: Execution of '/usr/bin/pip-python install -q twisted==11.1.0' returned 1: Command /usr/bin/python -c "import setuptools;file='/tmp/pip-build-root/twisted/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-e3n5qe-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/twisted
Storing complete log in /root/.pip/pip.log
Using this in my node definition.
class { 'graphite':
require => [Yumrepo['rpmforge'], Yumrepo['epel']],
}
Also, this only happens on an initial puppet run. If I run puppet a second time everything installs without issue.
The text was updated successfully, but these errors were encountered: