I downloaded the code last night so it is the latest version of xerces. When I run "uname" on my sun box I get the following output:
SunOS pandora 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-60 I have now successfully now compiled xerces with gmake 3.8, gcc 3.3, and g++ 3.3 Thanks for your quick responses. -----Original Message----- From: David Bertoni (JIRA) [mailto:[EMAIL PROTECTED] Sent: Saturday, April 02, 2005 12:48 PM To: [EMAIL PROTECTED] Subject: [jira] Commented: (XERCESC-1395) error "Ending delimiter missing on substitution" building on Solaris [ http://issues.apache.org/jira/browse/XERCESC-1395?page=comments#action_62035 ] David Bertoni commented on XERCESC-1395: ---------------------------------------- I tried to reproduce this both on Solaris 8 and Solaris 10 and could not. Can you give more details about what distribution you downloaded, and the version of Solaris you're using? > error "Ending delimiter missing on substitution" building on Solaris > -------------------------------------------------------------------- > > Key: XERCESC-1395 > URL: http://issues.apache.org/jira/browse/XERCESC-1395 > Project: Xerces-C++ > Type: Bug > Versions: 2.6.0 > Environment: Solaris gcc g++ > Reporter: Michael David Adams > > 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: [EMAIL PROTECTED]@% > creating util/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/Cygwin/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/ICU/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/Iconv/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/Iconv390/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/Uniconv390/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/Iconv400/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/IconvFBSD/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/IconvGNU/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Transcoders/MacOSUnicodeConverter/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/Solaris/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/AIX/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/BeOS/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/QNX/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/Interix/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/Linux/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/FreeBSD/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/NetBSD/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/HPUX/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/OS390/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/OS400/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/IRIX/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/PTX/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/OpenServer/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/UnixWare/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/Tru64/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/MacOS/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/Win32/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Platforms/Cygwin/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/Compilers/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/MsgLoaders/InMemory/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/MsgLoaders/ICU/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/MsgLoaders/ICU/resources/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/MsgLoaders/MsgCatalog/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/MsgLoaders/MsgFile/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/NetAccessors/Socket/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/NetAccessors/libWWW/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/NetAccessors/MacOSURLAccessCF/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating util/regx/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating validators/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating validators/common/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating validators/datatype/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating validators/DTD/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating validators/schema/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating validators/schema/identity/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating framework/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating framework/psvi/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating dom/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating dom/impl/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating dom/deprecated/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating parsers/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating internal/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating sax/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating sax2/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > creating ../../obj/Makefile > sed: Ending delimiter missing on substitution: [EMAIL PROTECTED]@% > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]