We compile Xerces with VAC++ 5.0 compiler... Here is the shell script that
I use to build Xerces with (AIX 4.3.3)

Note that there is a vi util/Compilers/CSetDefs.hpp line is this file.
When that runs, I modify CSetDefs.hpp:

VAC++ supports bools, so I remove this define:

107,111d106
< //
---------------------------------------------------------------------------
< // Indicate that we do not support native bools
< //
---------------------------------------------------------------------------
< #define NO_NATIVE_BOOL
<


#!/bin/csh -f
cd xerces-c-src1_4_0/src
chmod 755 *onfig*
vi util/Compilers/CSetDefs.hpp
./runConfigure -p aix -c xlc_r -x xlC_r -d -m inmem -t icu -r pthread -P
/home/o
pensrc/install/
gmake |& tee build.log

cd ../tests
chmod 755 *onfig*
./runConfigure -p aix -c xlc_r -x xlC_r -d
gmake |& tee ../src/build_tests.log
cd ../src/

cd ../samples
chmod 755 *onfig*
./runConfigure -p aix -c xlc_r -x xlC_r -d
cd ../src/
gmake samples |& tee build_samples.log

gmake install |& tee build_install.log





                                                                                       
                            
                    "Herb Chong"                                                       
                            
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]           
                            
                    .com>                cc:                                           
                            
                                         Subject:     Re: Problem building 
xerces-c-1_4 on AIX 4.3.2 using  xlC_r  
                    07/11/2001                                                         
                            
                    05:57 PM                                                           
                            
                    Please respond                                                     
                            
                    to                                                                 
                            
                    xerces-c-dev                                                       
                            
                                                                                       
                            
                                                                                       
                            




so long as you are using the VAC++ 5.0 compiler, you will have all kinds of
problems until you path the code yourself or you update to XML4C 1.5.

Herb...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to