in reply to Problems compiling GD
Your version of Perl was not compiled with support for loading modules written in C (or other languages) at runtime... A lot of modules that have to call routines from C libraries or otherwise do things that are not easy to do from perl itself come with these modules, and usually Perl for a modern Unix (or Linux ;-) will be built with support for loading these modules... You can turn it off at compile time (I think if support is found, the option is turned on if you accept the defaults). It's probably best to compile it yourself so you get it working the way you want, rather than install using a binary packaging system like RPM. Once you've got dynamic loading turned on, you shouldn't need to recompile Perl again to add new modules like this.
As to POSIX, it's a standard module, and will be statically linked if dynamic loading is turned off, so as a test of whether or not dynamic loading is working, it's a tad limited.
Andrew.
|
|---|