Re: [Catalyst] error while starting my dev enviroment

2011-07-10 Thread Eden Cardim
> "Charlie" == Charlie Gonzalez  writes:

Charlie> Does this mean that when making a decision on an OS for
Charlie> Catalyst apps the best choice of a linux OS is  CentOs or
Charlie> Redhat?

Your best bet on any system is to leave the vendor perl alone and build
one exclusively for your app. If it's a production-scale system, you
want to do that anyway, given most vendor perls come with threading
support and that will impact performance. You can then install all the
dependencies from CPAN, to get minimum maintainance interference between
the OS and your app.

-- 
   Eden Cardim   Need help with your Catalyst or DBIx::Class project?
  Code Monkeyhttp://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://blog.edencardim.com/http://www.shadowcat.co.uk/servers/
http://twitter.com/#!/edenc

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] error while starting my dev enviroment

2011-07-10 Thread Dermot
On 10 July 2011 19:14, Charlie Gonzalez  wrote:

> Does this mean that when making a decision on an OS for Catalyst apps the
> best choice of a linux OS is  CentOs or Redhat?

Perhaps I didn't make myself clear, I only have this problem on
Redhat/CentOS. My Debian/Ubuntu machines do not suffer from this
irritating message. I believe the Debian folk have been very
pro-active in keeping up-to-date where as the perl modules in Redhat
are well old.
Dp.

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] error while starting my dev enviroment

2011-07-10 Thread Nigel Metheringham

On 10 Jul 2011, at 19:14, Charlie Gonzalez wrote:

> Does this mean that when making a decision on an OS for Catalyst apps the 
> best choice of a linux OS is  CentOs or Redhat?

If you are using the system perl then the worst choice of OS is
probably Centos or Red Hat - Centos 6.0 is just about to be released
and has perl 5.10 - which is outside the perl bug fix policy; and will
remain so for its complete 7 year (or whatever) life.

I now build a perlsupport rpm package which uses the magic of perlbrew
to build a perl into /opt/perl along with all the modules I use to
support perl applications.

Nigel.
--
[ Nigel Metheringham -- ni...@dotdot.it ]
[ Ellipsis Intangible Technologies  ]



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] error while starting my dev enviroment

2011-07-10 Thread Charlie Gonzalez
Thanks for the help everyone. It seems like updating moose in my current
distro ( ubuntu 11.04 )  will be a pain.

Lucky for me I have strawberry perl in a windows machine and I can continue
my dev efforts from there without any problems.

Does this mean that when making a decision on an OS for Catalyst apps the
best choice of a linux OS is  CentOs or Redhat?

Charlie Gonzalez

On Sun, Jul 10, 2011 at 2:04 PM, Dermot  wrote:

> On 10 July 2011 16:54, Andrew Rodland  wrote:
> > On Sunday, July 10, 2011 01:36:55 AM Charlie Gonzalez wrote:
> >> Hello,
> >>
> >> I am receiving the following error message while starting my dev server
> >> enviroment:
> >>
> >>
> >> cgonzalez@cgonzalez-laptop:~/Addressit/script$ perl Addressit_server.pl
> -r
> >> The alias and excludes options for role application have been renamed
> >> -alias and -excludes (CatalystX::Component::Traits is consuming
> >> MooseX::Traits::Pluggable - do you need to upgrade
> >> CatalystX::Component::Traits?) at
> >
> > "CatalystX::Component::Traits is consuming MooseX::Traits::Pluggable - do
> you
> > need to update CatalystX::Component::Traits?"
>
> I have this problem on a couple of servers. Unfortunately my distro
> hasn't got the latest version of CatX::Component::Traits yet. I'm
> stuck on version 0.14. I know this problem has been around a while.
> It's the price you pay it, like me, your forced to use CentOS/Redhat.
> Dp.
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] error while starting my dev enviroment

