[
https://issues.apache.org/jira/browse/XERCESC-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309926#comment-16309926
]
Roger Leigh commented on XERCESC-2121:
--------------------------------------
Fixed in commit 1819989.
> xercesc-3.2.0 fails to configure with cmake, gnuiconv on Solaris.
> -----------------------------------------------------------------
>
> Key: XERCESC-2121
> URL: https://issues.apache.org/jira/browse/XERCESC-2121
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.2.0
> Environment: Solaris, gnuiconv present and selected with
> -Dtranscoder=gnuiconv
> Reporter: Fj
> Priority: Minor
> Fix For: 3.2.1
>
> Attachments: xercesc.patch
>
>
> Looks like a simple typo: variable names should use underscores instead of
> slashes. This patch fixes it:
> {code}
> --- xerces-c-3.2.0/cmake/XercesTranscoderSelection.cmake.orig 2017-09-22
> 17:15:15.892155444 +0300
> +++ xerces-c-3.2.0/cmake/XercesTranscoderSelection.cmake 2017-09-22
> 17:18:21.663148228 +0300
> @@ -59,7 +59,7 @@
> set(gnuiconv_available 0)
> if(HAVE_ICONV_H AND HAVE_WCHAR_H AND HAVE_STRING_H AND HAVE_STDLIB_H AND
> HAVE_STDIO_H AND HAVE_CTYPE_H AND HAVE_LOCALE_H AND HAVE_ERRNO_H)
> - if (HAVE_ENDIAN_H OR HAVE_MACHINE/ENDIAN_H OR HAVE_ARPA/NAMESER_COMPAT_H)
> + if (HAVE_ENDIAN_H OR HAVE_MACHINE_ENDIAN_H OR HAVE_ARPA_NAMESER_COMPAT_H)
> if(HAVE_ICONV_OPEN AND HAVE_ICONV_CLOSE AND HAVE_ICONV)
> set(gnuiconv_available 1)
> list(APPEND transcoders gnuiconv)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]