Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by kcott (Abbot)
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


Comment on Re^3: DBIx::Class::Schema::Loader "compilation failed"
Select or Download Code
Re^4: DBIx::Class::Schema::Loader "compilation failed"
by thomas895 (Hermit) 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/Base.pm 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.

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-10-31 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (225 votes), past polls