in reply to Re^4: XS module build not working for Perl 5.8
in thread XS module build not working for Perl 5.8
I think you might be educating me here ... I downloaded the Perl binary for 5.8.8 from ActiveState. This is the Perl that I am running and trying to build XS based modules in. Are you telling me that I must use the same compiler as ActiveState used to generate the binary?In general, this is true, since the module build process will try to use compilers/linkers/options determined when perl was built. I know solaris has stuff to allow building modules with gcc via Solaris-PerlGcc, and recent ActiveState Win32 perl is supposed to also allow building modules with MinGW's gcc. But I don't know about ActiveState's Solaris perl or how any of those bandaids work with C++ modules.
I'd really recommend building your own perl, perhaps starting with the Configure options given by perl -V:config_args on the perl you are using now. Also note that not many people build C++ modules, so IIRC that occasionally has been broken.
How are you building your module now? It's starting to sound to me like you have your own makefile rather than having ExtUtils::MakeMaker build one; if so, you can expect breakage whenever perl's Config changes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: XS module build not working for Perl 5.8
by Anonymous Monk on Aug 21, 2006 at 21:27 UTC | |
by syphilis (Archbishop) on Aug 22, 2006 at 11:42 UTC |