Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: DBIx::Class::Schema is empty

by opensourcer (Monk)
on Jun 20, 2012 at 13:37 UTC ( #977344=note: print w/ replies, xml ) Need Help??


in reply to Re: DBIx::Class::Schema is empty
in thread DBIx::Class::Schema is empty

Make sure you set the DBIx::Class path (trying absolute path) in libs


Comment on Re^2: DBIx::Class::Schema is empty
Re^3: DBIx::Class::Schema is empty
by goldenjosh (Initiate) on Jun 28, 2012 at 13:10 UTC

    Could you explain exactly what you did to solve this please sir? I'm new to Linux and I'm not guru by any means so I'm unsure as to how to implement your solution.

    Enitially, a user reported a problem running Perl scripts, shown below:

    Can't locate XML/Simple.pm in @INC (@INC contains: /usr/local/lib/per +l5 /usr/local/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thre +ad-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at clingdb.pl l +ine 3.

    After some Google and other forum searches, I found a solution by installing XML::Simple

     cpan install XML::Simple

    After which, he said he's now receiving the error above:

    Base class package "DBIx::Class::Schema" is empty. (Perhaps you need to 'use' the module which defines that package f +irst, or make that module available in @INC (@INC contains: /usr/local/l +ib/perl5 /usr/local/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thre +ad-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .). at Clingdb/Schema.pm line 9 BEGIN failed--compilation aborted at Clingdb/Schema.pm line 9. Compilation failed in require at clingdb.pl line 5. BEGIN failed--compilation aborted at clingdb.pl line 5.

    Thank you again for your time. I really appreciate it :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977344]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-11-24 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (137 votes), past polls