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

error "Ending delimiter missing on substitution" building on Solaris

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.6.0
    • None
    • None
    • None
    • Solaris gcc g++

    Description

      When trying to use the runConfigure script on a Solaris platform that uses gcc and g++ I get the following output:

      runConfigure -psolaris -cgcc -xg++

      Generating makefiles with the following options ...
      Platform: solaris
      C Compiler:
      C++ Compiler:
      Message Loader: inmem
      Net Accessor: socket
      Transcoder: native
      Thread option: pthread
      bitsToBuild option: 32
      Extra compile options:
      Extra link options:
      Extra configure options:
      Debug is OFF
      C++ compiler not specified...we'll assume that configure will find it...

      creating cache ./config.cache
      checking for gcc... gcc
      checking whether the C compiler (gcc -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET ) works... yes
      checking whether the C compiler (gcc -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET ) is a cross-compiler... no
      checking whether we are using GNU C... yes
      checking whether gcc accepts -g... yes
      checking for c+... c+
      checking whether the C++ compiler (c++ -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET ) works... yes
      checking whether the C++ compiler (c++ -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET ) is a cross-compiler... no
      checking whether we are using GNU C++... yes
      checking whether c++ accepts -g... yes
      checking for a BSD compatible install... ./install-sh -c
      checking for autoconf... true
      checking how to run the C preprocessor... gcc -E
      checking for ANSI C header files... yes
      checking for XMLByte... no
      checking host system type... sparc-sun-solaris2.7
      updating cache ./config.cache
      creating ./config.status
      creating Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/Cygwin/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/ICU/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/Iconv/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/Iconv390/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/Uniconv390/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/Iconv400/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/IconvFBSD/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/IconvGNU/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Transcoders/MacOSUnicodeConverter/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/Solaris/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/AIX/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/BeOS/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/QNX/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/Interix/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/Linux/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/FreeBSD/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/NetBSD/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/HPUX/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/OS390/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/OS400/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/IRIX/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/PTX/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/OpenServer/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/UnixWare/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/Tru64/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/MacOS/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/Win32/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Platforms/Cygwin/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/Compilers/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/MsgLoaders/InMemory/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/MsgLoaders/ICU/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/MsgLoaders/ICU/resources/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/MsgLoaders/MsgCatalog/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/MsgLoaders/MsgFile/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/NetAccessors/Socket/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/NetAccessors/libWWW/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/NetAccessors/MacOSURLAccessCF/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating util/regx/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating validators/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating validators/common/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating validators/datatype/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating validators/DTD/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating validators/schema/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating validators/schema/identity/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating framework/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating framework/psvi/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating dom/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating dom/impl/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating dom/deprecated/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating parsers/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating internal/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating sax/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating sax2/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%
      creating ../../obj/Makefile
      sed: Ending delimiter missing on substitution: s%@DEFS@%

      Having build problems?
      Read instructions at http://xml.apache.org/xerces-c/build.html
      Still cannot resolve it?
      Find out if someone else had the same problem before.
      Go to http://marc.theaimsgroup.com/?l=xerces-c-dev

      In future, you may also directly type the following commands to create the Makefiles.

      export TRANSCODER="NATIVE"
      export MESSAGELOADER="INMEM"
      export NETACCESSOR="Socket"
      export THREADS="pthread"
      export BITSTOBUILD="32"
      export CC=""
      export CXX=""
      export CXXFLAGS=" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET "
      export CFLAGS=" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET "
      export LDFLAGS=" "
      export LIBS=" -lpthread -lnsl -lsocket"
      configure

      If the result of the above commands look OK to you, go to the directory
      /home/advtech3/madams/xerces/xerces-c-src_2_6_0/src/xercesc and type "gmake" to make the XERCES-C system.

      The solution to this issue is that line 1461 in the xerces-c-src_2_6_0/src/xercesc/configure file needs to be changed from:

      if test "$platform"="OS400" || test "$platform" = "OS390";then

      to

      if test "$platform" = "OS400" || test "$platform" = "OS390";then

      Attachments

        Activity

          People

            Unassigned Unassigned
            adamsl3 Michael David Adams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: