On Mon, Feb 19 2001, Brian Ingerson wrote:
> Albert Danial wrote:
> >
> > hi Brian, using the above command I was able to figure out why Inline
> > keeps recompiling my C code everytime. The information section says
> > it will install the executable as xxx.a. However when I look in the
> > build directory I see xxx.so. I need to set my system up so that
> > one of these two things happens:
[snipped]
> As soon as I read this I said, "I'll bet he's on AIX". Sure enough.
>
> AIX seems to have some broken behaviour in regards to its Config.pm. It
> sets so=a which Inline is not prepared to handle. I asked around and
> people seem to think this is an AIX/Perl bug. Regardless, I'll need to
> put a fix in. Could you please send me the following:
>
> 1) Your Config.pm module
> 2) A tarball of your entire _Inline/ directory after running:
>
> perl -MInline=info,force,noclean -le 'use Inline
> C=>q{SV*JAxH(char*x){return newSVpvf("Just Another %s
> Hacker",x);}};print JAxH+Perl'
>
> I should have a fix this week.
>
> In the meantime, could you try temporarily changing your Config.pm to
> say "so='so'" instead of "so='a'", and let me know if Inline behaves
> correctly.
Hi Brian,
this is the same problem I have reported in January. As a workaround
I had changed the following line in my Config.pm
~>diff -C 0 /usr/local/lib/perl5/5.00502/aix/Config.pm{,.orig}
*** /usr/local/lib/perl5/5.00502/aix/Config.pm Fri Jan 5 12:22:48 2001
--- /usr/local/lib/perl5/5.00502/aix/Config.pm.orig Mon Jan 18 14:41:03 1999
***************
*** 49 ****
! so='so'
--- 49 ----
! so='a'
Since then Inline is working fine. In the meantime I have installed
some more perl modules and this change caused no problems at all. My
impression is, that "nearly nobody" is taking care of that config
variable. I checked this for a couple of XS modules. They all assume
the extension "a".
Cheers,
Norbert
--
Ceterum censeo | PGP encrypted mail preferred.
Redmond esse delendam. | PGP Public Key at www.MPA-Garching.MPG.DE/~nog/