2011-07-10 Thread Dermot
On 10 July 2011 16:54, Andrew Rodland  wrote:
> On Sunday, July 10, 2011 01:36:55 AM Charlie Gonzalez wrote:
>> Hello,
>>
>> I am receiving the following error message while starting my dev server
>> enviroment:
>>
>>
>> cgonzalez@cgonzalez-laptop:~/Addressit/script$ perl Addressit_server.pl -r
>> The alias and excludes options for role application have been renamed
>> -alias and -excludes (CatalystX::Component::Traits is consuming
>> MooseX::Traits::Pluggable - do you need to upgrade
>> CatalystX::Component::Traits?) at
>
> "CatalystX::Component::Traits is consuming MooseX::Traits::Pluggable - do you
> need to update CatalystX::Component::Traits?"

I have this problem on a couple of servers. Unfortunately my distro
hasn't got the latest version of CatX::Component::Traits yet. I'm
stuck on version 0.14. I know this problem has been around a while.
It's the price you pay it, like me, your forced to use CentOS/Redhat.
Dp.

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] error while starting my dev enviroment

2011-07-10 Thread Andrew Rodland
On Sunday, July 10, 2011 01:36:55 AM Charlie Gonzalez wrote:
> Hello,
> 
> I am receiving the following error message while starting my dev server
> enviroment:
> 
> 
> cgonzalez@cgonzalez-laptop:~/Addressit/script$ perl Addressit_server.pl -r
> The alias and excludes options for role application have been renamed
> -alias and -excludes (CatalystX::Component::Traits is consuming
> MooseX::Traits::Pluggable - do you need to upgrade
> CatalystX::Component::Traits?) at

"CatalystX::Component::Traits is consuming MooseX::Traits::Pluggable - do you 
need to update CatalystX::Component::Traits?"

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] error while starting my dev enviroment

2011-07-10 Thread Charlie Gonzalez
I figure I post my software versions:

cgonzalez@cgonzalez-laptop:~$ perl -e ' use Moose; print Moose->VERSION() .
"\n"; '
1.23
cgonzalez@cgonzalez-laptop:~$ perl -e ' use Catalyst; print
Catalyst->VERSION() . "\n"; '
5.80029

perl version 5.10.1

