Table of Contents

Further documentation

Issues with POS

When running XDAQ, one might observe problems on SLC5 when loading shared libraries: cannot restore segment prot after reloc: Permission denied

Usually SELinux is enabled on SL(C)5 machines and there are 2 cases so far in which one can run into this problem. One needs to disable SELinux by doing as root:

echo 0 > /selinux/enforce

Alternatively, but not working for me, you can get a warning message instead of crash if you set SELINUX=permissive inside

/etc/selinux/config

You might also run into this problem when loading a library compiled on local disk you might get “error: cannot restore segment prot after reloc: Permission denied”. In that case most probably the reason is that either the library or the one which it was linked against need to be rebuild with “-fPIC” option. The SELinux context on AFS does not permit library relocations so sometimes you might hit the problem on local disk but not on AFS or vice versa.

curlpp

cp -r /usr/include/curlpp/ $BUILD_HOME

in $BUILD_HOME/curlpp/internal/global.h change

#include "curlpp/config.h"

to

#include "curlpp/config.h.in"

Issues with XDAQ

When running XDAQ on SLC6 64-bit and trying to compile my own package, the following error occured:

/opt/xdaq/include/toolbox/net/UUID.h:18:23: error: uuid/uuid.h: No such file or directory

Could be fixed by installing package: libuuid-devel