Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: DBIx::Class::Schema::Loader "compilation failed"

by kcott (Chancellor)
on Oct 07, 2012 at 22:02 UTC ( #997723=note: print w/replies, xml ) Need Help??

in reply to Re^2: DBIx::Class::Schema::Loader "compilation failed"
in thread DBIx::Class::Schema::Loader "compilation failed"

G'day thomas895,

Firstly, I'll assume your use of CPAN actually refers to the utility cpan (lowercase) rather than the website CPAN (uppercase).

Unicode::UCD is a builtin module (the link is to the 5.12.3 version). cpan will attempt to install the latest version of this module and, no doubt, finds it is dependent on the latest version of Perl (v5.17.4 at the time of writing); this would be why it's trying to install Perl v5.17.4 - at least, that's my best guess.

Both Unicode::UCD and the file it can't find, UnicodeData.txt, were part of the Perl v5.12.3 distribution - they're listed in the MANIFEST. Given the code works fine with your MSWin32 installation, it's possible your openSUSE installation is corrupt; although, that's purely conjecture. I know nothing about openSUSE; I'll leave you to decide if reinstalling Perl v5.12.3 on that OS is a viable option.

If you choose to use Perlbrew, this node may be of interest: perlbrew: moving to a new perl with all current modules

-- Ken

Replies are listed 'Best First'.
Re^4: DBIx::Class::Schema::Loader "compilation failed"
by thomas895 (Chaplain) on Oct 07, 2012 at 23:57 UTC

    Thanks for the tip, and it turns out that my Perl installation was somehow corrupted. I did take a different approach, though.

    I downloaded the source RPM for Perl 5.12.3 from the openSUSE 11.4 repos, and cp -ur'd all of the files in the lib/unicore directory to my Perl's installation. Now that works, at least, and I reinstalled DBIx::Class::Schema::Loader for good measure. There were a bunch of warnings saying...

    Use of uninitialized value in string ne at /usr/lib/perl5/site_perl/5.12.3/DBIx/Class/Schema/Loader/ line 2951.

    ...which I got rid of by installing MooseX::MarkAsMethods and MooseX::NonMoose, and then all was well in the world...for now.

    I will keep your idea in mind for when I need to install a different Perl after all. Thanks everyone!
    ++ for you all.

    confess( "I offer no guarantees on my code." );

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997723]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2018-01-21 00:13 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.