Re: [Module::Build] Problem building XS modules on AIX
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2003-11-19 02:08:58
|
On 11/18/2003 10:36 AM, James.FitzGibbon wrote: > I've updated Randy's patch to find the .exp files in the right place on > AIX, but I > don't have the necessary Windows environment to see if I've broken > things there. I've updated James' update of my patch ;) There were some Windows problems. I think ExtUtils::Mksymlists is buggy on Windows; it dies if you don't pass in something for some of the arguments even if its an empty array or hash ref. I also changed it so that it generates the def/exp file in the source directory and put the correct names into add_to_cleanup(). James, can you please run this through the test suite one more time? Michael, VMS wasn't calling Mksymlists before though it looks like it should have. Looking at EU::Mksymlists lines 53-58, I changed M::B to now invoke Mksymlists if grep $^O, qw(aix MacOS MSWin32 os2 VMS). Is this correct? > Perhaps what is needed is to update EU::Mksymlists to both export the > platform-specific > extensions as constants and return the canonical path to the written > file back to it's > caller so that link_c() in M::B can act more intelligently. > > Thanks. Seems like a harmless but beneficial change, since the name of the file can vary depending on $^O, and there aught to be some way to find out what it is without read the source. Randy. |