[
https://issues.apache.org/jira/browse/XERCESC-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16078695#comment-16078695
]
Scott Cantor commented on XERCESC-1929:
---------------------------------------
HP-UX is definitely not going to be on any kind of supported platform list
unless somebody steps up to maintain that, but I'll consider a patch if it's
provided.
> Build configure script choose the wrong transcoding service on HP-UX
> --------------------------------------------------------------------
>
> Key: XERCESC-1929
> URL: https://issues.apache.org/jira/browse/XERCESC-1929
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.1.3, 3.1.4
> Environment: 2 Intel(R) Itanium 2 9000 series processors (1.6 GHz, 18
> MB), 16363MB,64bit
> HP-UX, 11.23, aCC, A.06.12
> Reporter: yingcai
> Priority: Minor
>
> On our HP-UX, Xerces-C 3.1.0 uses GNU iconv lib by default, but that library
> does not exist. So it leads to an "can not load transcoding service" error. I
> think need to check the following part of Xerces-C 3.1.0's
> m4/xerces_transcoder_selection.m4.
> # Check for GNU iconv support
> no_GUNiconv=false
> AC_CHECK_HEADERS([iconv.h wchar.h string.h stdlib.h stdio.h ctype.h
> locale.h errno.h], [], [no_GNUiconv=true])
> # The code in iconv needs just on of these include files
> AC_CHECK_HEADER([endian.h],
> [],
> [
> AC_CHECK_HEADER([machine/endian.h],
> [],
> [
>
> AC_CHECK_HEADER([arpa/nameser_compat.h],
> [],
> [no_GNUiconv=true])
> ])
> ])
> On our HP-UX, endian.h or machine/endian.h doesn't exist, but
> arpa/nameser_compact.h exists, so the configure script thinks that GNU iconv
> library exists.
> In Xerces-C 3.0.1 GUNIconv lib detection m4 definition is like this:
> AC_CHECK_HEADERS([iconv.h wchar.h string.h stdlib.h stdio.h ctype.h
> locale.h errno.h endian.h], [], [no_GNUiconv=true])
> It doesn't check arpa/nameser_compact.h or machine/endian.h.
> This problem can be solved by passing "--enable-transcoder-iconv" to
> configure.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]