Gridsite

From GridInfo

Jump to: navigation, search

Gridsite on debian

Gridsite can be found from http://www.gridsite.org/ and doesn't come with useful installation instructions. See below for how to install on Debian etch...

  • Install some prerequisites
apt-get install doxygen libssl-dev libxml2-dev libcurl3-openssl-dev apache2 libapr1-dev libaprutil1-dev apache2-threaded-dev kerberos-dev libidn11-dev libssl-dev
  • Download source and untar
wget http://www.gridsite.org/download/sources/gridsite-1.4.3.src.tar.gz
tar -zxf gridsite-1.4.3.src.tar.gz
cd org.gridsite.core/src
  • Fix Makefile for correct include paths
export MYCFLAGS=-I. -I../interface $(HTTPD_FLAGS) -I/usr/include/apache2/ -I/usr/include/apr-1.0 -I/opt/glite/include -fPIC
  • The current code assumes an old version of openssl headers which have changed, see bug 13379
  • Something odd is wrong with the use of apr. We don't understand what's wrong but changing line 270 of /usr/include/apr-1.0/apr.h to the following fixes it.
typedef  __off64_t      apr_off_t;
  • Compile and install
make
make install
Personal tools