[Catalyst] Starting development

Fernan Aguero fernan at iib.unsam.edu.ar
Thu Apr 27 21:55:23 CEST 2006


+----[ Guillermo Roditi <groditi at gmail.com> (27.Apr.2006 16:21):
|
| after about 75 or so (no exageration)
| make deinstall clean reinstall clean I lost my cool. 

mmm ... this sounds like it couldn't find a dependency (by
looking for a required perl module), then tried to install
it but found it was already registered (by looking at
the pkgdb).

It seems like the box might need some port cleaning. Have
you updated perl without updating your perl modules?

I've just installed the catalyst port, and it got all
dependencies right. 

Of course, given that there are a number of viewers to
choose from, it won't install them all just to be safe. And
of course, given that you may want to do ORM, or you may
not, it won't install all ORM/CRUD/YOUNAMEIT extras.

But, given that most of these exist as ports, you don't have
to worry about dependencies. You install the port you need
and dependencies will be pulled in and installed
automatically.


My recommendation would be:
1. use portupgrade (sysutils/portupgrade)

  it will take care of the deinstall/reinstall issue, as
  it will make backups before deinstalling, et cetera.
  
  Whenever you want to upgrade your perl, use portupgrade to
  update your perl modules:
  portupgrade -rf p5-\*

  or if you feel that this might be the cause of your
  problems, run it now
 
2. read /usr/ports/UPDATING whenever you update your ports
tree (you do update your ports tree before building
anything, do you?)

3. try asking for help on the freebsd-ports@ mailing list,
we're friendly people :)

Cheers,

Fernan

