en:developer:linux_source_install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
en:developer:linux_source_install [2016/11/17 22:43] – anupama | en:developer:linux_source_install [2016/11/17 22:43] – anupama | ||
---|---|---|---|
Line 22: | Line 22: | ||
- | You need to install it on the research partition, ELSE IT DOESN' | + | You need to install it on the research partition, ELSE IT DOESN' |
- | < | + | < |
Line 31: | Line 31: | ||
- | For students or developers at the University of Waikato: make sure these are installed in the RESEARCH partition, else it doesn' | + | For students or developers at the University of Waikato: make sure these are installed in the RESEARCH partition, else it doesn' |
(**sources** is just a folder where I put the unzipped source code for Greenstone 3 related programs). | (**sources** is just a folder where I put the unzipped source code for Greenstone 3 related programs). | ||
For everyone else, replace this with your FULL PATH to where the apr, apr-util and subversion will be installed. | For everyone else, replace this with your FULL PATH to where the apr, apr-util and subversion will be installed. | ||
Line 47: | Line 47: | ||
The following is separated into multi-lines, | The following is separated into multi-lines, | ||
< | < | ||
- | $ ./ | + | $ ./ |
--without-apxs | --without-apxs | ||
- | --with-apr=/ | + | --with-apr=/ |
- | --with-apr-util=/ | + | --with-apr-util=/ |
--with-neon=/ | --with-neon=/ | ||
</ | </ | ||
Line 56: | Line 56: | ||
< | < | ||
make install</ | make install</ | ||
- | Now it's created a folder called ' | + | Now it's created a folder called ' |
Next, add the path to the bin directory to the paths already exported: | Next, add the path to the bin directory to the paths already exported: | ||
- | < | + | < |
For more details, see [[en: | For more details, see [[en: | ||
Line 97: | Line 97: | ||
[co stands for checkout, which will checkout code from SVN] | [co stands for checkout, which will checkout code from SVN] | ||
- | Whenever you need to update with the latest source code from the SVN repository, cd to the $GSDL3HOME directory (your Greenstone installation directory, for example /Scratch/<your-username>/ | + | Whenever you need to update with the latest source code from the SVN repository, cd to the $GSDL3HOME directory (your Greenstone installation directory, for example / |
< | < | ||
Line 126: | Line 126: | ||
- | Update your .profile file, containing your settings, to export JAVA_HOME and update the PATH to point to your Java installation. Go to /Scratch/<your-username>, then either use emacs (or some other text editor) to make the changes to the .profile file by launching it as: | + | Update your .profile file, containing your settings, to export JAVA_HOME and update the PATH to point to your Java installation. Go to / |
< | < | ||
Find out where your Java installation is: | Find out where your Java installation is: | ||
Line 166: | Line 166: | ||
- | Go to $GSDLHOME, Greenstone3 home directory (which in the example above is /Scratch/<your-username>/ | + | Go to $GSDLHOME, Greenstone3 home directory (which in the example above is / |
< | < | ||
Press ' | Press ' |