My guess would be that your ActivePerl hasn't been built with gcc, but rather with the system cc. Perl extension modules must generally be built with the same compiler / compiler options as the Perl binary itself, which is why Perl "remembers" those settings (do a "perl -V" to check yourself). That's most likely where the system cc specific -KPIC option originates from. The respective gcc option would in theory be -fPIC, however, simply substituting one for the other is probably not going to get you very far, as this is not the only difference between the two compilers...
In short, I think your options are
In reply to Re: Problem installing perl modules
by almut
in thread Problem installing perl modules
by kraas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |