Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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
Replies are listed 'Best First'.
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/ 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 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/ line 9 BEGIN failed--compilation aborted at Clingdb/ line 9. Compilation failed in require at line 5. BEGIN failed--compilation aborted at line 5.

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2015-11-29 02:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls