Last change
on this file since 22237 was 22237, checked in by sjm84, 14 years ago |
Upgraded the technology used in this extension, also changed the apache building into a single pass rather than 2 passes
|
File size:
1.0 KB
|
Rev | Line | |
---|
[16683] | 1 |
|
---|
| 2 |
|
---|
| 3 | extdesc="the Apache-MySql-Php (AMP) Extension"
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 | if [ "x$GEXTAMP" = "x" ] ; then
|
---|
| 7 | export GEXTAMP=`pwd`
|
---|
[22237] | 8 | export GEXTAMP_INSTALLED=$GEXTAMP/installed/linux
|
---|
[16683] | 9 |
|
---|
| 10 | export PATH=$GEXTAMP_INSTALLED/bin:$PATH
|
---|
| 11 |
|
---|
| 12 | if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
|
---|
| 13 | export LD_LIBRARY_PATH=$GEXTAMP_INSTALLED/lib
|
---|
| 14 | else
|
---|
| 15 | export LD_LIBRARY_PATH=$GEXTAMP_INSTALLED/lib:$LD_LIBRARY_PATH
|
---|
| 16 | fi
|
---|
| 17 |
|
---|
[22234] | 18 |
|
---|
| 19 | export APACHE_HTTPD_HOME="$GEXTAMP_INSTALLED";
|
---|
| 20 | export COMPILE_UP_APACHE_HTTPD=1
|
---|
| 21 |
|
---|
| 22 | if [ -n "$GSDLHOME" ] ; then
|
---|
| 23 | # see if there is already an apache httpd we can use
|
---|
| 24 | # override default values if there is
|
---|
| 25 | if [ -e "$GSDLHOME/apache-httpd/$GSDLOS" ] ; then
|
---|
| 26 | export APACHE_HTTPD_HOME="$GSDLHOME/apache-httpd/$GSDLOS";
|
---|
| 27 | export COMPILE_UP_APACHE_HTTPD=0
|
---|
| 28 | fi
|
---|
[22237] | 29 | fi
|
---|
[22234] | 30 |
|
---|
| 31 |
|
---|
| 32 | extdir=${GEXTAMP##*/}
|
---|
| 33 |
|
---|
[16683] | 34 | if [ "x$GSDLEXTS" = "x" ] ; then
|
---|
[22234] | 35 | export GSDLEXTS=$extdir
|
---|
[16683] | 36 | else
|
---|
[22234] | 37 | export GSDLEXTS=$GSDLEXTS:$extdir
|
---|
[16683] | 38 | fi
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 | echo "+Your environment is now setup for $extdesc to Greenstone"
|
---|
| 42 | else
|
---|
| 43 | echo "+Your environment is already setup for $extdesc to Greenstone"
|
---|
| 44 | fi
|
---|
| 45 |
|
---|
| 46 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.