[LC]² CROCUS Local Control Software Wiki Start Page¶
(Logiciel de Contrôle Local du CROCUS)¶
- Doxygen generated documentation of the source can be reached [http://ipnnarval.in2p3.fr/lc2/doxygen_html here].
- Source code is kept under Subversion repository (was under CVS before):
svn checkout svn://ipnvcs.in2p3.fr:/ALICE/LC2/trunk ./LC2
svn checkout svn://ipnvcs.in2p3.fr:/ALICE/CommonIncludes/trunk ./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).daq-MCH-LC2-1.3.3-05.x86-64.rpm
daq-MCH-LC2-1.3.3-05.src.rpm
- (formerly compiled on reference SLC4 distribution).
daq-MCH-LC2-1.2.7-1eCERN.i386.rpm
daq-MCH-LC2-1.2.7-1eCERN.src.rpm
- Executable from the package is now called lc2gui instead of simply gui
- Previous versions can be seen [http://ipnnarval.in2p3.fr/lc2/RPM 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/setup.sh
(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
or
h3. install sources
rpm -Uvh daq-MCH-LC2-1.2.7-1e.src.rpm
that will install the 2 files
/usr/src/redhat/SOURCES/daq-MCH-LC2-1.2.7.tar.gz
/usr/src/redhat/SPECS/daq-MCH-LC2e.spec
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 http://ipnnarval.in2p3.fr/lc2/RPM/daq-MCH-LC2-1.3.1-19eCERN.i386.rpm
Trac Server¶
Experimental Trac server was [http://ipnnarval.in2p3.fr:8000/lc2trac here]. (It may be unreachable from outside IPNO...)
problems with DATE¶
For people experimenting problems with DATE, check if you ever have installed version:
daq-MCH-LC2-1.2.5-1eCERN.i386.rpm
dated Oct 31 2007, 13:28
This version was overwriting
/dateSite/configurationFiles/DATE.params
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
or
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
or
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
subversion-1.6.1-1.i386.rpm
apr-0.9.12-2.i386.rpm
apr-util-0.9.12-1.i386.rpm
which you can find [http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/ 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 [http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.1/rhel4/i386/ http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.1/rhel4/i386/]
The others packages can also prove useful:
subversion-tools-1.6.1-1
subversion-perl-1.6.1-1
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
or
rpm --nodeps -Uvh http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel4/i386/subversion-1.6.6-1.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel4/i386/subversion-tools-1.6.6-1.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel4/i386/subversion-perl-1.6.6-1.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel4/i386/sqlite-3.5.9-4.1.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel4/i386/sqlite-devel-3.5.9-4.1.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel4/i386/neon-0.28.4-1.i386.rpm
Deployment from SLC5 goes as follows:
rpm -e cadaver
rpm --nodeps -Uvh http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel5/i386/subversion-1.6.6-1.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel5/i386/subversion-tools-1.6.6-1.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel5/i386/subversion-perl-1.6.6-1.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel5/i386/sqlite-3.5.9-2.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel5/i386/sqlite-devel-3.5.9-2.i386.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel5/i386/neon-0.28.4-1.i386.rpm
The latest version for SLC5 being in:
http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.6/rhel5/i386
The
--nodeps
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)