Re: [Module::Build] Problem building XS modules on AIX
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2003-11-17 21:23:15
|
James.FitzGibbon wrote: >>>Any feedback appreciated. >>> > > >>I'm the one who wrote Windows.pm. Can you post your perl Config.pm. >>Other than calling Mksymlists, it looks like we need to do some > > variable > >>substitutions on some of the $Config variables, and I'll need to see >>Config.pm to know which ones. > > > I'll spare list bandwidth by sending the config output direct to you. > > I had gotten things a bit closer by copying the technique you use in > Windows.pm. > Basically add a prelink_c to M::B::Base with an empty stub and then make > an AIX platform that tries to do what Windows::prelink_c() does, but the > variable substitution part is still dogging me. I presume it's > something > similar to your format_compiler_cmd() subroutine as opposed to setting > something > in the environment based upon values from Config? > > Thanks. > Sorry to take so long; I had to leave for a meeting. Sounds like you mostly had it working. The substitutions where minor as you can see from the patch. You might have to tweak this as I don't have AIX to test on; in fact I'm doing this on a laptop with no compiler, so I've had to parse it mentally, but it should be pretty close. Let me know if this works. Thanks, Randy. |