From: Alex B. <en...@tu...> - 2001-06-29 17:17:20
|
oops! forgot, sorry. yes, you would need to modify that path. and yes, I agree about having the makesile say "OY! no php command line! :)" _alex > Alex: > > What is the meaning of this error?: > > ------------------------------------------------------ > [root@localhost binarycloud]# pwd > /usr/local/binarycloud > [root@localhost binarycloud]# export BCHOME=/usr/local/binarycloud; make > Building en site > in user > in user/htdocs > in base > in core > in bldr > in init > make[2]: /usr/local/binarycloud/base/utils/processprepend.php: Command > not foundmake[2]: *** [installprepend] Error 127 > in lib > in mgr > [root@localhost binarycloud]# > -------------------------------------------- > > Are you requiring us to have a php binary all compiled up > and in /usr/local/php4/bin as dictated by the shebang > in processorprepend.php, viz > > --------------------------------------- > [root@localhost utils]# pwd > /usr/local/binarycloud/base/utils > [root@localhost utils]# head processprepend.php > #!/usr/local/php4/bin/php -q > <?php > // {{{ Header > /* > * -File $Id: processprepend.php,v 1.3 2001/06/25 17:01:32 odysseas Exp > $ > * -License LGPL (http://www.gnu.org/copyleft/lesser.html) > * -Copyright 2001, Intacct Corp. > * -Author odysseas tsatalos, ody...@ya... > */ > // }}} > [root@localhost utils]# > ---------------------------------------------- > > Now I run RedHat 7.1, and php is in /usr/bin, so I edited the > shebang to #!/usr/bin/php -q and got: > > -------------------------------------------------------- > [root@localhost binarycloud]# pwd > /usr/local/binarycloud > [root@localhost binarycloud]# export BCHOME=/usr/local/binarycloud; make > Building en site > in user > in user/htdocs > in base > in core > in bldr > in init > in lib > in mgr > [root@localhost binarycloud]# > --------------------------------------- > > This might be useful for the people on the list that have > had problems. I also suggest that, in the Makefile > you test for the existence of files that you are going to use > and either tell the user what is missing, or have the Makefile > go out and find what is needed..... > > _jef -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |