From: alex <bin...@li...> - 2001-07-13 19:16:57
|
alex Fri Jul 13 12:16:51 2001 EDT Modified files: /r2 INSTALL.WIN32 Log: Ronald TAO's more detailed windows installation instructions. Index: r2/INSTALL.WIN32 diff -u r2/INSTALL.WIN32:1.3 r2/INSTALL.WIN32:1.4 --- r2/INSTALL.WIN32:1.3 Thu Jul 12 16:07:22 2001 +++ r2/INSTALL.WIN32 Fri Jul 13 12:16:51 2001 @@ -1,12 +1,50 @@ -Test. -By Ronald Tao - 2001/06/30 +binarycloud make/r2 Win32 quick tutorial +------------------------------------------------------------------------------- +1. go to http://sources.redhat.com/cygwin/ install the latest cygwin +package, + up till now, I still not sure which package is a must to install, so try + hard to install all packages, make sure you set the default TEXT FILE +TYPE + to UNIX from the installation tools, sorry :) -1. go to http://sources.redhat.com/cygwin/ install the latest cygwin -package. -2. download the win32 version of PHP for http://www.php.net/ -3. unpack the r2 package in the cygwin environment. -4. set the environment variable BCHOME=c:/path/to/binarycloud -5. edit BCHOME/base/utils/installcode.sh, add #!/bin/sh in the first line -6. edit BCHOME/base/utils/processprepend.php and xml2php.php, replace the -first line with #!c:/path/to/php/php.exe -q -7. then let's make, and it should be fine....... :) +2. get the latest win32 version of PHP for http://www.php.net/, don't ask me + how to install PHP, ok... + +3. get the latest binarycloud r2 package, there are two ways to do so, first + you can download the tarball here, http://www.binarycloud.com/download/, + and unpack it in the cygwin environment, DO NOT UNPACK IT IN NATIVE WIN32 + ENVIRONMENT, or checkout from the latest CVS sourse tree. (I forgot the +a/c + and password for anonymous access, you ask alex, ok...) + +4. set the environment variable BCHOME to c:/path/to/binaryclound (yes, is +the + Windows sytle path, not the UNIX one, check your own), try to type these +in + cygwin shell. + export BCHOME='c:/path/to/binarycloud' + Then try the following to see if it is ok or not. + echo $BCHOME + +You need a text editor you familiar with for the following steps, no metter +it +is vi in cygwin or UltraEdit in Windows, but make sure it can work with UNIX +type EOL, otherwise you will find all the files are very messy. + +5. use a editor to open $BCHOME/base/utils/installcode.sh, add the following + line to the very begining of the file (the first line, ok...). + #!/bin/sh (yes, is UNIX style path this time) + +6. use a editor to open $BCHOME/base/utils/processprepend.php and +xml2php.php + you can see these in the first line, #!/usr/local/php4/bin/php -q, of +both + files, simply replace it by the following line. + #!c:/path/to/php/php.exe -q (yes, is Windows sytle again) + +7. things done, go back to $BCHOME, and type make, everythins should be +fine. +------------------------------------------------------------------------------- +Please send your comment to ron...@ho.... +have fun :) + |