|i went to cpan on one of the boxes. on the other one i stuck
| it out. it took many many make deinstall.....'s   many of them for the same
| module over and over and over again before it finally finished. it was
| horrible having to baby sit it.  also at some point i just would die when
| trying to install modules, which i managed to fix manually by installing
| those modules by themselves and seeing why they failed, and if necessary
| installing modules through cpan instead of ports... eventually it worked
| except every time i tried to follow a tutorial or example i had to install
| another module which needed another 10 modules and so on and so on.
| 
| cpan has really been the way to go so far.
| 
| 
| on osx, 10.4, latest everything. i just got this when install Catalyst was
| run from cpan (after successful install Task:Catalyst)... I don't like force
| ing things :/
| 
| 
| -----------------------------
| .........
|  CPAN.pm: Going to build K/KW/KWILLIAMS/ExtUtils-ParseXS-2.15.tar.gz
| 
| Checking if your kit is complete...
| Looks good
| Warning: prerequisite ExtUtils::CBuilder 0 not found.
| Writing Makefile for ExtUtils::ParseXS
| ---- Unsatisfied dependencies detected during [K/KW/KWILLIAMS/ExtUtils-
| ParseXS-2.15.tar.gz] -----
|    ExtUtils::CBuilder
| Running make test
|  Delayed until after prerequisites
| Running make install
|  Delayed until after prerequisites
| Use of uninitialized value in string eq at inc/Module/AutoInstall.pm line
| 476.
| *** ExtUtils::ParseXS installation failed.
| *** Module::AutoInstall installation finished.
| Writing Makefile for Module::Install
| make: getcwd: : No such file or directory
| make[1]: *** No targets specified and no makefile found.  Stop.
|  /usr/bin/make  -- NOT OK
| Running make test
|  Can't test without successful make
| Running make install
|  make had returned bad status, install seems impossible
| *** Module::Install::Admin installation failed.
| *** Module::AutoInstall installation finished.
| PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
| "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01use.t t/02pod.t
| t/03podcoverage.t t/live_component_controller_action_auto.t
| t/live_component_controller_action_begin.t
| t/live_component_controller_action_default.t
| t/live_component_controller_action_detach.t
| t/live_component_controller_action_end.t
| t/live_component_controller_action_forward.t
| t/live_component_controller_action_global.t
| t/live_component_controller_action_index.t
| t/live_component_controller_action_inheritance.t
| t/live_component_controller_action_local.t
| t/live_component_controller_action_multipath.t
| t/live_component_controller_action_path.t
| t/live_component_controller_action_private.t
| t/live_component_controller_action_regexp.t
| t/live_component_controller_action_streaming.t
| t/live_component_controller_args.t t/live_engine_request_body.t
| t/live_engine_request_cookies.t t/live_engine_request_headers.t
| t/live_engine_request_parameters.t t/live_engine_request_uploads.t
| t/live_engine_request_uri.t t/live_engine_response_cookies.t
| t/live_engine_response_errors.t t/live_engine_response_headers.t
| t/live_engine_response_large.t t/live_engine_response_redirect.t
| t/live_engine_response_status.t t/live_engine_setup_basics.t
| t/live_engine_setup_plugins.t t/live_loop.t t/live_plugin_loaded.t
| t/live_recursion.t t/optional_http-server-restart.t
| t/optional_http-server.tt/optional_memleak.t t/optional_stress.t
| t/optional_threads.t
| t/unit_controller_namespace.t t/unit_core_component.t
| t/unit_core_component_loading.t t/unit_core_log.t t/unit_core_mvc.t
| t/unit_core_path_to.t t/unit_core_plugin.t t/unit_core_uri_for.t
| t/unit_utils_request.t
| t/01use...........................................ok
| 
| t/02pod...........................................skipped
|        all skipped: Test::Pod 1.14 required
| t/03podcoverage...................................skipped
|        all skipped: Test::Pod::Coverage 1.04 required
| t/live_component_controller_action_auto...........ok
| 
| t/live_component_controller_action_begin..........ok
| 
| t/live_component_controller_action_default........ok
| 
| t/live_component_controller_action_detach.........ok
| 
| t/live_component_controller_action_end............ok
| 
| t/live_component_controller_action_forward........ok
| 
| t/live_component_controller_action_global.........ok
| 
| t/live_component_controller_action_index..........ok
| 
| t/live_component_controller_action_inheritance....ok
| 
| t/live_component_controller_action_local..........ok
| 
| t/live_component_controller_action_multipath......ok
| 
| t/live_component_controller_action_path...........ok
| 
| t/live_component_controller_action_private........ok
| 
| t/live_component_controller_action_regexp.........ok
| 
| t/live_component_controller_action_streaming......ok
| 
| t/live_component_controller_args..................ok
| 
| t/live_engine_request_body........................ok
| 
| t/live_engine_request_cookies.....................ok
| 
| t/live_engine_request_headers.....................ok
| 
| t/live_engine_request_parameters..................ok
| 
| t/live_engine_request_uploads.....................ok
| 
| t/live_engine_request_uri.........................ok
| 
| t/live_engine_response_cookies....................ok
| 
| t/live_engine_response_errors.....................ok
| 
| t/live_engine_response_headers....................ok
| 
| t/live_engine_response_large......................ok
| 
| t/live_engine_response_redirect...................ok
| 
| t/live_engine_response_status.....................ok
| 
| t/live_engine_setup_basics........................ok
| 
| t/live_engine_setup_plugins.......................ok
| 
| t/live_loop.......................................ok
| 
| t/live_plugin_loaded..............................ok
| 
| t/live_recursion..................................ok
| 
| t/optional_http-server-restart....................skipped
|        all skipped: set TEST_HTTP to enable this test
| t/optional_http-server............................skipped
|        all skipped: set TEST_HTTP to enable this test
| t/optional_memleak................................skipped
|        all skipped: set TEST_MEMLEAK to enable this test
| t/optional_stress.................................skipped
|        all skipped: set TEST_STRESS to enable this test
| t/optional_threads................................skipped
|        all skipped: set TEST_THREADS to enable this test
| t/unit_controller_namespace.......................ok
| 
| t/unit_core_component.............................ok
| 
| t/unit_core_component_loading.....................ok
| 
| t/unit_core_log...................................ok
| 
| t/unit_core_mvc...................................ok
| 
| t/unit_core_path_to...............................ok
| 
| t/unit_core_plugin................................Can't locate
| PluginTestApp.pm in @INC (@INC contains: t/lib
| /Users/wastedwill/.cpan/build/Catalyst-5.68/inc
| /Users/wastedwill/.cpan/build/Catalyst-5.68/blib/lib
| /Users/wastedwill/.cpan/build/Catalyst-5.68/blib/arch
| /System/Library/Perl/5.8.6/darwin-thread-multi-2level
| /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level
| /Library/Perl/5.8.6 /Library/Perl
| /Network/Library/Perl/5.8.6/darwin-thread-multi-2level
| /Network/Library/Perl/5.8.6 /Network/Library/Perl
| /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
| /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at
| /Users/wastedwill/.cpan/build/Catalyst-5.68/blib/lib/Catalyst/Test.pm line
| 78.
| BEGIN failed--compilation aborted at t/unit_core_plugin.t line 20.
| # Looks like your test died before it could output anything.
| t/unit_core_plugin................................dubious
| 
|        Test returned status 2 (wstat 512, 0x200)
| DIED. FAILED tests 1-22
|        Failed 22/22 tests, 0.00% okay
| t/unit_core_uri_for...............................ok
| 
| t/unit_utils_request..............................ok
| 
| Failed Test          Stat Wstat Total Fail  Failed  List of Failed
| -------------------------------------------------------------------------------
| t/unit_core_plugin.t    2   512    22   44 200.00%  1-22
| 7 tests skipped.
| Failed 1/50 test scripts, 98.00% okay. 22/1805 subtests failed, 98.78% okay.
| make: *** [test_dynamic] Error 2
|  /usr/bin/make test -- NOT OK
| Running make install
|  make test had returned bad status, won't install without force
| 
| ......
| 
| argh
| 
| 
| 
| On 4/27/06, Lars Balker Rasmussen <lars at balker.dk> wrote:
| >
| >On Thu, Apr 27, 2006 at 01:13:39PM -0400, Guillermo Roditi wrote:
| >> which in turn have so many deps themselves. it was NUTS. it took hours
| >and
| >> hours. both on FreeBSD (the port was a huuuge pain, i opted for CPAN,
| >which
| >> ultimately worked much better)
| >
| >I'm surprised and sorry to hear this.  What was the problem you
| >encountered
| >with the Catalyst port?
| >
| >I'm using it myself in development and production, and FreeBSD has
| >aggressive
| >tinderbox-testing, so it really should install very cleanly.
| >--
| >Lars Balker Rasmussen                                        Consult::Perl
| >
| >_______________________________________________
| >Catalyst mailing list
| >Catalyst at lists.rawmode.org
| >http://lists.rawmode.org/mailman/listinfo/catalyst
| >

| _______________________________________________
| Catalyst mailing list
| Catalyst at lists.rawmode.org
| http://lists.rawmode.org/mailman/listinfo/catalyst

|
+----]



More information about the Catalyst mailing list