P is for Practical | |
PerlMonks |
Re^5: Quick way to set up columns with Class::DBI ?by siracusa (Friar) |
on Aug 21, 2006 at 12:39 UTC ( [id://568524]=note: print w/replies, xml ) | Need Help?? |
You do not have to set any environment variables. They are all optional. The Rose:: modules are all pure-perl and do nothing fancy on test or install. As for your test failures, this line: "Can't locate Rose/DB.pm in @INC ..." Indicates to me that Rose::DB is not installed. Rose::DB is a prerequisite for Rose::DB::Object. The CPAN shell should have detected that and offered to install Rose::DB for you before attempting to install Rose::DB::Object. The fact that this did not (apparently) happen makes me suspicious that other prerequisites may have been missed as well. I'm not sure how this could happen, since the modules specify their prerequisites in the standard, CPAN-supported way. (Look in the "Makefile.PL" of each module to see its list of prerequisites.) Most big CPAN modules have prerequisites, and sometimes those prerequisites can be painful to install, especially if they have an XS component, and especially on Win32. And, of course, those prerequisites may have prerequisites, and so on. Among ORMs, some prerequisites are common. For example, DateTime is used by many ORMs to abstract dates. Installing other ORMs may be a bit easier now that you've already done some of the work, but each ORM will have its own unique prerequisites as well. If the module-dependency mechanism is not working correctly on your system, you may have problems installing any non-trivial CPAN modules. But remember that you can always install prerequisites manually, if necessary.
In Section
Seekers of Perl Wisdom
|
|