Subject: Re: Always debug build with perl bindings
From: Joaquín Cuenca Abela (cuenca@pacaterie.u-psud.fr)
Date: Fri Jun 22 2001 - 02:38:45 CDT
On 20 Jun 2001 13:28:24 +0200, Frodo Looijaard wrote:
>
> Hi folks,
>
> I just logged a bug into bugzilla about the perl bindings. It turns out
> that including <perl.h> always sets DEBUG, so you get a (partial) debug
> build. So perl bindings are not yet ready for the general public :-(
I though that I fixed that a month ago or so...
To fix it, I changed the DEBUG that comes from perl.h to PERL_DEBUG, and
when I use perl functions, I put DEBUG in ABI_DEBUG, and PERL_DEBUG In
DEBUG, I use the perl functions, and I switch back DEBUG to PERL_DEBUG
and ABI_DEBUG to DEBUG.
Very messy, but fortunatelly enough we only need this dance in one
method.
It was working a while ago (I think so), I will take a look to see what
changed
> The bad news is that I see no solution, other than redefining the symbol
> AbiWord uses to mark debug settings with a different symbol (ABI_DEBUG?)
>
> I found out about this because I got a strange linking error. Or at least,
> I think this caused it:
> ap_UnixGnomeApp.o(.text+0x800): undefined reference to `AP_BuiltinStringSet::dumpBuiltinSet(char const *) const'
yes it looks like that's the problem
> On a related note: the perl bindings are not yet in the bugzilla Component
> menu. Perhaps somebody should add them there.
sam? :-)
Cheers,
-- Joaquín Cuenca Abela cuenca@celium.net
This archive was generated by hypermail 2b25 : Fri Jun 22 2001 - 10:16:19 CDT