I read this article (
http://blog.moose.perl.org/2011/04/moose-20-release-candidate.html ) after
your suggestion to run moose-outdated and noticed that I should be using
moose 2.0.

I guess my question now is how do I Identify any missing dependencies
without the use of moose-outdated? or should I simply upgrade to moose 2.0 ?


Charlie G


On Sun, Jul 10, 2011 at 2:51 AM, Charlie Gonzalez wrote:

> Christiaan,
>
> Thanks for the tip but unfortunately I don't seems to have this command
> available.
>
> cgonzalez@cgonzalez-laptop:~$ moose-outdated
> moose-outdated: command not found
>
> Perhaps there is a way to accomplish this with cpan?
>
> Thanks again,
>
> Charlie G
>
>
> On Sun, Jul 10, 2011 at 2:02 AM, Christiaan Kras wrote:
>
>> **
>> Be sure your (Moose) modules are up to date.
>>
>> Run moose-outdated from the commandline, it will show you which Moose(X)
>> modules need to be updated.
>>
>> Op 10-7-2011 7:36, Charlie Gonzalez schreef:
>>
>> Hello,
>>
>>  I am receiving the following error message while starting my dev server
>> enviroment:
>>
>>
>>  cgonzalez@cgonzalez-laptop:~/Addressit/script$ perl Addressit_server.pl
>> -r
>> The alias and excludes options for role application have been renamed
>> -alias and -excludes (CatalystX::Component::Traits is consuming
>> MooseX::Traits::Pluggable - do you need to upgrade
>> CatalystX::Component::Traits?) at
>> /usr/share/perl5/CatalystX/Component/Traits.pm line 8
>>  require CatalystX/Component/Traits.pm called at
>> /usr/lib/perl5/Class/MOP.pm line 114
>>  Class::MOP::__ANON__() called at /usr/share/perl5/Try/Tiny.pm line 71
>>  eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67
>>  Try::Tiny::try('CODE(0xaeba630)', 'Try::Tiny::Catch=REF(0xaf4d7b8)')
>> called at /usr/lib/perl5/Class/MOP.pm line 125
>>  Class::MOP::load_first_existing_class('CatalystX::Component::Traits')
>> called at /usr/lib/perl5/Class/MOP.pm line 137
>>  Class::MOP::load_class('CatalystX::Component::Traits', undef) called at
>> /usr/lib/perl5/Moose/Util.pm line 113
>>  Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0xaeba840)',
>> undef, 'CatalystX::Component::Traits') called at
>> /usr/lib/perl5/Moose/Util.pm line 91
>>  Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0xaeba840)',
>> 'CatalystX::Component::Traits') called at /usr/lib/perl5/Moose.pm line 58
>>  Moose::with('Moose::Meta::Class=HASH(0xaeba840)',
>> 'CatalystX::Component::Traits') called at /usr/lib/perl5/Moose/Exporter.pm
>> line 359
>>  Moose::with('CatalystX::Component::Traits') called at
>> /usr/share/perl5/Catalyst/Model/DBIC/Schema.pm line 6
>>  require Catalyst/Model/DBIC/Schema.pm called at (eval 542) line 3
>>  eval 'require Catalyst::Model::DBIC::Schema
>> ;' called at /usr/share/perl/5.10/base.pm line 90
>>  base::import('base', 'Catalyst::Model::DBIC::Schema') called at
>> /home/cgonzalez/Addressit/script/../lib/Addressit/Model/AddressitDB.pm line
>> 4
>>  Addressit::Model::AddressitDB::BEGIN() called at
>> /usr/share/perl5/CatalystX/Component/Traits.pm line 0
>>  eval {...} called at /usr/share/perl5/CatalystX/Component/Traits.pm line
>> 0
>>  require Addressit/Model/AddressitDB.pm called at
>> /usr/share/perl5/Catalyst/Utils.pm line 287
>>  eval {...} called at /usr/share/perl5/Catalyst/Utils.pm line 287
>>  Catalyst::Utils::ensure_class_loaded('Addressit::Model::AddressitDB',
>> 'HASH(0xadf2668)') called at /usr/share/perl5/Catalyst.pm line 2438
>>  Catalyst::setup_components('Addressit') called at
>> /usr/share/perl5/Catalyst.pm line 1171
>>  Catalyst::setup('Addressit') called at
>> /home/cgonzalez/Addressit/script/../lib/Addressit.pm line 45
>>  require Addressit.pm called at /usr/lib/perl5/Class/MOP.pm line 114
>>  Class::MOP::__ANON__() called at /usr/share/perl5/Try/Tiny.pm line 71
>>  eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67
>>  Try::Tiny::try('CODE(0xac1b2d8)', 'Try::Tiny::Catch=REF(0xac304b8)')
>> called at /usr/lib/perl5/Class/MOP.pm line 125
>>  Class::MOP::load_first_existing_class('Addressit') called at
>> /usr/lib/perl5/Class/MOP.pm line 137
>>  Class::MOP::load_class('Addressit') called at
>> /usr/share/perl5/Catalyst/ScriptRole.pm line 48
>>  
>> Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa7fcd80)')
>> called at /usr/share/perl5/Catalyst/Script/Server.pm line 142
>>  Catalyst::Script::Server::__ANON__() called at
>> /usr/share/perl5/Catalyst/Restarter/Forking.pm line 20
>>  
>> Catalyst::Restarter::Forking::_fork_and_start('Catalyst::Restarter::Forking=HASH(0xac1a550)')
>> called at /usr/share/perl5/Catalyst/Restarter.pm line 89
>>  
>> Catalyst::Restarter::run_and_watch('Catalyst::Restarter::Forking=HASH(0xac1a550)')
>> called at /usr/share/perl5/Catalyst/Script/Server.pm line