Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^6: Problem installing perl modules

by kraas (Novice)
on Sep 13, 2007 at 12:51 UTC ( [id://638783]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Problem installing perl modules
in thread Problem installing perl modules

I removed ActivePerl and reinstalled it. The file denoted by 'which cc' is a symlink pointing to the gcc executable; shouldn't that mean perl would use gcc to compile, if it was trying to use cc? Typing 'cc -v' and 'gcc -v' gives the same output. I installed Crypt::CBC with no problem. However when I tried to install Crypt::Blowfish it got the same type of error mentioned above again. According to this Blowfish shouldn't have any prereqs besides Crypt::CBC. What could I be missing? The version of CBC I added was 2.22 and the version of Blowfish was 2.10.

Replies are listed 'Best First'.
Re^7: Problem installing perl modules
by almut (Canon) on Sep 13, 2007 at 13:56 UTC
    I removed ActivePerl and reinstalled it.

    It's not a matter of a broken Perl installation, so reinstalling won't help here. The problem is that you're using a compiler which that particular ActivePerl build doesn't play nicely with.

    The file denoted by 'which cc' is a symlink pointing to the gcc executable; shouldn't that mean perl would use gcc to compile, if it was trying to use cc?

    Yes, it does call gcc, but that's exactly the problem, because gcc and Sun's cc are sufficiently incompatible for things to work...

    I installed Crypt::CBC with no problem.

    The reason this did work is that Crypt::CBC is a pure Perl module. In other words, you don't need a compiler to install it.

    According to this Blowfish shouldn't have any prereqs besides Crypt::CBC.

    Presumably that's right. However, Crypt::Blowfish itself comprises architecture specific C/XS code, which means you need a working compiler installation to be able to build/install it.

    I'm sorry, but unless someone comes up with a novel suggestion, I'm afraid there's not much else you can try, in addition to what I already did mention...

      So you're saying that I got the wrong install file for ActivePerl?

        Yes — in the sense that you won't get it to work with gcc without an unreasonable amount of effort. However, that fact that you've got the wrong one doesn't imply that there would also be another 'right' one to download... It just doesn't seem to be available — at least I couldn't find a 5.8.8/Solaris version built with gcc on ActiveState.com's download page.

        Anyhow, in case it's only that one module (Crypt::Blowfish) that you're desperately in need of, I would offer to just build it for you (and send you a tarball which you can unpack into your existing ActivePerl installation). /msg me privately, if interested.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2025-02-18 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found