[MacPorts] #20979: xercesc install fails on OS 10.6

MacPorts noreply at macports.org
Wed Sep 30 08:37:44 PDT 2009


#20979: xercesc install fails on OS 10.6
----------------------------------+-----------------------------------------
 Reporter:  docfaraday@…          |       Owner:  chris.ridd@…        
     Type:  defect                |      Status:  new                 
 Priority:  Normal                |   Milestone:                      
Component:  ports                 |     Version:  1.8.0               
 Keywords:  snowleopard           |        Port:  xercesc             
----------------------------------+-----------------------------------------

Comment(by jasny@…):

 Replying to [comment:14 israfel33@…]:
 > Replying to [comment:13 docfaraday@…]:
 > > Ahh, I was building my copy with the ICU transcoder because I needed
 source offsets, so I'm betting the MacOSUnicodeConverter wasn't being
 built in my case.
 >
 > Seems that building xercesc only works in 64bit mode on Snow Leopard
 (with 64bit capable CPU). When I selected i386 as default build in
 macports.conf, xercesc object files were build with -arch i386 but when
 linking them together build system tried to create 64bit version and
 produced warning. Result is fairly useless library. Anyone else noticed
 such problem?

 When i compiled it by hand I exported LDFLAGS, too.
 export CFLAGS="-arch i386"
 export CXXFLAGS="-arch i386"
 export LDFLAGS="-arch i386"

 I also had to substitute int32_t by SInt32 in
 XMLPlatformUtils::platformInit

 Gregor

-- 
Ticket URL: <http://trac.macports.org/ticket/20979#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list