6/12/2012

Some useful metarials before working on

Source for SVN, clear enough:
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html

Time series database, used to log server data stream:
http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html
http://forums.cacti.net/about12202.html
http://www.fromdual.com/sites/default/files/rrd.pdf

It's really annoying to install rrdtool on unix. reference is:
http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html#___top


It takes me a while to figure how to install source code onto my redhat server.
If I downloaded a .xz file, firstly I will have to install xz. using
./configure --prefix=SOME_DIRECTORY
make
make install
then set
PATH=SOME_DIRECTORY/bin:$PATH

command is: xz -d FILENAME ##-d is decompress -c is compress
xz actually is a more powerful tool than gz and bz

It's the same when installing all libraries we need, except we need to add some attributes to configure, make and install. eg. set the CFLAGS and LDFLAGS is probably needed if you are installing application on a server.

If there is a command not found, it might be that your environment variables are not correct. If there is a no file or directory, probably something wrong

When installing glib and you receive
1. glib AttributeError: 'dict' object has no attribute 'has_key'
it's probably because you're using the wrong python version. glib only support python 2.5-2.7
To change verstion all you need is adding the bin directory of your corrent version into PATH
setenv PATH SOMEPLACE/python2.5/bin
someplace is where your python is installed

2. keyword "msgctxt" unknown error

it usually is the gettex (a language support tool) is not installed. By installing it the problem will be fixed



1 comment: