From: Justin F. <je...@ey...> - 2001-07-06 09:58:08
|
Jimmy: Lessee, I may have knee-jerked when I noticed that you did not export your environment. And, from your previous post, I assume that /home/me is really /home/pngia. SO: cd to /home/pngia/r2/binarycloud type: BCHOME=`pwd` make You should see something like Building da site in user in user/htdocs in base in core in bldr in init make[2]: /home/pngia/r2/binarycloud/base/utils/processprepend.php: Command not found make[2]: *** [installprepend] Error 127 in lib in mgr Building en site in user in user/htdocs in base in core in bldr in init make[2]: /home/pngia/r2/binarycloud/base/utils/processprepend.php: Command not found make[2]: *** [installprepend] Error 127 in lib in mgr on the pristine CVS/tarball. 1. To eliminate the building of the da language build, go to your Makefile and edit/force # you could replace this with the list of langs LANGS=`grep code $(USER_DIR)/conf/langs.xml | sed -e 's/^.*<code>//' -e 's/<.*//'` LANGS=en <<== FORCE ENGLISH IF THAT IS WHAT YOU WANT -------------------------- 2. To eliminate the assumption of where the utility processprepend.php finds the PHP self-contained executable, go edit that file's shebang, which now is: #!/usr/local/php4/bin/php -q and change it to where "php" is on your system. I run RedHat 7.1 and it is found at [jef@localhost lib]$ which php /usr/bin/php [jef@localhost lib]$ so, I change the shebang to #!/usr/bin/php -q Then, everything works. Now, there are other issues. I put BC, ultimately, for production, in /usr/local/binarycloud. So, if you start to move things up there, you will have to make again because some self-generated stuff has to change. You will always be safe, in any ultimate build, by that gizmo of using: BCHOME=`pwd` make which causes the environment to have BCHOME "correct" for that command line only, i.e., don't put a semicolon before make, it is one shell command. If the above does not work, we will have to scratch our head(s) again... _jef --------------------------------------------- Jimmy Harlindong wrote: > > I did that now I got this: > > $ make > Building da site > in user > install: /home/pngia/r2/binarycloud/build/da/user/./conf/conf.php: No > such file or directory > install: /home/pngia/r2/binarycloud/build/da/user/./conf/conf.xml: No > such file or directory > ...... > > > -----Original Message----- > > From: bin...@li... > > [mailto:bin...@li...] On > > Behalf Of Justin Farnsworth > > Sent: Friday, 6 July 2001 5:58 PM > > To: bin...@li... > > Subject: Re: [binarycloud-dev] Make > > > > > > Jimmy Harlindong wrote: > > > > > > I tried the following steps: > > > > > > $ SET BCHOME=/home/me/r2/binarycloud > > > $ SET PHPRC=/usr/local/etc > > > $ make > > > grep: /user/conf/langs.xml: No such file or directory > > Building en site > > > in user > > > /base/utils/installcode.sh: not found > > > *** Error code 127 > > > > > > Stop in /usr/home/pngia/r2/binarycloud/user. > > > *** Error code 1 > > > > > > Stop in /usr/home/pngia/r2/binarycloud. > > > > > > >>> Any hint? > > ----------------- > > You forgot to export your environment to any descendant shells. > > > > do: > > > > export BCHOME=/home/me/r2/binarycloud; > > export PHPRC=/usr/local/etc; > > > > or, if you are in the same shell where you typed the > > above, > > > > export BCHOME > > export PHPRC > > > > _jef > > > > _______________________________________________ > 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 |