Thanks Jason.

After the whole day looking after this, I have some more info. I also sent this
to xerces-p-dev.

But I figured out one of the errors... but I have a new one now =(

I am using HP-UX 11, and aCC to build Xerces-Perl.

First I was having this error:

Error 173: "/opt/aCC/include_std/limits", line 565 # Redefined symbol
'numeric_limits<char>'; previously defined at ["/opt/aCC/include_std/limits",
line 502].
    _RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL)
    ^^^^^^^^^^^^^^^^^^^^^^^^
Error 705: "/opt/aCC/include_std/limits", line 565 # A template must be declared
before it can be explicitly specialized.
    _RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL)
    ^^^^^^^^^^^^^^^^^^^^^^^^
Error 445: "/opt/aCC/include_std/limits", line 565 # Cannot recover from earlier
errors.
    _RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL)
    ^^^^^^^^^^^^^^^^^^^^^^^^


Then I started to add -DHAS_BOOL to the compiler flags.

Now I am getting this error:

Error 212: "Xerces.C", line 54825 # Argument type 'unsigned int *' does not
match expected parameter type 'unsigned long *'.
                XMLByte *xmlbytes = (XMLByte *)SvPV(ST(0), arg2);
                                               ^^^^


So, I was looking under hints/aix.pl, and it seems that Perl tries to set bool
as a char, and Xerces tries to see bool as an int. They say there to use
-DHAS_BOOL and -Dbool=char, but if I use -Dbool=char it won't work. Now, by
using only -DHAS_BOOL it went past this step...

But now I have this darn situation with the unsigned int * not being
automatically converted to unsigned long *. Anyone has any ideas about any other
flag I should be using here?


Help me! =~(


Fernando Cavalcanti Jeronymo
SIAC : (212) 383-5067
                                
 email: [EMAIL PROTECTED]       
                                
        [EMAIL PROTECTED] 
                                


Science without religion is lame; religion without science is blind.
Albert Einstein.


|--------+------------------------->
|        |          jason@openinfor|
|        |          matics.com     |
|        |          (Jason E.      |
|        |          Stewart)       |
|        |                         |
|        |          02/26/2002     |
|        |          03:31 PM       |
|        |          Please respond |
|        |          to xerces-c-dev|
|        |                         |
|--------+------------------------->
  >----------------------------------------------------------------------------|
  |                                                                            |
  |       To:     [EMAIL PROTECTED]                                  |
  |       cc:     (bcc: Fernando Jeronymo/SIAC)                                |
  |       Subject:     Re: Porting Xerces perl to HP-UX 11.00                  |
  >----------------------------------------------------------------------------|




Hey Fernando,

You should probably post this to the xerces-p-dev list.

The short answer is Perl has no knowledge of your C++ compiler.

Cheers,
jas.

"Fernando Jeronymo" <[EMAIL PROTECTED]> writes:

> Hi, I am trying to port Xerces Perl to HP-UX 11.00, but its getting too
> complicated. I am not sure if its a problem in my environment, or with Xerces
> Perl module itself.
>
> Does anyone tried to do this before? Or have any ideas on how to port it?
>
> I got the Xerces C++ Library for HP11, and when I do -> perl Makefile.pl
> everything works fine.
>
> But when I try to call make, my compiler starts to complain about
> some includes and stuff like that. I am using the aCC compiler. Any
> ideas on which flags should I use for compatibility?

---------------------------------------------------------------------
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