Re: [xslt] xsltlocale compilation issue
- From: Rob Richards <rrichards ctindustries net>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] xsltlocale compilation issue
- Date: Tue, 01 Jul 2008 14:12:25 -0400
I think that the typedef should be changed; otherwise already released
source can not be used with an updated libxslt.
Rob
Nick Wellnhofer wrote:
Rob Richards wrote:
The libxslt library is building fine, but I ran into issues trying to
build PHP with the lib. I don't think the tests for determining the
type of xsltLocale are correct.
Note that this all does build and link correctly under windows.
It errors out when hitting line 24 in xsltlocale.h:
typedef locale_t xsltLocale;
In order to get that defined though in /usr/include/locale.h in order
to get locale_t defined I need __USE_GNU defined, which it is not
during the PHP compile.
It does compile fine though if I use typedef __locale_t xsltLocale
Due to the locale changes _GNU_SOURCE should be defined for source
code that links against libxslt. If that's a problem we can also
change the typedef like you did.
Nick
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]