build xercesc failed in SL

Husam Senussi husam at senussi.com
Wed Sep 2 18:22:43 PDT 2009


I have applied the patches attached to the ticket but still getting  
different errors, so is there any working version I can use or this  
still work in progress.

This the error I'm getting.

Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc 
/work/xerces-c-src_2_8_0/src/xercesc" && /usr/bin/gnumake -j2 all "  
returned error 2
Command output:   (C++) XML88591Transcoder.o
   (CP)  /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc 
/work/xerces-c-src_2_8_0/include/xercesc/util/Platforms/MacOS
   (C++) MacOSPlatformUtils.o
   (C++) VecAttrListImpl.o
   (C++) VecAttributesImpl.o
   (C++) WFXMLScanner.o
   (C++) MacPosixFile.o
   (CP)  /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc 
/work/xerces-c-src_2_8_0/include/xercesc/util/Transcoders/ 
MacOSUnicodeConverter
   (C++) MacOSUnicodeConverter.o
   (C++) XMLGrammarPoolImpl.o
MacOSUnicodeConverter.cpp: In constructor  
'xercesc_2_8::MacOSUnicodeConverter::MacOSUnicodeConverter()':
MacOSUnicodeConverter.cpp:101: error: 'kUnresolvedCFragSymbolAddress'  
was not declared in this scope
MacOSUnicodeConverter.cpp: In member function 'virtual  
xercesc_2_8::XMLTranscoder*  
xercesc_2_8::MacOSUnicodeConverter::makeNewXMLTranscoder(const XMLCh*,  
xercesc_2_8::XMLTransService::Codes&, unsigned int,  
xercesc_2_8::MemoryManager*)':
MacOSUnicodeConverter.cpp:447: error: 'CopyCStringToPascal' was not  
declared in this scope
MacOSUnicodeConverter.cpp: In static member function 'static bool  
xercesc_2_8::MacOSUnicodeConverter::IsMacOSUnicodeConverterSupported()':
MacOSUnicodeConverter.cpp:518: error: 'kUnresolvedCFragSymbolAddress'  
was not declared in this scope
MacOSUnicodeConverter.cpp: In member function 'virtual unsigned int  
xercesc_2_8::MacOSTranscoder::transcodeTo(const XMLCh*, unsigned int,  
XMLByte*, unsigned int, unsigned int&,  
xercesc_2_8::XMLTranscoder::UnRepOpts)':
MacOSUnicodeConverter.cpp:629: error: cast from 'const XMLCh*' to  
'unsigned int' loses precision
gnumake[2]: *** [MacOSUnicodeConverter.o] Error 1
gnumake[1]: *** [transcoders] Error 2
gnumake: *** [Util] Error 2
gnumake: *** Waiting for unfinished jobs....
   (C++) XMLReader.o
   (C++) XMLScanner.o
   (C++) XMLScannerResolver.o
   (C++) XProtoType.o
   (C++) XSAXMLScanner.o
   (C++) XSerializeEngine.o
   (C++) XSObjectFactory.o
   (C++) XTemplateSerializer.o

Error: Status 1 encountered during processing.




On 3 Sep 2009, at 01:49, Ryan Schmidt wrote:

>
> On Sep 2, 2009, at 19:44, Husam Senussi wrote:
>
>> Just in case someone had this installed in SL  I'm getting below  
>> error
>
> Yes, we have a ticket for this:
>
> http://trac.macports.org/ticket/20979
>
>
>



More information about the macports-users mailing list