seal_logo
CERN / LCG / Applications Area / SEAL / Dictionary / Reflex / Download & Build
Reflex
 

 

Home

Features

Architecture

Examples

Generate Dictonaries

Download/Build

Releases

FAQ

Documentation

Bugs/Requests

Copying

Platforms

Presentations

Links

Contact

 

1. Download GCC_XML

Note: If the current release of Reflex depends on a version which has "_patchXXX" in it's name you will need to get the gccxml binaries or sources from CERN (because this is not an official release of gccxml but has been patched by us from the gccxml cvs tree)

2. Building Reflex from Source

Getting the Source Code

  • The source code can be downloaded from the release page

  • It is also possible to check out the sources from CVS

cvs -d :pserver:cvs@root.cern.ch:/user/cvs login (prompted for a password type "cvs")
cvs -d :pserver:cvs@root.cern.ch:/user/cvs co reflex

When checking out from cvs the content of the reflex/build directory has to be copied one level up into /reflex

Building the Reflex package

Reflex can be built with two different tools:

GNU autotools

Reflex can be built with the standard autotools procedure. You may follow the steps below to do so.

cd reflex
cp build/* .
./autogen
./configure [OPTIONS]
make
make check (optional)
make install

  • Reflex is provided together with a test suite, which can be built by passing the option "--enable-tests" to the configure step. If the tests are built also the two following environment variables have to be set (either as environment variables or passed to the configure step)
    • GCCXMLROOT : The root directory of the gccxml tool
    • CPPUNITROOT : The root directory of the cppunit test suite
  • Other useful standard autotools options could be:
    • --disable-static : will disable libtool build of the static version of the library
    • --prefix=install/dir : specify the root directory for the installation

Scons

Scons is a python based build tool and can be downloaded from http://www.scons.org. The build with scons is escpecially recommended for building on Windows platforms but runs also on many others

cd reflex
scons -Q

 

 

 
Stefan Roiser, last edited November 10, 2006 8:26 AM Viewable With Any Browser  Valid HTML 4.01!