You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/10/29 22:03:30 UTC

DO NOT REPLY [Bug 4498] New: - Xalan doesn't build on Solaris 8 (C++ 5.2)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4498>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4498

Xalan doesn't build on Solaris 8 (C++ 5.2)

           Summary: Xalan doesn't build on Solaris 8 (C++ 5.2)
           Product: XalanC
           Version: 1.2.x
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: kevinj@roguewave.com
                CC: kevinj@roguewave.com


Solaris 8 shouldn't need STLPort and in any case won't work with STLPort because
it assumes that it has the only standard library.

Here's the config:
runConfigure -psolaris -ccc -xCC -l-xar -minmem -nfileonly -tnative

If you don't define STLPORTROOT you get:

 hightide:/nfs/g1/home/kevinj/xalan/xml-xalan/c/src> gmake           
Preparing the directory structure for a build ...
mkdir -p /nfs/g1/home/kevinj/xalan/xml-xalan/c/obj
mkdir -p /nfs/g1/home/kevinj/xalan/xml-xalan/c/lib
mkdir -p /nfs/g1/home/kevinj/xalan/xml-xalan/c/bin
CC -O -DNDEBUG   -KPIC -mt -xs -ptr/nfs/g1/home/kevinj/xalan/xml-xalan/c/obj
-features=rtti -DSOLARIS -D_REENTRANT -I/stlport  -c -I.
-I/nfs/devco/kevinj/p4/etc/xmlutil/solaris_sunpro52u1p3/xercesc_010400/src/
-I/nfs/devco/kevinj/p4/etc/xmlutil/solaris_sunpro52u1p3/xercesc_010400/include/  
-o /nfs/g1/home/kevinj/xalan/xml-xalan/c/obj/XalanAttr.o XalanDOM/XalanAttr.cpp
"./Include/SolarisDefinitions.hpp", line 105: Error: Could not open include file
<stl/_config.h>.
"./XalanDOM/XalanDOMString.hpp", line 88: Error: Use ";" to terminate
declarations.

If you do define STLPORTROOT you get:
hightide:/nfs/g1/home/kevinj/xalan/xml-xalan/c/src>
gmake                                                              
Preparing the directory structure for a build ...
mkdir -p /nfs/g1/home/kevinj/xalan/xml-xalan/c/obj
mkdir -p /nfs/g1/home/kevinj/xalan/xml-xalan/c/lib
mkdir -p /nfs/g1/home/kevinj/xalan/xml-xalan/c/bin
CC -O -DNDEBUG   -KPIC -mt -xs -ptr/nfs/g1/home/kevinj/xalan/xml-xalan/c/obj
-features=rtti -DSOLARIS -D_REENTRANT
-I/nfs/g1/home/kevinj/stlport/STLport-4.5/stlport  -c -I.
-I/nfs/devco/kevinj/p4/etc/xmlutil/solaris_sunpro52u1p3/xercesc_010400/src/
-I/nfs/devco/kevinj/p4/etc/xmlutil/solaris_sunpro52u1p3/xercesc_010400/include/  
-o /nfs/g1/home/kevinj/xalan/xml-xalan/c/obj/XalanAttr.o XalanDOM/XalanAttr.cpp
"/nfs/g1/home/kevinj/stlport/STLport-4.5/stlport/config/stl_sunpro.h", line 31:
Warning: #error "The wrapper (_STLP_NO_OWN_IOSTREAMS) mode does not work well
without _STLP_HAS_NO_NEW_IOSTREAMS. Please set this flag. You will also have to
use -liostream option on link phase.".
"/package/1/SUNWspro/C++5.2.jumbo3/WS6U1/include/CC/./new", line 32: Error:
_STL::bad_alloc is not in the prior exception specification.