[Qt-interest] Qt 4.5 build failing on Mac OSX

Rush Manbert rush at manbert.com
Tue Mar 10 20:15:33 CET 2009


Hi,

I got the Mac open source distribution and tried to build it using  
this configuration:

/configure -prefix /Users/rmanbert/temp/qt4.5.0 -debug-and-release - 
static -webkit -platform macx-g++ -qt-zlib -qt-libtiff -qt-libpng -qt- 
libmng -qt-libjpeg -universal

It chugged away for a long time, then got an error. Here is the  
context and the error:
ranlib -s libQtWebKit_debug.a
ranlib: for architecture: ppc file: libQtWebKit_debug.a(HashTable.o)  
has no symbols
ranlib: for architecture: ppc file: libQtWebKit_debug.a(CollatorICU.o)  
has no symbols
ranlib: for architecture: ppc file:  
libQtWebKit_debug.a(StructureStubInfo.o) has no symbols
ranlib: for architecture: ppc file: libQtWebKit_debug.a(JIT.o) has no  
symbols
<snip similar lines>
ranlib: for architecture: i386 file:  
libQtWebKit_debug.a(JSWorkerLocation.o) has no symbols
ranlib: for architecture: i386 file:  
libQtWebKit_debug.a(JSWorkerNavigator.o) has no symbols
ranlib: for architecture: i386 file:  
libQtWebKit_debug.a(JSXSLTProcessor.o) has no symbols
ranlib: can't vm_allocate() buffer for output file:  
libQtWebKit_debug.a of size 1680905592 ((os/kern) no space available)  
<<<------ Error here
make[2]: *** [../../../../lib/libQtWebKit_debug.a] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2


I have googled and I understand the problem. I suppose I can sidestep  
it for now by not building the universal library. But if I end up  
using Qt in my projects, I'm going to need static quad libraries and I  
have to be able to build them. (I have also seen the information that  
says you can't build 64-bit static libs for Mac, so I'm concerned  
about that. But my worst case fallback is that I have to use quad  
dylibs, and I'll need to build them too.)

Any suggestions?

Thanks,
Rush



More information about the Qt-interest-old mailing list