Hi,
I'm using the Catalyst framework, and have been happily doing so for the past
couple of years on FreeBSD. I regularly update the packages through the
ports-tree, however the latest update of DBIx::Class::Schema::Loader have had a
negative impact.
I've tracked it down to something that happened between the 0.710 and 0.711
release (but resides in all subsequent releases).
This is the error I get from Catalyst:
$ ./script/myapp_create.pl model DB DBIC::Schema MyApp::Schema create=static
dbi:mysql:mybase mydbuser mypassword '{ AutoCommit => 1, RaiseError => 1 }'
exists "/home/myuser/MyApp/script/../lib/MyApp/Model"
exists "/home/myuser/MyApp/script/../t"
Attempt to reload DBIx/Class/Schema/Loader/Base.pm aborted.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.1/DBIx/Class/Schema/Loader.pm line 235.
$
I don't think the error is Catalyst-related, however:
With 0.710 installed:
$ perl /usr/local/lib/perl5/site_perl/5.14.1/DBIx/Class/Schema/Loader/Base.pm
$
With 0.711 installed:
$ perl /usr/local/lib/perl5/site_perl/5.14.1/DBIx/Class/Schema/Loader/Base.pm
Can't locate String/ToIdentifier/EN.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1 .) at
/usr/local/lib/perl5/site_perl/5.14.1/DBIx/Class/Schema.0711/Loader/Base.pm
line 16.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.1/DBIx/Class/Schema.0711/Loader/Base.pm
line 16.
$
So apparently, this has something to do with missing modules, but I can't be
the only one using DBIx::Class::Schema::Loader version >0.710 on FreeBSD?
Is default behavior changed?
I don't see Catalyst using force_ascii anywhere, which would require
String::ToIdentifier:
=item force_ascii
For L</v8> mode and later, uses L<String::ToIdentifier::EN> instead of
L<String::ToIdentifier::EM::Unicode> to force monikers and other identifiers to
ASCII.
Is it simply a newly module dependency issue with the following two modules:
String::CamelCase
String::ToIdentifier::EN
that I should report to the FreeBSD port-guys?
Thanks!
Br
Rasmus Skaarup
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]