Re: [xslt] xsltlocale compilation issue
- From: Roumen Petrov <bugtrack roumenpetrov info>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] xsltlocale compilation issue
- Date: Wed, 02 Jul 2008 23:07:46 +0300
Rob Richards wrote:
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
If I remember well we agree (check post in the list) that xsltlocale.h
is only for private use.
Why application that build against version from repository include
xsltlocale.h ?
Roumen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]