"Derek Fountain" <[EMAIL PROTECTED]> writes:

> I've been doing my XML/Perl work on Linux and need to have it work
> on AIX. It turns out that the Xerces.C file doesn't compile under
> AIX4.3.2 using the xlc compiler. Are there any plans to get AIX onto
> the supported list?

Hi Derek,

Excellent! I'm glad that someone has made the effort to try this on
AIX. First off, I would suggest upgrading to 1.5.3, there is a big
increase in functionality, so if you're going to go through an effort
to get this to compile, it might be worth your while to use the latest
code.

> The error starts off with dozens of these errors:
> 
> ===
> cc -c -I. -IHandler 
> -I/afs/ssd/projects/tools/perl/xerces-c1_5_0-AIX43/include -D_REENTRANT 
> -DDEBIAN -DHAS_BOOL -DSWIG__ -O    -DVERSION=\"1.5.0\"  
> -DXS_VERSION=\"1.5.0\"  
> -I/afs/ssd/projects/tools/perl/perl-5.6.1/lib/5.6.1/aix/CORE  Xerces.C
> "/afs/ssd/projects/tools/perl/perl-5.6.1/lib/5.6.1/aix/CORE/cop.h", line 
> 303.17: 1540-320: (S) Syntax error - found "bool sbu_once" : "bool" is not a 
> type name."/afs/ssd/projects/tools/perl/perl-5.6.1/lib/5.6.1/aix/CORE/cop.h", 
> line 304.17: 1540-320: (S) Syntax error - found "bool sbu_rxtainted" : "bool" 
> is not a type name.
> ===
> 
> which implies the the configure hasn't worked quite right - it's not
> a debian system and the compiler doesn't support "bool".
> 
> I'm way out of my depth on this, although I'd be very happy to be a testbed 
> for someone more knowledgable who doesn't have the boxen. Can anyone help?

Try this: edit Makefile.PL and remove the -DDEBIAN and -DHAS_BOOL from
the list of CFLAGS, then re-run 'perl Makefile.pL' and see if this
works.

I'll try to find an AIX machine at sourceforge or apache, and give you
a hand.

jas.

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

Reply via email to