Changeset 35624
- Timestamp:
- 2021-10-16T14:36:03+13:00 (3 years ago)
- Location:
- local/greenstone3/windows-32bit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
local/greenstone3/windows-32bit/README.txt
r35465 r35624 1 1 #---- 2 # Supporting command-line tools to compile up Greenstone3 as 32-bit binaries 3 # (32-bit binaries will run on a 64-bit Windows OS, but will need a 32-bit JDK installed) 2 4 3 5 4 6 # JDK8 32-bit 5 7 6 wget https://cdn.azul.com/zulu/bin/zulu8.56.0.21-ca-jdk8.0.302-win_i686.zip7 8 unzip zulu8.56.0.21-ca-jdk8.0.302-win_i686.zip 8 mv zulu8.56.0.21-ca-jdk8.0.302-win_i686 zulu-jdk8 9 mv zulu8.56.0.21-ca-jdk8.0.302-win_i686 zulu-jdk8-32bit 9 10 10 # Strawberry Perl 32-bit 11 # Perl5 -- This zip does not provide a top-level folder, so use '-d' on uzip 12 13 unzip -d strawberry-perl5-32bit strawberry-perl-5.18.4.1-32bit-portable.zip 14 15 # Ant -- This is already unzipped and checked in 16 17 # VisualStudio -- This is assumed to be installed in your System area 18 19 # Subversion (svn) -- This is assumed to already be on our PATH 20 21 22 # Running gs3-devel.bat sets PATH and other relevant environment variables 23 # appropriately 24 25 .\gs3-devel.bat 26 cd .. 27 28 # Then compile Greenstone3 in the ususal way 29 30 ant 31 ant prepare 32 ant install 33 # ... 34 35 #---- 36 37 38 #### 39 # Notes on where resources came from ... 40 #### 41 42 ## 43 # JDK8 32-bit 44 ## 45 46 # The JDK zip file came from Azul 47 48 firefox "https://www.azul.com/downloads/ 49 50 # => download zip 51 52 # At time of writing, that was: 53 54 wget "https://cdn.azul.com/zulu/bin/zulu8.56.0.21-ca-jdk8.0.302-win_i686.zip" 55 56 57 ## 58 # Perl 59 ## 60 61 # The Perl zip file came from Strawberry Perl 11 62 12 63 wget https://strawberryperl.com/download/5.18.4.1/strawberry-perl-5.18.4.1-32bit-portable.zip 13 64 14 # ** Doesn't come with Top-level folder => use 7Zip or Right-click Windows unzip, and rename:15 mv strawberry-perl-5.18.4.1-32bit-portable strawberry-perl516 17 # ** OR18 unzip -d strawberry-perl5 strawberry-perl-5.18.4.1-32bit-portable.zip19 20 21 22 23 ====24 ## 64-bit (UNUSED)25 26 27 28 ##https://www.azul.com/downloads/?version=java-11-lts&os=windows&architecture=x86-64-bit&package=jdk29 ##https://cdn.azul.com/zulu/bin/zulu11.50.19-ca-jdk11.0.12-win_x64.zip30 31 ##unzip zulu11.50.19-ca-jdk11.0.12-win_x64.zip32 ##mv zulu11.50.19-ca-jdk11.0.12-win_x64 zulu-jdk1133 34 # JDK835 #unzip zulu8.56.0.21-ca-jdk8.0.302-win_x64.zip36 #mv zulu8.56.0.21-ca-jdk8.0.302-win_x64 zulu-jdk837 38 39 40 ## wget https://strawberryperl.com/download/5.18.4.1/strawberry-perl-5.18.4.1-64bit-portable.zip41 ## mv strawberry-perl-5.18.4.1-64bit-portable strawberry-perl542 -
local/greenstone3/windows-32bit/gs3-devel.bat
r35465 r35624 1 1 @echo off 2 2 3 ::rem pushd "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC" 4 ::pushd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC" 5 ::call vcvarsall.bat amd64 6 ::popd 3 :::: 4 :: Visual Studio 5 :::: 7 6 8 ::/cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvarsall.bat 9 7 :: The Start-Menu way to get a VisualStudio terminal open is: 8 :: 9 :: %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" 10 :: 11 :: where cwd is: 12 :: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" 13 :: 14 :: To work within an existing terminal window, use 'call' instead: 15 :: 10 16 pushd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" 11 :: ::%comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"12 ::call "VC\Auxiliary\Build\vcvars64.bat"13 17 call "VC\Auxiliary\Build\vcvars32.bat" 14 18 popd 15 19 20 echo Environment for Visual Studio 32-bit Compiler setup 16 21 17 echo Environment for Visual Studio set up 22 :::: 23 :: Ant (run as a developer) 24 :::: 18 25 19 rem For ant prepare to work, now need wget (along with wgetrc file) on PATH 20 rem These are just the GS3 wget 21 echo "Adding wget with its wgetrc to PATH for devel" 26 :: For 'ant prepare' to work, now need wget (along with wgetrc file) on PATH 27 :: In 'local/bin' folder there is an appropriate binary for this (actually 28 :: an external SVN reference to Greenstone's winbin support tools area) 29 30 echo Adding wget with its wgetrc to PATH for devel 22 31 pushd bin 23 32 set PATH=%CD%;%PATH% -
local/greenstone3/windows-32bit/gs3-setup.bat
r35465 r35624 2 2 3 3 ::set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_45 4 ::set JAVA_HOME=C:\PROGRA~1\Java\JDK18~1.0_4 5 ::set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_55 6 ::set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_20 7 set JAVA_HOME=%CD%\zulu-jdk8 8 ::set JAVA_HOME=%CD%\zulu-jdk11 4 set JAVA_HOME=%CD%\zulu-jdk8-32bit 5 ::set JAVA_HOME=%CD%\zulu-jdk11-32bit 6 9 7 if not exist "%JAVA_HOME%" ( 10 echo %JAVA_HOME% not found. Exiting...11 goto done8 echo %JAVA_HOME% not found. Exiting... 9 goto done 12 10 ) 13 11 set PATH=%JAVA_HOME%\bin;%PATH% 12 echo + Set JAVA_HOME=%JAVA_HOME% and updated PATH 14 13 15 echo + Set JAVA_HOME=%JAVA_HOME% and updated PATH 16 ::set PERL_HOME=C:\strawberry-perl32no64\perl 17 set PERL_HOME=%CD%\strawberry-perl5\perl 14 15 ::set PERL_HOME=C:\strawberry-perl-32bit\perl 16 set PERL_HOME=%CD%\strawberry-perl5-32bit\perl 17 set PATH=%PERL_HOME%\bin;%PATH% 18 echo + Set PERL_HOME=%PERL_HOME% and updated PATH 19 18 20 19 21 ::set ANT_HOME=%CD%\ant-1.8.3 20 22 set ANT_HOME=%CD%\apache-ant-1.9.5 21 22 set PATH=%PERL_HOME%\bin;%ANT_HOME%\bin;%PATH% 23 23 set PATH=%ANT_HOME%\bin;%PATH% 24 24 echo + Set ANT_HOME=%ANT_HOME% and updated PATH 25 26 echo + Set PERL_HOME=%PERL_HOME% and updated PATH27 28 :: Already done in gs3-devel.bat29 rem pushd "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC"30 :: pushd "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC"31 ::call vcvarsall.bat"" amd6432 rem call vcvarsall.bat amd6433 rem popd34 35 36 25 37 26
Note:
See TracChangeset
for help on using the changeset viewer.