Changeset 21173 for gs2-extensions
- Timestamp:
- 2009-12-01T22:32:16+13:00 (13 years ago)
- Location:
- gs2-extensions/gsdl-video/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/gsdl-video/trunk/CASCADE-MAKE.bat
r18996 r21173 11 11 ) 12 12 13 if "x%$APACHE_HTTPD_HOME%" == "x" ( 14 set APACHE_HTTPD_HOME=%GSDLHOME%\apache-httpd\windows 15 ) 16 13 17 if not exist "%GSDLHOME%\apache-httpd" ( 14 18 REM ... and it also needs to have been configured with --enable-apache-httpd 15 19 REM This is because the entension needs to add mod_flvx to the web server 16 20 17 echo Could not find the directory "%GSDLHOME%\apache-httpd" 18 echo Has the main Greenstone been configure for this? 19 echo e.g. nmake /f win32.mak APACHE_HTTPD=1 [... other options] 20 exit ErrorExitNeg1 21 echo Warning: Could not find the directory "%GSDLHOME%\apache-httpd" 22 echo Has the main Greenstone been configure for this? 23 echo e.g. nmake /f win32.mak APACHE_HTTPD=1 [... other options] 24 echo. 25 echo => Only the build-time code for the extension will be compiled 26 set APACHE_HTTPD_HOME= 21 27 ) 22 28 … … 28 34 29 35 30 for /D %%d IN ("%GSDLOS%") do ( 31 if not exist "%GEXTVIDEO_INSTALLED%\%%d" ( 32 echo Creating %GEXTVIDEO_INSTALLED%\%%d 33 mkdir "%GEXTVIDEO_INSTALLED%\%%d" 34 ) 36 echo "Test for directory in Windows might not be correct syntax!!" 37 if not exist "%GEXTVIDEO_INSTALLED%" ( 38 echo Creating %GEXTVIDEO_INSTALLED% 39 mkdir "%GEXTVIDEO_INSTALLED%" 35 40 ) 36 41 37 set dirlist=build-srcpack runtime-srcpack 42 set dirlist=build-srcpack 43 44 if "x%APACHE_HTTPD_HOME%" != "x" ( 45 set dirlist=%dirlist% runtime-srcpack 46 ) 47 38 48 if exist "devel-srcpack" ( 39 49 set dirlist=%dirlist% devel-srcpack -
gs2-extensions/gsdl-video/trunk/CASCADE-MAKE.sh
r18953 r21173 9 9 fi 10 10 11 if [ ! -d "$GSDLHOME/apache-httpd" ] ; then 11 if [ -z $APACHE_HTTPD_HOME ] ; then 12 export APACHE_HTTPD_HOME=$GSDLHOME/apache-httpd/$GSDLOS 13 fi 14 15 if [ ! -d "$APACHE_HTTPD_HOME" ] ; then 12 16 # ... and it also needs to have been configured with --enable-apache-httpd 13 17 # This is because the entension needs to add mod_flvx to the web server 14 18 15 echo "Could not find the directory \"$GSDLHOME/apache-httpd\"" 16 echo "Has the main Greenstone been configure for this? " 17 echo "e.g. ./configure --enable-apache-httpd [... other options]" 18 exit -1 19 echo "Warning: Could not find the directory \"$APACHE_HTTPD_HOME\"" 20 echo " Has the main Greenstone been configure for this? " 21 echo " e.g. ./configure --enable-apache-httpd [... other options]" 22 echo "" 23 echo "=> Only the build-time code for the extension will be compiled" 24 export APACHE_HTTPD_HOME= 19 25 fi 20 26 … … 25 31 # Guaranteed that GSDLOS has now been set 26 32 27 for d in $GSDLOS ; do 28 if [ ! -e $GEXTVIDEO_INSTALLED/$d ] ; then 29 echo "Creating $GEXTVIDEO_INSTALLED/$d" 30 mkdir $GEXTVIDEO_INSTALLED/$d 31 fi 32 done 33 if [ ! -e $GEXTVIDEO_INSTALLED ] ; then 34 echo "Creating $GEXTVIDEO_INSTALLED" 35 mkdir $GEXTVIDEO_INSTALLED 36 fi 33 37 34 dirlist="build-srcpack runtime-srcpack" 38 dirlist="build-srcpack" 39 40 if [ ! -z $APACHE_HTTPD_HOME ] ; then 41 dirlist="$dirlist runtime-srcpack" 42 fi 43 35 44 if [ -e devel-srcpack ] ; then 36 45 dirlist="$dirlist devel-srcpack" -
gs2-extensions/gsdl-video/trunk/setup.bash
r18955 r21173 6 6 if [ "x$GEXTVIDEO" = "x" ] ; then 7 7 export GEXTVIDEO=`pwd` 8 export GEXTVIDEO_INSTALLED=$GEXTVIDEO/ installed8 export GEXTVIDEO_INSTALLED=$GEXTVIDEO/$GSDLOS 9 9 10 export PATH=$GEXTVIDEO_INSTALLED/ $GSDLOS/bin:$PATH10 export PATH=$GEXTVIDEO_INSTALLED/bin:$PATH 11 11 12 12 if [ "x$LD_LIBRARY_PATH" = "x" ] ; then 13 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/ $GSDLOS/lib13 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/lib 14 14 else 15 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/$GSDLOS/lib:$LD_LIBRARY_PATH 15 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/lib:$LD_LIBRARY_PATH 16 fi 17 if [ "x$DYLD_LIBRARY_PATH" = "x" ] ; then 18 export DYLD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/lib 19 else 20 export DYLD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/lib:$DYLD_LIBRARY_PATH 16 21 fi 17 22 18 23 if [ -e "devel-srcpack" ] ; then 19 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/devel/$GSDLOS/lib:$LD_LIBRARY_PATH 24 export LD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/devel/lib:$LD_LIBRARY_PATH 25 export DYLD_LIBRARY_PATH=$GEXTVIDEO_INSTALLED/devel/lib:$DYLD_LIBRARY_PATH 20 26 fi 21 27 -
gs2-extensions/gsdl-video/trunk/setup.bat
r18983 r21173 15 15 :WinNT 16 16 set GEXTVIDEO=%CD% 17 set GEXTVIDEO_INSTALLED=%GEXTVIDEO%\ installed17 set GEXTVIDEO_INSTALLED=%GEXTVIDEO%\windows 18 18 19 set PATH=%GEXTVIDEO_INSTALLED%\ windows\bin;%PATH%19 set PATH=%GEXTVIDEO_INSTALLED%\bin;%PATH% 20 20 set GS_CP_SET=yes 21 21 goto Success … … 30 30 :Win95Env 31 31 set GEXTVIDEO=%CD% 32 set PATH="%GEXTVIDEO_INSTALLED%\ windows\bin";"%PATH%"32 set PATH="%GEXTVIDEO_INSTALLED%\bin";"%PATH%" 33 33 set GS_CP_SET=yes 34 34 goto Success
Note:
See TracChangeset
for help on using the changeset viewer.