Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2121

xercesc-3.2.0 fails to configure with cmake, gnuiconv on Solaris.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.2.1
    • Build
    • None
    • Solaris, gnuiconv present and selected with -Dtranscoder=gnuiconv
    • Patch

    Description

      Looks like a simple typo: variable names should use underscores instead of slashes. This patch fixes it:

      --- 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)
      

      Attachments

        1. xercesc.patch
          0.7 kB
          Fj

        Activity

          People

            rleigh Roger Leigh
            Fj_ Fj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: