LFC and DPM Build from Sources

LFC or DPM can be built from the sources of the LCG-DM module

http://glite.cvs.cern.ch:8180/cgi-bin/glite.cgi/LCG-DM/

Build from source

The same sources are used to build a number of RPMs in different flavours, so there is a quite complex build procedure for all of this in the ETICS configuration what we use for the official gLite releases.

You can see those ETICS build commands for example here: http://glite.cvs.cern.ch:8180/cgi-bin/glite.cgi/LCG-DM/project/e-c_LCG-DM.ini?view=markup

However the full build requires Oracle Pro*C and will also produce DPM services, what you do not (yet? :-)) need.

I think what you need to build is the MySQL flavour of LFC and the common libraries (lcg-dm-common):

GLOBUS_LOCATION=${globus.location} \
EXTRA_CONFIGURE_OPTIONS="--with-dpm-config-file=/opt/lcg/etc/DPMCONFIG 
--with-id-map-file=/opt/lcg/etc/lcgdm-mapfile
--with-ns-config-file=/opt/lcg/etc/NSCONFIG
--with-globus-location=${globus.location}
--with-gsoap-location=${gsoap.location}
--with-gsoap-version=${gsoap.version}
--with-cgsi-gsoap-location=${org.glite.security.cgsi-gsoap-2.7.location}
--with-voms-location=${voms.location}
--with-mysql-location=${mysql-devel.location}
--with-swig-location=${swig.location}" make -f Makefile.rpm rpm-lcg-dm-common rpm-LFC-mysql

Picking up binaries

Of course you could just pick up the released binaries:

http://eticssoft.web.cern.ch/eticssoft/repository/org.glite/LCG-DM/

Build from source RPMs

The third way of building is using source RPMs, which are also part of the release: http://eticssoft.web.cern.ch/eticssoft/repository/org.glite/LCG-DM/1.6.11/src/

If you install the following dependencies:

    gSOAP-2.7.6b-1.slc4
    CGSI_gSOAP_2.7-voms-1.2.1-2.slc4
    CGSI_gSOAP_2.7-1.2.1-2.slc4
    CGSI_gSOAP_2.7-dev-1.2.1-2.slc4
    glite-security-voms-api-c-1.7.24-1.slc4
    glite-security-voms-api-1.7.24-1.slc4
    vdt_globus_essentials-VDT1.6.0x86_rhas_4-2
    vdt_globus_data_server-VDT1.6.0x86_rhas_4-3
    vdt_globus_sdk-VDT1.6.0x86_rhas_4-1
    vdt_compile_globus_core-VDT1.6.0-1
    gpt-VDT1.6.0x86_rhas_4-1
    swig-1.3.21-6

Then the build commands would be

mkdir -p build-rpm/{BUILD,RPMS,SRPMS,SOURCES,SPECS}
rpmbuild --define "_topdir $PWD/build-rpm" --rebuild lcg-dm-common-1.6.11-3sec.slc4.src.rpm   
rpmbuild --define "_topdir $PWD/build-rpm" --rebuild LFC-1.6.11-1sec.slc4.src.rpm
rpmbuild --define "_topdir $PWD/build-rpm" --rebuild DPM-1.6.11-1sec.slc4.src.rpm

-- AkosFrohner - 05 Aug 2008

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2008-08-05 - AkosFrohner
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback