From: TAO R. <ron...@ho...> - 2001-06-30 05:10:39
|
> > hi all, > > > > I just test the r2 make system in my win32 box, and it works very fine, > > try the following step, > >no s*it? >you rule, ronald. nothing messy...... haha :) > > > 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....... :) > > > > have fun :) > >I'll include your instructions in the manual.... excellent! > >_alex that's great... but it's better someone try on it, and report the problem..... ronald _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
From: W.D.Sumilang <wa...@on...> - 2001-06-30 23:42:39
|
Hello, All's well with make on win... EXCEPT an error when running 'xslt_example.php' : Warning: Failed opening 'c:/cygwin/home/wds/r2/binarycloud/build/en/binarycloud/Init.php' for inclusion (include_path='.;') in ./prepend.php on line 33 Fatal error: Cannot instantiate non-existent class: init in c:/cygwin/home/wds/r2/binarycloud/build/en/htdocs/xslt_example.php on line 50 *********** apparently path problem, not looking in Init for Init.php o.k. so the line in xslt_example.php: import('binarycloud.Init'); changed to: import('binarycloud.init.Init'); then got this error: Warning: Failed opening 'c:/cygwin/home/wds/r2/binarycloud/build/en/user/mod//.php' for inclusion (include_path='.;') in ./prepend.php on line 33 Fatal error: Cannot instantiate non-existent class: in c:/cygwin/home/wds/r2/binarycloud/build/en/binarycloud/core/Page.php on line 129 ************ Now i'm clueless :( __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com |
From: TAO R. <ron...@ho...> - 2001-07-09 16:00:59
|
>Its going to be a week or so until I get a linux server together so I want >to try this win install to get better acquainted with BC2. Its been forever >since I worked with BC1, so maybe I should know this but how do I set the >environment variable BCHOME=c:/path/to/binarycloud, is this variable in the >prepend file or something? I can find BCPATH, but no BCHOME... > >Alby hi alby, have you got the cygwin installed in your windows box...??? just set the BCHOME as an evironment variable in the cygwin.... is BCHOME not BCPATH and not in any file... ronald :) > > >"Quote" >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....... :) >"Quote" > > >_______________________________________________ >binarycloud-dev mailing list >bin...@li... >http://lists.sourceforge.net/lists/listinfo/binarycloud-dev _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
From: Alby L. <al...@th...> - 2001-07-09 17:19:46
|
QUOTE have you got the cygwin installed in your windows box...??? just set the BCHOME as an evironment variable in the cygwin.... is BCHOME not BCPATH and not in any file... QUOTE Yeah, I installed cygwin and it works fine, is this a shell command? $ set BCHOME=c:/usr/r2/cygwin/binarycloud/ or $ BCHOME=c:/usr/r2/cygwin/binarycloud/ doesn't give an error, but then why I try to make I get a bunch of errors: QUOTE grep: /user/conf/langs.xml: No such file or directory... Building end site in user /base/utils.... QUOTE Seems like I am not setting the environment variable correctly... alby |
From: Alby L. <al...@th...> - 2001-07-09 18:43:03
|
Ronald - thanks for the help! :-) I figured out to put "env BCHOME=c:/cygwin/usr/binarycloud/r2/binarycloud/" and then I get a list of the environment variables and can see that its listed there. However, I still get the same grep error... do I have to do something with BCLANG? Alby |
From: John D. <jo...@we...> - 2001-07-09 19:07:20
|
I've been following this discussion a bit; it would be cool if the various folks with non-Linux platforms put together an INSTALL document (the current INSTALL document contains a broken HTTP link) for various platforms which are outside of the current development environments. Linux is, to my knowledge, the only operating system that binarycloud is being _developed_ on, but as long as it works(?) under FreeBSD and WIN32, we should leverage that. It would also help move this traffic off of the development list. John On Mon, 9 Jul 2001, Alby Lash wrote: > Ronald - thanks for the help! :-) > > I figured out to put "env BCHOME=c:/cygwin/usr/binarycloud/r2/binarycloud/" > and then I get a list of the environment variables and can see that its > listed there. However, I still get the same grep error... > > do I have to do something with BCLANG? > > Alby > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > > -- John Donagher Application Engineer Intacct Corp. - Powerful Accounting on the Web 408-395-0989 720 University Ave. Los Gatos CA 95032 www.intacct.com Public key available off http://www.keyserver.net Key fingerprint = 4024 DF50 56EE 19A3 258A D628 22DE AD56 EEBE 8DDD |
From: Reini U. <ru...@x-...> - 2001-07-10 20:26:15
|
with or without cygwin? with cygwin it's basically exactly the same as in linux/freebsd. I noticed no differences. without cygwin some bash/cmd commands are different or not existent. (export => set, no find, no for-done, no if-fi, ...) and I don't think that you will be able to get ms nmake to do the same as gnu make. so better get cygwin. John Donagher schrieb: > I've been following this discussion a bit; it would be cool if the various > folks with non-Linux platforms put together an INSTALL document (the current > INSTALL document contains a broken HTTP link) for various platforms which are > outside of the current development environments. Linux is, to my knowledge, the > only operating system that binarycloud is being _developed_ on, but as long as > it works(?) under FreeBSD and WIN32, we should leverage that. It would also > help move this traffic off of the development list. > > John > > On Mon, 9 Jul 2001, Alby Lash wrote: > > I figured out to put "env BCHOME=c:/cygwin/usr/binarycloud/r2/binarycloud/" > > and then I get a list of the environment variables and can see that its > > listed there. However, I still get the same grep error... my cygwin grep/sed from the main Makefile works okay for me. only the main Makefile.in should better have a fallback for BCHOME, like a shell call to if [ -x BCHOME ]; then BCHOME=`pwd`; fi <quote> 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....... :) </quote> okay, step by step for cygwin: (BTW: a sed script for fixing the three shebangs would be nice...) $ cd /cygdrive/r/php/bc/cvs $ cvs -d:pserver:anonymous@209.61.189.150:/home/scm/cvsroot login $ cvs -d:pserver:anonymous@209.61.189.150:/home/scm/cvsroot update r2 $ cd r2/binarycloud $ notepad base/utils/installcode.sh $ notepad base/utils/processprepend.php $ notepad base/utils/xml2php.php $ export BCHOME=`pwd`; make -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Alex B. <en...@tu...> - 2001-07-09 20:05:54
|
> do I have to do something with BCLANG? No -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: TAO R. <ron...@ho...> - 2001-07-10 06:39:03
|
> >You have to set it in your environment. > >I think there is a windows "set" comment... but I don't know: Ronald? > >:) > >_a > because the default shell in cygwin is bash... so just do the easiest thing export BCHOME='c:/path/to/binarycloud' that's all, and try to echo $BCHOME, see if it is ok or not.... ronald :) _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
From: Jimmy H. <ji...@ha...> - 2001-07-10 08:15:48
|
Odysseas / alex, Perhaps to make BC multi site friendly we can do it like this: /path/to/binarycloud/user/siteA /path/to/binarycloud/user/siteB /path/to/binarycloud/user/siteC Move everything under /path/to/binarycloud/user Into /path/to/binarycloud/user/siteA Then on the make command it would be: make siteA Or to build a site skeleton: make new name=siteA Perhaps the skeleton should be placed under: /path/to/binarycloud/base/skeleton Regards, Jimmy Harlindong |
From: Justin F. <je...@ey...> - 2001-07-10 13:05:26
|
Jimmy: There is a discussion going on to change from: user |-- binarycloud | `-- mod | `-- mod | `-- xslt_example |-- conf |-- db | |-- dump | `-- schema |-- lang |-- mod | |-- astronomy | |-- hello_world | |-- lib | |-- myCP | |-- set_lang_example | | `-- html | |-- system | |-- test | |-- webalizer | | `-- webalizer | `-- xslt_example |-- roles `-- tmpl `-- html |-- layouts `-- masters in which site-specific modules and/or general modules have to go under user/mod, and/or site-specific masters and layouts, to avoid name clash, have to be under |-- roles `-- tmpl `-- html |-- layouts/site_name `-- masters/sites_name TO---------- sites to be put at the ./user level, like user |-- binarycloud | `-- mod | `-- mod | `-- xslt_example |-- conf |-- db | |-- dump | `-- schema |-- lang |-- mod |-- roles `-- tmpl | `-- html | |-- layouts | `-- masters site1 |-- conf |-- lang |-- mod `-- tmpl | `-- html | |-- layouts | `-- masters | site2 | and so forth. This makes BC more multi-site friendly. Anyway, this is what I understand what is being considered. Right now, I just am developing all modules under "package" directories under ./mod/package and have all masters/layouts in the same directory but pay attention not to have name clash, even though masters and layouts will be numerous over many sites. I hope this will be temporary. There has also been a discussion of the DOCUMENT_ROOT tree structure, but, in a way, this is up to the user and BC doesn't need to dictate how the DOCUMENT_ROOT is organized, it is truly a user preference. ------------------------- Jimmy Harlindong wrote: > > Odysseas / alex, > > Perhaps to make BC multi site friendly we can do it like this: > > /path/to/binarycloud/user/siteA > /path/to/binarycloud/user/siteB > /path/to/binarycloud/user/siteC > > Move everything under > /path/to/binarycloud/user > Into > /path/to/binarycloud/user/siteA > > Then on the make command it would be: > > make siteA > > Or to build a site skeleton: > make new name=siteA > > Perhaps the skeleton should be placed under: > /path/to/binarycloud/base/skeleton > > Regards, > Jimmy Harlindong > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev -- Justin Farnsworth Eye Integrated Communications 321 South Evans - Suite 203 Greenville, NC 27858 | Tel: (252) 353-0722 |
From: Jimmy H. <ji...@ha...> - 2001-07-10 14:08:52
|
Justin, IIRC (If I read correctly :) this is what I was proposing as well. That's good then I agree :) I am starting to pick up the pace with BC now... Gosh been trying to get it into my thick head for over a week and it only started to dawn on me in these last two days.... Maybe I should stop chatting on irc so much.. :) Ta > sites to be put at the ./user level, like > > user > |-- binarycloud > | `-- mod > | `-- mod > | `-- xslt_example > |-- conf > |-- db > | |-- dump > | `-- schema > |-- lang > |-- mod > |-- roles > `-- tmpl > | `-- html > | |-- layouts > | `-- masters > site1 > |-- conf > |-- lang > |-- mod > `-- tmpl > | `-- html > | |-- layouts > | `-- masters > | > site2 > | > |
From: Alex B. <en...@tu...> - 2001-07-10 18:00:19
|
> sites to be put at the ./user level, like > > user > |-- binarycloud > | `-- mod > | `-- mod > | `-- xslt_example > |-- conf > |-- db > | |-- dump > | `-- schema > |-- lang > |-- mod > |-- roles > `-- tmpl > | `-- html > | |-- layouts > | `-- masters > site1 > |-- conf > |-- lang > |-- mod > `-- tmpl > | `-- html > | |-- layouts > | `-- masters > | > site2 > | Actually, I was thinking one level below in the source tree. In the build tree, the imports would probably looks like sitename.mod.mod_dir.ModuleName > and so forth. This makes BC more multi-site friendly. > Anyway, this is what I understand what is being considered. Not considered, many people have mentioned this and I totally agree with it. After core is complete and stable, we'll go through and do this "other stuff" > Right now, I just am developing all modules under > "package" directories under ./mod/package and > have all masters/layouts in the same directory > but pay attention not to have name clash, even > though masters and layouts will be numerous > over many sites. I hope this will be temporary. It will. > There has also been a discussion of the DOCUMENT_ROOT > tree structure, but, in a way, this is up to the > user and BC doesn't need to dictate how the DOCUMENT_ROOT > is organized, it is truly a user preference. yes, the only "requirement" for distro modules is that they use the resources/ tree. -alex |
From: Alex B. <en...@tu...> - 2001-07-10 17:46:14
|
This was the directory structure I had in mind.. I like that better than: binarycloud/ base/ user/ sitename/ sitename/ sitename/ sitename/ etc. > Odysseas / alex, > > Perhaps to make BC multi site friendly we can do it like this: > > /path/to/binarycloud/user/siteA > /path/to/binarycloud/user/siteB > /path/to/binarycloud/user/siteC > > Move everything under > /path/to/binarycloud/user > Into > /path/to/binarycloud/user/siteA > > Then on the make command it would be: > > make siteA > > Or to build a site skeleton: > make new name=siteA > > Perhaps the skeleton should be placed under: > /path/to/binarycloud/base/skeleton That's an interesting idea, but user/ would effectively provide that in the distro tarballs. That's why those tarballs are like that: so you can install a functioning, if small application. _a > > Regards, > Jimmy Harlindong > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alby L. <al...@th...> - 2001-07-10 18:09:30
|
When using BC for multiple sites, I am curious about the "make siteA" command. Does this mean that if we build a site with BC, then build another one 6 months later, we will have to re-make the first site, then make the second, etc. ? Or is the makefile currently defaulting to en and da for the time being? Alby > > make siteA |
From: Alex B. <en...@tu...> - 2001-07-10 18:24:11
|
> When using BC for multiple sites, I am curious about the "make siteA" > command. Does this mean that if we build a site with BC, then build another > one 6 months later, we will have to re-make the first site, then make the > second, etc. ? No. You would only need to run make in the sites that you changed - i.e. if you go in and modify code in the source tree, then you run make to publish it to your build directory. You wouldn't need to make every site subdirectory every time you make a modification to one. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: TAO R. <ron...@ho...> - 2001-07-10 06:42:49
|
> >Ronald - thanks for the help! :-) > >I figured out to put "env BCHOME=c:/cygwin/usr/binarycloud/r2/binarycloud/" >and then I get a list of the environment variables and can see that its >listed there. However, I still get the same grep error... > >do I have to do something with BCLANG? > >Alby env can't set the environment.... try to do this if your don't change the default shell(bash) in cygwin, export BCHOME='c:/path/to/binarycloud' then echo $BCHOME, to see if it is ok or not..... and go and make it ...... if you still got something wrong, please have a say here, I will try to fix it... have fun :) ronald _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
From: Alby L. <al...@ro...> - 2001-07-10 12:52:45
|
Ronald, BC is made! Thanks. Alby |