>>
>> It sounds like disabling the includes in rpmconstant.h to fix
>> rpmconstant.c linkage may have caused other issues.
>
> Strange, rpmxs.c should include everything itself.
>
I was able to partially solve the problem by adding those headers into
rpmxs.c, but I didn't have time to see what else it was failing on before
I left for the holiday. I'll check it out at some point this weekend to
see if anything further needs to be done.
>>
>> Adding
>> #include <rpmds.h>
>> #include <rpmts.h>
>> should supply the additional symbols.
>>
>>> I grepped in /usr/perl5/5.6.1/lib/ExtUtils/typemap and 'const char
>>> *' is indeed missing. Is there a way around this?
>>
>> Hmmm, dunno perl bindings well enough to hazard a guess. But
>> I'd be surprised if perl-5.6.1 did not have some mens to bind a
>> "const char *" string.
>
> Yes, I am not sure perl 5.6 handle const char *. I'll fix this week end. I at
> a meeting this week.
>
I added const char * to typemap included in the rpm package perl directory
and it was able to run succesfully. If you could add it for 5.6 building
that would be great, thanks.
Received on Fri Nov 23 19:38:48 2007