, view all tags
Before developing a CREAM's CLI you must configure properly a SL5_64bit machine with EPEL repositories and basic EMI1 software. Instructions are here:

http://wiki.italiangrid.org/twiki/bin/view/CREAM/SystemAdministratorGuideForEMI1#1_3_Installation .

Here are summarized all the steps described in the link above plus some more rpm to install and other settings:

  1. \rm /etc/yum.repos.d/dag.repo
  2. rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  3. wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/base/emi-release-1.0.0-1.sl5.noarch.rpm
  4. yum -y install ./emi-release-1.0.0-1.sl5.noarch.rpm
  5. wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo -O /etc/yum.repos.d/egi-trustanchors.repo
  6. wget http://forge.cnaf.infn.it/frs/download.php/101/disable_yum.sh
  7. chmod +x disable_yum.sh
  8. ./ disable_yum.sh
  9. yum clean all; yum update all
  10. yum -y install yum-protectbase.noarch
  11. yum -y install ca-policy-egi-core
  12. yum -y install glite-ce-cream-client-api-c.x86_64
  13. yum -y install glite-lbjp-common-gsoap-plugin
  14. yum -y install boost-devel
  15. yum -y install voms-devel voms-clients
Then, download, build and install gSOAP 2.7.6b from this URL:


Now create these symlinks:

  • ln -s /usr/lib64/liblog4cpp.so.4 /usr/lib64/liblog4cpp.so
  • ln -s /usr/lib64/libclassad.so.1 /usr/lib64/libclassad.so
  • ln -s /usr/lib64/libclassad_ns.so.1 /usr/lib64/libclassad_ns.so
  • ln -s /usr/lib64/libcares.so.2 /usr/lib64/libcares.so
  • ln -s /usr/lib64/libglobus_common.so.0 /usr/lib64/libglobus_common.so
  • ln -s /usr/lib64/libglobus_gsi_callback.so.0 /usr/lib64/libglobus_gsi_callback.so
  • ln -s /usr/lib64/libglobus_gssapi_gsi.so.4 /usr/lib64/libglobus_gssapi_gsi.so
  • ln -s /usr/lib64/libglobus_gsi_credential.so.1 /usr/lib64/libglobus_gsi_credential.so
  • ln -s /usr/lib64/libltdl.so.3 /usr/lib64/libltdl.so
  • ln -s /usr/lib64/libglobus_oldgaa.so.0 /usr/lib64/libglobus_oldgaa.so
  • ln -s /usr/lib64/libglobus_proxy_ssl.so.1 /usr/lib64/libglobus_proxy_ssl.so
  • ln -s /usr/lib64/libglobus_openssl_error.so.0 /usr/lib64/libglobus_openssl_error.so
  • ln -s /usr/lib64/libglobus_gsi_proxy_core.so.0 /usr/lib64/libglobus_gsi_proxy_core.so
  • ln -s /usr/lib64/libglobus_gsi_cert_utils.so.0 /usr/lib64/libglobus_gsi_cert_utils.so
  • ln -s /usr/lib64/libglobus_gsi_sysconfig.so.1 /usr/lib64/libglobus_gsi_sysconfig.so
  • ln -s /usr/lib64/libglobus_openssl.so.0 /usr/lib64/libglobus_openssl.so
In the attachments you can find small examples that explain how to use the CREAM Client API C++. You must build them by issuing the commands:

COMPILATION: g++ -c -I/usr/local/include <EXAMPLE>.cpp


g++ -o <EXAMPLE> <EXAMPLE>.o -lglite_security_gsoap_plugin_276b -lglite_ce_cream_client_soap -lglite_ce_cream_client_util /usr/local/lib/libgsoap++.a -lboost_thread -llog4cpp -lvomsapi -lclassad_ns -lgridsite -lboost_regex


-- AlviseDorigo - 2011-06-14

Edit | Attach | PDF | History: r11 | r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r2 - 2011-06-14 - AlviseDorigo

  • Edit
  • Attach
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback