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

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...

Replies are listed 'Best First'.
Re^8: Problem installing perl modules
by kraas (Novice) on Sep 13, 2007 at 17:59 UTC
    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.