From: Marc G. F. <sc...@hu...> - 2009-09-26 22:20:12
|
First, I just ran git clone and most seems to go perfectly ... I'm doing this on a new site though, as looking at the DB schema, there are a bunch of changes in there that make me a wee bit nervous about doing an upgrade ... There is a *slight* difference in Bundle/Slash.pm from what is in CPAN ... *very* minor, but you'll want to make sure you install the one from git ... Now, the 'make; make install' phase does break though ... ==== cp -r themes/* /usr/local/slash/themes # Ensure we use the proper Perl interpreter and prefix in all scripts that # we install. Note the use of Perl as opposed to dirname(1) and basename(1) # which may or may not exist on any given system. (replacewith=`perl -MConfig -e 'print quotemeta($Config{startperl})' | sed 's/@/\\@/g'`; binfiles=`find bin -name CVS -prune -o -name .git -prune -o -name [a-zA-Z]\* -type f -print`; sbinfiles=`find sbin -name CVS -prune -o -name .git -prune -o -name [a-zA-Z]\* -type f -print`; themefiles=`find themes -name CVS -prune -o -name .git -prune -o -name [a-zA-z]\*.pl -print`; pluginfiles=`find plugins themes/*/plugins -name CVS -prune -o -name .git -prune -o -name [a-zA-Z]\*.pl -print`; tagboxfiles=`find tagboxes themes/*/tagboxes -name CVS -prune -o -name .git -prune -o -name [a-zA-Z]\*.pl -print`; if [ "$replacewith" != "\#\!\/usr\/bin\/perl" ]; then replace=1; replacestr='(using perl)'; else replace=0; fi; for f in $binfiles $sbinfiles $themefiles $pluginfiles $tagboxfiles; do n=/usr/local/slash/$f; install -d /usr/local/slash/$d; if [ $replace ]; then cat $f | sed -e "1s/\#\!\/usr\/bin\/perl/$replacewith/" > $n.tmp; install -m 0755 $n.tmp $n; rm -f $n.tmp; else install $f $n; fi; done) find: themes/*/plugins: No such file or directory ==== And that is where it ends ... The problem *appears* to be with: PLUGINFILES = `find plugins themes/*/plugins -name CVS -prune -o -name .git -prune -o -name [a-zA-Z]\*.pl -print` TAGBOXFILES = `find tagboxes themes/*/tagboxes -name CVS -prune -o -name .git -prune -o -name [a-zA-Z]\*.pl -print` there are no themes/*/{plugins,tagboxes} directories, so the find itself fails ... removing that from the find path fixes that, am assuming that if the slashdot theme was there, that is where it would have picked it up from ... ? ---- Marc G. Fournier Hub.Org Hosting Solutions S.A. sc...@hu... http://www.hub.org Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:sc...@hu... |