Giulio Troccoli wrote:
I'm sorry if this has already been debated but I couldn't find a way to
search the mailing list.
I am trying to build Xerces 2.8 on AIX 5.3. I have downloaded the source
code, run
runConfigure -paix -cxlc -xxlC_r -z-U__XLC121__
and everything was fine.
I have correctly set and exported XERCESCROOT to
/u1/dev/xerces-c-src_2_8_0 where I had previously unzipped and untarred
the source code.
I found out that I have two different make on my system: /usr/bin/make
and /usr/local/bin/make.
If I use the first one, which is the default, I get a lot of errors like
"Dependency line needs colon or double colon operator" and "Shell
command needs a leading tab" probably because it's not GNU make.
If I use the second one, I don't have those errors and Xerces starts to
compile but then I have an error that I don't know how to fix.
kylie xercesc> /usr/local/bin/make
Preparing the directory structure for a build ...
mkdir -p /u1/dev/xerces-c-src_2_8_0/obj/AIX
mkdir -p /u1/dev/xerces-c-src_2_8_0/obj/AIX/depdom
mkdir -p /u1/dev/xerces-c-src_2_8_0/lib
/usr/local/bin/make -s -C util includes
...
(CP) /u1/dev/xerces-c-src_2_8_0/include/xercesc/util/regx
(C++) RegularExpression.o
"RegularExpression.cpp", line 164.29: 1540-0300 (S) The "private" member
"class xercesc_2_8::RegularExpression::Context" cannot be accessed.
make[2]: *** [RegularExpression.o] Error 1
make[1]: *** [regx] Error 2
make: *** [Util] Error 2
Also, do you know how I can find out whether the make I'm using is GNU
or not?
If you got as far as you did, you're using gmake, or something that's
compatible. If you really want to know, try "make --version" to confirm.
As for the compiler error, can you post what version of xlC you're using?
In my version of the source, that line is:
RegularExpression::Context& RegularExpression::Context::operator= (const
RegularExpression::Context& other)
{
so this is either a compiler bug, or your source code is different from mine.
Dave