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

again: "Ending delimiter missing on substitution" building on Solaris

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0, 2.7.0
    • 2.8.0, 3.0.0
    • None
    • None
    • SunOS 5.7, SunOS 5.8

    Description

      This is related to previous bug report, XERCESC-1395. LIke that user, runConfigure -psolaris -cgcc -xg++ causes the error message
      "sed: Ending delimiter missing on substitution: s%@DEFS@%." It appears that the problem went away for that user after he downloaded
      the latest version, but it's not going away for me with xerces-c-current, namely xerces-c-src_2_7_0.

      The problem also appears with Xerces 2_6_0, and on both SunOs 5.7 and 5.8. Here's a what is recorded by the
      'script' utility when executing runConfigure:

      Script started on Fri Nov 25 17:12:10 2005
      sylvester.parc.xerox.com% runConfigure -psolaris -cgcc -xg++
      Generating makefiles with the following options ...
      Platform: solaris
      C Compiler: gcc
      C++ Compiler: g++
      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

      creating cache ./config.cache
      checking for gcc... gcc
      checking whether the C compiler (gcc -w -O -DNDEBUG -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 -DNDEBUG -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+... g+
      checking whether the C++ compiler (g++ -w -O -DNDEBUG -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 (g++ -w -O -DNDEBUG -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 g++ 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.8
      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="gcc"
      export CXX="g++"
      export CXXFLAGS=" -w -O -DNDEBUG -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 -DNDEBUG -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
      /tmp/tmp/xerces-c-src_2_7_0/src/xercesc and type "gmake" to make the XERCES-C system.
      sylvester.parc.xerox.com% exit
      sylvester.parc.xerox.com%
      script done on Fri Nov 25 17:12:17 2005

      Attachments

        Activity

          People

            Unassigned Unassigned
            goldberg@parc.com David Goldberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: