You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Fj (JIRA)" <xe...@xml.apache.org> on 2017/09/22 14:46:00 UTC
[jira] [Created] (XERCESC-2121) xercesc-3.2.0 fails to configure
with cmake, gnuiconv on Solaris.
Fj created XERCESC-2121:
---------------------------
Summary: 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org