You seem to be missing lots of standard C++ header files.  Are you sure you
installed the compiler correctly?  You won't get very far if those files
aren't present!

On my RedHat 6.1 box, the header files are in /usr/include/g++-2

Dave



                                                                                       
                       
                    Dimitry                                                            
                       
                    Chernyshov             To:     [EMAIL PROTECTED]            
                       
                    <shev@polardesi        cc:     (bcc: David N Bertoni/CAM/Lotus)    
                       
                    gn.ru>                 Subject:     Problems with building Xalan-C 
                       
                    Sent by:                                                           
                       
                    [EMAIL PROTECTED]                                                    
                       
                    rdesign.ru                                                         
                       
                                                                                       
                       
                                                                                       
                       
                    08/30/2001                                                         
                       
                    08:01 AM                                                           
                       
                    Please respond                                                     
                       
                    to xalan-dev                                                       
                       
                                                                                       
                       
                                                                                       
                       



Guys,

Could anyone tell me what's wrong with my compiler? During build process
the following error occurs.
Pre-requisits:

Mandrake Linux 8.0
gcc 2.95.3
Xalan-C 1.2
Xerces-C 1.5.1
ICU 1.8.1

----
c++ -I/home/packages/xerces-c-src1_5_1/src -g   -fpic -Wall
-instances=static -DLINUX -D_REENTRANT -DXALAN_USE_ICU -c
-I/usr/local/include/ -I. -I/home/packages/xerces-c-src1_5_1/src/
-I/home/packages/xerces-c-src1_5_1/include/   -o
/home/packages/xml-xalan/c/obj/XalanAttr.o XalanDOM/XalanAttr.cpp
In file included from XalanDOM/XalanNode.hpp:63,
                 from XalanDOM/XalanAttr.hpp:63,
                 from XalanDOM/XalanAttr.cpp:57:
XalanDOM/XalanDOMString.hpp:66: vector: No such file or directory
In file included from XalanDOM/XalanNode.hpp:63,
                 from XalanDOM/XalanAttr.hpp:63,
                 from XalanDOM/XalanAttr.cpp:57:
XalanDOM/XalanDOMString.hpp:79: cassert: No such file or directory
gmake: *** [/home/packages/xml-xalan/c/obj/XalanAttr.o] Error 1
-----

At the lines where error messages point to, there is the following code:
---
#include <vector>
or
#include <cassert>
---

Thanks in advance!

Best,
Dimitry




Reply via email to