One MojoMojo user's experience installing it on a fresh Intrepid Ibex machine. These notes are dated to a pre-release version of MojoMojo 0.999021 from October 30, 2009.
MojoMojo was recently moved to a GitHub repo. The move included a new revision with KinoSearch replacing Plucene. Let's see how this puppy installs.
git clone email@example.com:marcusramberg/mojomojo.git1
Since MojoMojo is a Catalyst application we must install Catalyst. At least two choices:
I did both.
perl Makefile.PL2 and
make installdepsto install MojoMojo dependencies
Patience here, if you're starting with a fresh Intrepid Ibex install. You need to install beaucoup module dependencies.
NOTE: had to run
make installdeps more than once, maybe because I attempted to install some optional modules the first time? Second time around I still needed:
NOTE: Imager won't be of much use without some png, jpeg or gif lib*-dev packages installed.
t/submit_form_ok........NOK 3/0 Failed test 'Submit First Form' at t/submit_form_ok.t line 28. 500 Can't connect to localhost:13432 (connect: Connection refused) Content-Type: text/plain Client-Date: Thu, 30 Oct 2008 03:27:51 GMT Client-Warning: Internal response
Which version was this? I removed the note about missing dependencies after fixing them.
make installdeps (this takes some time as several modules will be needed)
second pass of
- Test::WWW::Mechanize::Catalyst ...missing. - Test::WWW::Mechanize ...missing. (would need 1.16)
Test::Www::Mechanize fails t/submit_form_ok.t. Here's the dope.
NOTE: It's OK to force install
Test::WWW::Mechanize, because the test if failing due to problems with the test server included, not the test itself. In other words, one can use apache on localhost as the test server and
t/submit_form_ok.t passes the three tests.
I have to copy the attachments directory from old to new install, but I don't think that makes a difference wrt this error message which occurs when accessing a page w/ attachment in it.
[error] Couldn't render template "file error - attachment/defaultaction.tt: not found"
NOTE: make installdeps hung at:
*** Installing dependencies...
SOLUTION: Install package
This type of checkout requires a GitHub account (free) and possibly that you're coming from machine with a known public key. General public can checkout with the Public Clone URL:
If you attempt to run perl Makefile.PL without first installing Catalyst which will also install
Module::Install, you will get an error about unable to locate inc/Module/Install.pm.
* This is only an issue when you install from git, the CPAN releases automatically include module install -- Marcus ↩
Not sure why this still isn't done by default. ↩