ubuntu trouble installing carbon

Asked by scott

HI,
    I am trying to install carbon, and get the following error....(ok a warning, but not sure it is good)

graphite@mycomp:~/Graphite/carbon-0.9.6$ python setup.py build
/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running build
running build_py
running build_scripts

I then run install and it completes, but it seems as though something is not quite right.

        I do not have the /opt/graphite/carbon/conf/carbon.conf file created, or indeed the directory /opt/graphite/carbon
seems to be missing. Does this mean it is not correctly installed, or have I done something really silly?

                                            appreciate any pointers...

                                                         Sc0tt

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
scott
Solved:
Last query:
Last reply:
Revision history for this message
scott (scott-russell) said :
#1

OH, should have said, Ubuntu 9.10, and x86_64 bit....

                           thanks

                                    Sc0tt....

Revision history for this message
Tamale (uictamale) said :
#2

Might want to make sure you're installing as root and using the right pythonpath

Revision history for this message
scott (scott-russell) said :
#3

Hi, thanks for the reply, here is my python path
export PYTHONPATH=/opt/graphite/webapp:/opt/graphite/lib
This issue is at the build stage, not the install stage, however, I have tried with user root, or user graphite, either way, it just does not work(I have chowned /opt/graphite to user graphite, so it should work as the user graphite.

         Still, good to force me to double check.

                                     regards

                                                  Sc0tt...

Revision history for this message
scott (scott-russell) said :
#4

Hi,
       I seem to have things working. I think I was thrown by the documentation(which as we all know is out of date and is being worked on). Essentially, I was thinking the path /opt/graphite/carbon/conf should exist and carbon.conf should exist in this path, however the path is actually /opt/graphite/conf/. carbon.conf should be put here. Also, to start carbon, you have to be in this directory, so it finds the carbon.conf file.

                                      thanks for the help, and such a great product.

                                                           Sc0tt...