[ 
https://issues.apache.org/jira/browse/XERCESC-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186371#comment-16186371
 ] 

Roger Leigh commented on XERCESC-2121:
--------------------------------------

Thanks for picking this up.  I'm not sure how those typos ended up there; maybe 
a regex without a trailing {g}.

> 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
>         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: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to