logo.png

STOW
LIBPCAP
SCHROOT
PYTHON
VIRTUALBOX
NARVAL
XDAQ

Home Up


The aim of this section is to help installing, configuring and using the CALICE software. Here are the hosts and addresses we use at the LLR:

  • LCIO: see svn/calice/online-sw/trunk/doc/build-lcio.txt
    $ cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcio co -d v01-51 -r v01-51 lcio
    $ mkdir build           # <-- create an out-of-source directory for the build
    $ cd build
    $ cmake ..              # check build options ( change options with: cmake -DOPTION=ON|OFF ..   or use: ccmake .. )
    $ make install
    

  • BOOST:
    • on Ubuntu: # apt-get install libboost-dev libboost-thread1.40-dev
    • on SLC55: gcc no good
      $ cd /tmp
      
      $ wget http://ftp.gnu.org/gnu/glibc/glibc-2.6.tar.gz
      $ mkdir tmp && cd !$
      $ ../configure CFLAGS="-O3 -march=i686" --prefix=...
      $ make
      
      $ wget ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2
      $ ./configure --prefix=...
      $ make
      $ make check
      $ make install
      
      $ wget ftp://gcc.gnu.org/pub/gcc/infrastructure/mpfr-2.4.2.tar.bz2
      $ ./configure --prefix=...
      $ make
      $ make check
      $ make install
      
      $ wget ftp://mirrors.kernel.org/gnu/gcc/gcc-4.4.3/gcc-4.4.3.tar.gz
      $ ./configure --prefix=... -with-gmp=... -with-mpfr=...
      $ env LD_LIBRARY_PATH=.../lib make 
      
      $ wget http://sourceforge.net/projects/boost/files/boost/1.29.0/boost_1_29_0.tar.bz2/download
      $ tar ...
      $ cp boost_1_29_0/boost .../usr/include/.
      

  • System C:
    $ cd /tmp
    $ scp calice@polcaldaq:Downloads/pkg/osci/systemc-2.2.0.tgz .
    $ scp calice@polcaldaq:Downloads/pkg/osci/TLM-2.0.1.tgz .
    $ scp calice@polcaldaq:Downloads/pkg/osci/sc-2.2-intrepid64.diff .
    $ tar -zxf ...
    $ less INSTALL 
    $ mkdir objdir && cd !$
    $ mkdir -b ~/stow/osci   (todo before configure!)
    $ ../configure --prefix=/usr/local/stow/osci
    $ patch -p1 < ../sc-2.2-intrepid64.diff
    $ make
    # make install
    # cd ..
    # mv TLM-2009-07-15/ /usr/local/stow/osci/share
    # cd /usr/local/stow/
    # stow -v osci
    

  • ftdidrv:
    # aptitude install libftdi-dev
    

  • test_usb_dif:
    # aptitude install libpcre3-dev
    

Home Up

This document is also available in PDF and PostScript format.



2015-10-29