From: alex <bin...@li...> - 2001-08-07 18:10:29
|
alex Tue Aug 7 11:10:23 2001 EDT Modified files: /r2 INSTALL.WIN32 Log: Ronald TAO's Win32 Install instructions, synched from sourceforge. Index: r2/INSTALL.WIN32 diff -u r2/INSTALL.WIN32:1.4 r2/INSTALL.WIN32:1.5 --- r2/INSTALL.WIN32:1.4 Fri Jul 13 12:16:51 2001 +++ r2/INSTALL.WIN32 Tue Aug 7 11:10:23 2001 @@ -1,49 +1,47 @@ binarycloud make/r2 Win32 quick tutorial ------------------------------------------------------------------------------- -1. go to http://sources.redhat.com/cygwin/ install the latest cygwin -package, +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 + hard to install all packages, make sure you set the default TEXT FILE TYPE to UNIX from the installation tools, sorry :) -2. get the latest win32 version of PHP for http://www.php.net/, don't ask me +2. get the latest win32 version PHP from 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. + ENVIRONMENT, or checkout from the latest CVS sourse tree, in your cygwin + shell type the following commands, + cvs -d:pserver:ano...@cv...: + /cvsroot/binarycloud login (type it in the same line, use anonymous as + password) + cvs -z3 -d:pserver:ano...@cv...: + /cvsroot/binarycloud co r2 (type it in the same line) + +4. set the environment variable BCHOME to c:/path/to/binaryclound (yes, is the + Windows sytle path with driver letter, 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 + it should print out the path you have just set, like + c:/path/to/binarycloud -You need a text editor you familiar with for the following steps, no metter -it +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 +5. use an 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 +6. use an 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. +7. things done, go back to $BCHOME, and type make, everythings should be fine. ------------------------------------------------------------------------------- Please send your comment to ron...@ho.... have fun :) |