in reply to Yet Another Web Framework

Just installed 3.30 from tarball. It's not available on my CPAN mirror yet.

I'm going to try out the quick start and tutorial, more about that later. But for now, some comments about the installation, from back to front.

---------------------------------------------------------------------- +---------- Web Directory ---------------------------------------------------------------------- +---------- dev : /home/httpd/html/gantry prod : /home/httpd/html/gantry tim : /home/tkeefer/httpd/html/gantry Web Directory [dev,prod,tim]?

This isn't explained anywhere. You really need a README and INSTALL file in the root of the archive which covers this. I got past it by guessing the intention. I made a directory /usr/local/apache2/htdocs/gantry, chmodded it 777, and gave the directory name as answer to the question. It worked and now I have some templates and styles installed there.

t/01pod..........................skipped all skipped: set TEST_POD to enable this test t/01podcoverage..................skipped all skipped: set TEST_POD to enable this test

I know why you skip by default, you rascals! ;) I realise POD is boring and low priority, but take this friendly reminder here that you should get 100% here, some day.

# Do you want to run Gantry Auth application tests [no]? y # Enter database connection string [dbi:Pg:dbname=master_auth]? # Enter database user [apache]? foobar # Enter database password []? # Failed test 'expected 200, received 1 = {}; for /site/users' # in t/auth/01run.t at line 71. # /site/users # DBI connect('dbname=master_auth','',...) failed: FATAL: role "root" + does not exist # at /usr/local/src/Gantry-3.30/blib/lib/Gantry/Utils/ModelHelper.pm +line 76 t/auth/01run.....................NOK 2

This is just great, asks me for a db user name, but uses root anyway.

I didn't quite know what this is supposed to accomplish in detail, so I just created the db master_auth with user foobar before pressing enter for the first question. It failed, as you can see above. For the next run, I skipped just dbi testing.

Checking prerequisites... - ERROR: HTML::Prototype is not installed - ERROR: Data::Page is not installed - ERROR: Class::DBI::Sweet is not installed - ERROR: Hash::Merge is not installed - ERROR: File::Copy::Recursive is not installed - ERROR: Template is not installed - ERROR: Class::DBI is not installed - ERROR: Data::FormValidator is not installed

Argh, quite a lot. Template-Toolkit was a real bitch to install with its many questions and test #7 of t/gd.t mysteriously failing with just a couple of bytes difference. Does anyone else notice that (hint: make test TEST_VERBOSE=1)? I converted those long hex strings into binary, but it didn't result in a valid PNG file. So I resolved that it can't probably matter and just forced the installation.

Replies are listed 'Best First'.
Re^2: Yet Another Web Framework
by philcrow (Priest) on May 11, 2006 at 19:41 UTC
    Thanks for your comments. We are discussing them and will take action to make things cleaner, clearer, and generally better for newcomers.

    In particular, we had lots of pod, but hadn't tried testing it. Of course, there were broken tags and the like. There were also some undocumented methods. All of that has been repaired. The svn version now passes all pod and podcoverage tests (though we probably won't enable them by default).

    We are also interested in reducing the prereq list, which is really more a list of suggestions than requirements. But, we will have to rework some tests to make the modules optional during testing. That will take a little time.

    Phil