User Tools

Site Tools


en:developer:linux_source_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:developer:linux_source_install [2016/11/17 22:43] anupamaen:developer:linux_source_install [2023/03/13 01:46] – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 ====== Source Installation on Linux ====== ====== Source Installation on Linux ======
  
  
-<TABAREA tabs="Greenstone3,Greenstone2"> +<tabbox Greenstone3>
-<TAB>+
 ===== Greenstone3 ===== ===== Greenstone3 =====
 This walkthrough is for **Linux**. But it may have the side-effect of helping Windows users too. This walkthrough is for **Linux**. But it may have the side-effect of helping Windows users too.
Line 81: Line 83:
  
 ===== Checking out and installing Greenstone 3 and GLI ===== ===== Checking out and installing Greenstone 3 and GLI =====
 +
 +* Make sure $JAVA_HOME and $ANT_HOME are set, and that $JAVA_HOME/bin, $ANT_HOME/bin and your svn/bin are on the PATH.
 +* **If you're on Linux 64 bit,**
 +<code>export CFLAGS=-fPIC $CFLAGS</code>
  
   * **Checking out Greenstone 3 source code from subversion (SVN)**   * **Checking out Greenstone 3 source code from subversion (SVN)**
Line 225: Line 231:
 In your greenstone3 home folder, $GSDLHOME: In your greenstone3 home folder, $GSDLHOME:
 <code>$ ant stop</code> <code>$ ant stop</code>
-Then, deploy (as written in the [[http://www.greenstone.org/docs/greenstone3/manual.pdf|Greenstone 3 manual]], p. 5):+Then, deploy (as written in the [[http://files.greenstone.org/technical/gs3manual.pdf|Greenstone 3 manual]], p. 5):
 <code>$ ant deploy-localsite</code> <code>$ ant deploy-localsite</code>
 Check that it works, by **starting** tomcat again and going to: Check that it works, by **starting** tomcat again and going to:
Line 231: Line 237:
 Make sure that the page appears. You can also look at the wsdl file for the gs3 web service that's been exposed:  Make sure that the page appears. You can also look at the wsdl file for the gs3 web service that's been exposed: 
 <code>http://localhost:8080/greenstone3/services/localsite?wsdl</code> <code>http://localhost:8080/greenstone3/services/localsite?wsdl</code>
-You can also deploy other sites, see the [[http://www.greenstone.org/docs/greenstone3/manual.pdf|Greenstone 3 Developer's Manual]].+You can also deploy other sites, see the [[http://files.greenstone.org/technical/gs3manual.pdf|Greenstone 3 Developer's Manual]].
  
  
Line 345: Line 351:
  
  
-</TAB> +<tabbox Greenstone2>
-<!--############################################################################# +
-############################################################################# +
-############################################################################# +
-#############################################################################--> +
-<TAB>+
 ===== Greenstone2 ===== ===== Greenstone2 =====
 NB: These instructions will apply from 7th June 2007 NB: These instructions will apply from 7th June 2007
Line 528: Line 529:
  
 5. make install 5. make install
-</TAB+</tabbox
-</TABAREA>+