Difference between revisions of "SAML2-XACML2-C-LIB build instructions"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 1: Line 1:
 +
=== Download the software ===
 +
Binary form (and available as YUM repo);
 +
http://software.nikhef.nl/dist/redhat/el5/mwsec/
 +
 
Work from a Source RPM by downloading the lastest version here:
 
Work from a Source RPM by downloading the lastest version here:
 
  http://software.nikhef.nl/dist/redhat/el5/mwsec/SRPMS/
 
  http://software.nikhef.nl/dist/redhat/el5/mwsec/SRPMS/
Line 6: Line 10:
  
 
Perform an SVN checkout (Tagged):
 
Perform an SVN checkout (Tagged):
  http://ndpfsvn.nikhef.nl/ro/mwsec/tags/saml2-xacml2-c-lib/${CHOOSE_LATEST_VERSION}
+
  http://ndpfsvn.nikhef.nl/ro/mwsec/tags/saml2-xacml2-c-lib/${CHOOSE_LATEST_TAGGED_VERSION}
 
Note: As latest version, currently this is "1_0_1". But this can change over time. Visit the link with a webbrowser.
 
Note: As latest version, currently this is "1_0_1". But this can change over time. Visit the link with a webbrowser.
  
 +
As tarball, choose the latest version:
 +
http://software.nikhef.nl/security/saml2-xacml2-c-lib/
 +
Note: You can double check the download with the SHA1 and SHA256 files.
  
  
Or tarball download:
+
=== Manual Building ===
 
 
 
 
  
http://ndpfsvn.nikhef.nl/ro/mwsec
 
 
  export prefix="/tmp/s2x2";
 
  export prefix="/tmp/s2x2";
 
  export SRCLOC=`pwd`;  
 
  export SRCLOC=`pwd`;  

Revision as of 21:32, 8 April 2011

Download the software

Binary form (and available as YUM repo);

http://software.nikhef.nl/dist/redhat/el5/mwsec/

Work from a Source RPM by downloading the lastest version here:

http://software.nikhef.nl/dist/redhat/el5/mwsec/SRPMS/

Perform an SVN checkout (trunk):

http://ndpfsvn.nikhef.nl/ro/mwsec/trunk/saml2-xacml2-c-lib

Perform an SVN checkout (Tagged):

http://ndpfsvn.nikhef.nl/ro/mwsec/tags/saml2-xacml2-c-lib/${CHOOSE_LATEST_TAGGED_VERSION}

Note: As latest version, currently this is "1_0_1". But this can change over time. Visit the link with a webbrowser.

As tarball, choose the latest version:

http://software.nikhef.nl/security/saml2-xacml2-c-lib/

Note: You can double check the download with the SHA1 and SHA256 files.


Manual Building

export prefix="/tmp/s2x2";
export SRCLOC=`pwd`; 
export libdir="lib"; 
tar xzf gsoap-2.7.17.tar.gz; 
export CXXFLAGS=-fPIC ; 
export CPPFLAG="-DXACML_ADDING_THREADING" ; 
cd ${SRCLOC}/gsoap-2.7
./configure --prefix=/usr --libdir=/usr/${libdir}
make && make DESTDIR=${SRCLOC}/gsoap-2.7-build install
cd ${SRCLOC}/xacml-1.0
./bootstrap && ./configure --prefix=/usr --libdir=/usr/${libdir} --with-gsoap=${SRCLOC}/gsoap-2.7-build/usr --disable-static
make
cd ${SRCLOC}/xacml-1.0
make DESTDIR=${prefix} install