[LC]² CROCUS Local Control Software Wiki Start Page

(Logiciel de Contrôle Local du CROCUS)

  • Doxygen generated documentation of the source can be reached [ here].
  • Source code is kept under Subversion repository (was under CVS before):

    svn checkout svn:// ./LC2
    svn checkout svn:// ./CommonIncludes

The ./LC2/doc/README file used to detail the old way to build the program.

  • Binary and source releases are also distributed under .rpm package format
    (now compiled on reference SLC5 distribution).


  • (formerly compiled on reference SLC4 distribution).


  • Executable from the package is now called lc2gui instead of simply gui
  • Previous versions can be seen [ here].
  • There is one way to install a ".rpm" package or upgrade it from a previous ".rpm" package version. As root:

    rpm -Uvh daq-MCH-LC2-1.2.7-1eCERN.i386.rpm

  • Don't forget to source the setup script

    . /opt/daq-MCH-LC2/

(for instance, in your .bashrc)

Build a new binary .rpm from sources .rpm (.src.rpm)

There are two ways to build a new binary .rpm from sources .rpm (.src.rpm). As root, either

rpmbuild --rebuild daq-MCH-LC2-1.2.7-1eCERN.src.rpm

h3. install sources

rpm -Uvh daq-MCH-LC2-1.2.7-1e.src.rpm

that will install the 2 files


then recompile it

rpmbuild -bb /usr/src/redhat/SPECS/daq-MCH-LC2e.spec

When you want to see the changelog:

rpm -qp --changelog daq-MCH-LC2-1.2.7-1eCERN.i386.rpm
rpm -qp --changelog

Trac Server

Experimental Trac server was [ here]. (It may be unreachable from outside IPNO...)

problems with DATE

For people experimenting problems with DATE, check if you ever have installed version:

dated Oct 31 2007, 13:28

This version was overwriting


SVN problems

For people experimenting problems with SVN server, please first check the version of your svn client:

svn --version
svn, version 1.6.1 (r37116)
compiled Apr 11 2009, 14:26:16


svn, version 1.6.12 (r955767)
compiled Jun 21 2010, 20:24:54

are known to work, but

svn, version 1.4.4 (r25188)
compiled Jun 30 2007, 10:31:29


svn, version 1.1.4 (r13838)
compiled Oct 7 2005, 20:43:44

are known to fail: the last is the one distributed with SLC4.5. To upgrade, you will need the 3 packages


which you can find [ here]. As root, install them, or contact your system administrator:

rpm -Uvh subversion-1.6.1-1.i386.rpm apr-0.9.12-2.i386.rpm apr-util-0.9.12-1.i386.rpm

The latest version is at []

The others packages can also prove useful:


Deployment from SLC4.5 goes as follows:

rpm -Uvh apr-0.9.12-2.i386.rpm apr-util-0.9.12-1.i386.rpm
rpm -e cadaver
rpm -Uvh sqlite-3.5.9-4.1.i386.rpm
rpm -Uvh neon-0.28.4-1.i386.rpm subversion-1.6.1-1.i386.rpm
rpm -Uvh subversion-perl-1.6.1-1.i386.rpm subversion-tools-1.6.1-1.i386.rpm


rpm --nodeps -Uvh

Deployment from SLC5 goes as follows:

rpm -e cadaver
rpm --nodeps -Uvh

The latest version for SLC5 being in:



options prevents the temporary failed dependency message

error: Failed dependencies:
perl(File::Path) >= 1.0404 is needed by subversion-tools-1.6.6-1.i386

Request & comments should be addressed at Vincent Lafage
--[[Utilisateur:Lafage|Lafage]] 11 mars 2008 à 15:56 (CET)