PodMaster will correct me if I'm wrong on this, but if you didn't build the version of perl that you are using do do the "perl makefile.pl" step with the same compiler as you are trying to use to build the module, then the makefile produced will not work.
If you have an AS version of perl installed, these are built using MS VC++ toolsets and libraries, and this information is retained in the configuration files that are shippped with AS perls.
When you try to build a module and you perform the "perl makefile.pl" step, makefile.pl extracts the name of the compiler, linker, libraries and other info from that configuration and uses it when it generates the makefile for building the module. If you don't have the same set-up (compiler etc) as was used to build the version of perl you are running, then the makefile generated is useless.
You either need to locate the binary version of the module you are trying to install in a PPM/PPD format or build a version of perl using the toolset you do have, and then use that to perform the "perl makefile.pl" step.
I think I also saw mentioned somewhere that it was possible to modify the configuration to reflect the toolset that you have, but there are no guarentees that modules built using the modifed configuration will work correctly with a version of perl built using the original configuration.
In reply to Re: Math::Pari
by BrowserUk
in thread Trouble compiling Math::Pari on Win32
by proncb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |