Jason,

        Thanks. It does appear that CC will compile the files that fail to
        compile with cc (make CC=CC). I now get include type errors shown below.
        
        As far as Perl being misconfigured I installed Perl 5.6.0 without 
        error long before trying to install Xerces. I'm not sure how this 
        might be misconfigured such that Perl doesn't know enough to use CC.
        
        The errors below would indicate something is not correct with
        include files, as if the types might have changed between the
        version of Perl and Xerces.
        
        
CC -c -I. -IHandler -I/usr/local/src/xerces-c-src1_5_1/include -D_REENTRANT 
-DHAS_BOOL -O     -DVERSION=\"1.5.6\" -DXS_VERSION=\"1.5.6\" -KPIC 
-I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE  Xerces.C
"/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE/cop.h", line 300: Error: Type name 
expected instead of "bool".
"/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE/cop.h", line 300: Error: No 
storage class or type for this declaration.
"/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE/cop.h", line 300: Error: "," 
expected instead of "sbu_once".
...many more messages deleted...

Thanks again for your help,
David

PS: In order to complete the compile in Handler I manually added the include
path to <iostreams.h> in /opt/SUNWspro/SC4.2/include/CC. Not sure if this is
left out due to a misconfigured CC or Perl.

 CC -c -I. -I/opt/SUNWspro/SC4.2/include/CC -IHandler 
-I/usr/local/src/xerces-c-src1_5_1/include -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.10\" 
-DXS_VERSION=\"0.10\" -KPIC -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE 
PerlExceptionHandler.cpp
 

>To: [EMAIL PROTECTED]
>Cc: David Fielding <[EMAIL PROTECTED]>
>Subject: Re: Installing Xerces Perl on Solaris 2.8
>From: [EMAIL PROTECTED] (Jason E. Stewart)
>Date: 04 Oct 2001 22:42:14 -0600
>User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
>MIME-Version: 1.0
>
>"David Fielding" <[EMAIL PROTECTED]> writes:
>
>> make
>> make -C Handler static
>> make[1]: Entering directory `/digital/local/src/XML-Xerces-1.5.6/Handler'
>> cc -c -I. -IHandler -I/usr/local/src/xerces-c-src1_5_1/include 
>> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O     
>> -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -KPIC 
>> -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE  
PerlContentCallbackHandler.cpp
>> cc: No input file specified, no output generated
>> make[1]: *** [PerlContentCallbackHandler.o] Error 1
>> make[1]: Leaving directory `/digital/local/src/XML-Xerces-1.5.6/Handler'
>> make: *** [blib/arch/auto/Handler/Handler.a] Error 2
>
>Hey David,
>
>I think this is because Perl is misconfigured. cc is giving an error
>because it is a C++ file, what happens if you run 'make CC=CC' to
>explicitly tell it to use the C++ compiler?
>
>jas.


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

Reply via email to