Linux Packages?

Asked by Stephen Thair

Hi Guys,

Did you ever resolve the packaging issues (for Centos or Ubuntu)?

I can see some threads but they are nearly a year old now.

Is this actively being worked on and likely to be released on http://graphite.wikidot.com/downloads

I want to try Graphite out as it should be easy to stream real-time web analytics data from Atomic Labs Pion to it... but my knowledge of Linux isn't great so an easier install path would help (a lot!)

cheers,
Steve

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jon Stevens (latchkey-gmail) said :
#1

I can probably help with creating a debian package for Ubuntu. I have a ton of experience with creating them.

Revision history for this message
chrismd (chrismd) said :
#2

Jon that would be much appreciated, you should talk to Elliot (https://launchpad.net/~statik) as I know he has worked on this in the past.

Steve, unfortunately we're still "very close" to having binary packages available. I did put out some RPMs with the last release but they are admittedly not the most thorough packages in terms of dependencies and wouldn't qualify for inclusion in a repository, but they could get you started.

Revision history for this message
Elliot Murphy (statik) said :
#3

I would welcome someone to pick up and press forward with the Debian/Ubuntu packaging. While working on packaging the dependencies for carbon I ran into licensing issues with python-txamqp, I believe that a new release of txamqp has been made that will allow packaging to be completed for txamqp, and that should then satisfy the dependencies to allow packages to be created for python-carbon.

The existing work is in the debian-python svn repository, and there are wnpp bugs filed in the debian bug tracker for all of these.

The package for python-whisper has already been done, and is in Debian and synced to Ubuntu.

Revision history for this message
Jon Stevens (latchkey-gmail) said :
#4

Looks like Apache 2.0?

http://pypi.python.org/pypi/txAMQP/0.3

Got url's for the d-p svn repo?

Also, I'm very familiar with creating deb's for internal use, but I'm not familiar with the whole 'how to get a debian into debian/ubuntu' process, so I may need some help there.

Revision history for this message
Elliot Murphy (statik) said :
#5

You'll need the 0.4 release of txamqp, which includes DFSG compatible licensed AMQP spec files instead of non-free ones.

http://bazaar.launchpad.net/~txamqpteam/txamqp/trunk/revision/53

Getting started info including links to SVN and how to get added as a committer are here:
http://python-modules.alioth.debian.org/python-modules-policy.html

The debian-python team is very friendly, the team maintains most of the python packages in Debian, and there is plenty of work to do.

Revision history for this message
Stephen Thair (stephen-thair) said :
#6

Hi Guys,

Thanks for the quick response, very much appreciated :-)

Sorry to be a pain but as a linux newbie some of the discussion is over my head so I would appreciate it if you could break it down a bit for me...

So am I right in saying that the process would be...

install all the dependencies
    * python2.4 or greater
    * pycairo (with PNG backend support)
    * mod_python
    * django
    * python-ldap (optional - needed for ldap-based webapp authentication)
    * python-memcached (optional - needed for webapp caching, big performance boost)
    * python-sqlite2 (optional - a django-supported database module is required)
    * bitmap and bitmap-fonts required on some systems, notably Red Hat

Then there is a package for carbon-whisper (which I can install with apt-get carbon-whisper?)

But there isn't a package for python-carbon because of this dependency issue with txampq...

... so I would have to do the manual extraction of the tar.gz file
    tar xzvf graphite-web-0.9.6.tar.gz

... then the manual steps...

popd
popd
pushd graphite-web-0.9.6
python check-dependencies.py

...and...

python setup.py install

then the Apache config.

Does that sound about right?

Sorry for being such a newbie but after 20 years of paying the bills by worshipping at the altar of Gates it's a steep learning curve. But fun :-)

Revision history for this message
chrismd (chrismd) said :
#7

That looks right, I would recommend using the latest version (0.9.7c as of this writing) rather than 0.9.6 which is explicitly mentioned in the install docs (we do need to update that). I don't think you can install carbon (the backend) or whisper (the database library) via apt-get yet, though that is in the works. There are packages for download on the main project page along with the webapp (all of the tar.gz files are installed by extracting with tar xzvf and then doing 'python setup.py install' in the extracted directory). Let us know if you run into any issues, I'm always willing to help a Linux convert :)

Revision history for this message
Stephen Thair (stephen-thair) said :
#8

Thanks Chris! I probably won't be able to look at this for a few weeks because I'm a bit snowed under but I am keen to give it a go.

Re packages... @Elliot said "The package for python-whisper has already been done, and is in Debian and synced to Ubuntu."

Which is why I assumed that there is at least a package for part of it?

cheers,
Steve

Can you help with this problem?

Provide an answer of your own, or ask Stephen Thair for more information if necessary.

To post a message you must log in.