You are, but it's not something completely obvious. XS modules need to be compiled with the same compiler as compiled Perl. In addition, many XS modules require a minimum of a certain version of a certain compiler.
If you're working with the Perl that came with your OS, it was probably compiled with xcc(?) - IBM's really wonky C compiler. You're trying to compile with cc, which probably isn't the same compiler.
I would strongly recommend recompiling everything with the latest version of gcc - GNU's C compiler. It's freely downloadable as a binary, so you don't have to worry about bootstrapping your compiler.
Yes, this is going to take about 2 days to fully do, but you will be a lot happier for it. It's what I've always had to do when I had the misfortune of working on AIX. (Irix and HP/UX are also the same way - it's not just AIX.)
Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.
In reply to Re: XML::Parser on AIX
by dragonchild
in thread XML::Parser on AIX
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |