From: Marc G. F. <sc...@hu...> - 2009-09-26 22:56:56
|
Okay, slowly moving forward here ... found that the FreeBSD www/slash port is missing one module required by the newer slashcode, so had to manually add that: Lingua::Stem Now I've hit a bug with the installer itself that I'm not yet sure how to resolve: # bin/install-slashsite -u slash Base class package "LWP::Parallel::UserAgent" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .). at /usr/local/lib/perl5/site_perl/5.8.9/mach/Slash/Custom/ParUserAgent.pm line 16 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/mach/Slash/Custom/ParUserAgent.pm line 16. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.9/mach/Slash/DB/MySQL.pm line 19. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/mach/Slash/DB/MySQL.pm line 19. Compilation failed in require at (eval 79) line 3. ...propagated at /usr/local/lib/perl5/5.8.9/base.pm line 93. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/mach/Slash/DB/Static/MySQL.pm line 19. Compilation failed in require at (eval 78) line 2. BEGIN failed--compilation aborted at (eval 78) line 2. Anyone have any thoughts? On Sat, 26 Sep 2009, Marc G. Fournier wrote: > > 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... > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general > ---- 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... |