qt3-mac fails to build

Ryan Schmidt ryandesign at macports.org
Sun Dec 12 16:36:07 PST 2010


Don't forget to Reply All.


On Dec 12, 2010, at 16:28, Lenore Horner wrote:

> On Dec 12, 2010, at 4:09 PM, Ryan Schmidt wrote:
> 
>> On Dec 12, 2010, at 14:02, Lenore Horner wrote:
>> 
>>> I'm trying to install k3dsurf which depends on qt3-mac on a MacBook running 10.6.5 with Xcode 3.2.2.  The install failed on qt3-mac.  I think the point of failure is this (from the log):
>>> 
>>> /opt/local/lib/libqt-mt.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
>>> 
>>> I did not drag MacPorts from another system or upgrade the OS.  I don't know why the wrong architecture would exist.  I have qt3 installed.  Is this a conflict between qt3 and qt3-mac?  
>> 
>> According to...
>> 
>> http://trac.macports.org/ticket/14873
>> 
>> ...having qt3-mac installed and active will prevent qt3 from building. It's certainly possible, then, that having qt3 installed and active will prevent qt3-mac from building. Try deactivating qt3, cleaning qt3-mac, then trying to build qt3-mac again.
>> 
> 
> Thanks.  That works for installation.  I get an error reactivating qt3 though.
> 
> --->  Activating qt3 @3.3.8_9
> Error: Target org.macports.activate returned: Image error: /opt/local/bin/lrelease is being used by the active qt3-mac port.  Please deactivate this port first, or use 'port -f activate qt3' to force the activation.
> 
> Can both ports safely use this file?  Does it matter if both are active at the same time (because that would be unlikely)?

Then it sounds like qt3 and qt3-mac conflict, not just at build time, but at activate time as well. And no, you should not activate both at the same time, in that case.



More information about the macports-users mailing list