Compiling gdivelog-sensuspro-plugin

Assuming you have obtained the source from the gdivelog SourceForge project page all you will need to do is the following, replacing [version] with the version of the gdivelog-sensuspro-plugin you have downloaded:

  tar jxf gdivelog-sensuspro-plugin-[version].tar.bz2
  cd gdivelog-sensuspro-plugin-[version]
  ./configure
  make
  make install

As of version 0.3 there are no non-default configure options. Use ./configure --help for more information.

You will probably need to be root for the make install step.

gdivelog will automatically load any plugins that have been installed with the same --prefix, i.e. [gdivelog's --prefix]/lib/gdivelog. Currently there is no way to discover what --prefix an already installed version of gdivelog was installed with. If you want to install a plugin to a different directory you will need to set the environment variable GDIVELOG_PLUGIN_PATH to include this directory, e.g.

  export GDIVELOG_PLUGIN_PATH=/home/me/my_gdivelog_plugins:/usr/local/lib/additional_gdivelog_plugins

Bear in mind that gdivelog will attempt to load every file in GDIVELOG_PLUGIN_PATH as a plugin.

You may also want to set the environment variable SENSUSPRO_DEVICE to any of the serial ports you may plug your Sensus Pro into, e.g.

  export SENSUSPRO_DEVICE=/dev/ttyS0:/dev/ttyS1