I've done this in the past.  The issue that you are facing is that Xalan
1.1 is set up for an older version of the compiler that did not support the
standard template libraries.  What you are seeing is configuration items
around that issue.  The 5.0 compiler (which is what we use as well) has a
good set of STL.  You have a couple of options.  We've upgraded from Xalan
1.1 to Xalan 1.3, which removed a large number of issues for us.  The other
option is modify a few places in Xalan code to get it to compile with xlC
5.0  If you want to go this route, let me know, and I'll send the
instructions we followed to do this.  However, I would recommend upgrading
to a later version of Xalan.  There are a number of significant
improvements.  In our project, we actually had to remove Xalan 1.1 as it
was causing core dumps.  However, I've since reintegrated 1.3 back into the
code, and it is working great.

Thanks,
Anthony Zawacki




                                                                                       
                                                
                      "Amol Potnis"                                                    
                                                
                      <[EMAIL PROTECTED]        To:       <[EMAIL PROTECTED]>    
                                                
                      >                        cc:       "amol" <[EMAIL PROTECTED]>     
                                                
                                               Subject:  Building Xalan-C++ 1.1 on AIX 
                                                
                      09/12/2002 07:00                                                 
                                                
                      AM                                                               
                                                
                      Please respond to                                                
                                                
                      xalan-dev                                                        
                                                
                                                                                       
                                                
                                                                                       
                                                



Hi,

I am trying to build Xalan-C++ 1.1 on AIX 4.3.3 ( patch level 10) using
XLC5.0 compiler.
But I am not able to go through.

I am facing number of problems as listed below:
1. AIXDefinitions.hpp file has an include statement as '#include
<stl/_config.h>'
    Such file doesn't come with stl libraries and include files those come
along with AIX.
    Such file exists in 'STLPort' files. But Documentation clearly says
that 'STLPort' files are to be used for solaris.

    => So  I commented this and tried to compile further.

2. Number of templates are getting used in numbers source files of Xalan.
    It forced me to add 'using namsapce std' statement in some of the .hpp
files.
    It took me a step ahead but still faced other problems in compilation.

As documentation says that Xalan does get built on AIX with XLC, I am
wondering whether I am doing anything wrong at very basic level.
Has anybody else tried to build Xalan on AIX with XLC?
Can I get any helping instructions / steps / useful pointers at any good
reference?

Thanks in advance.
Amol Potnis






Reply via email to