Am 22.03.2010 um 01:10 schrieb BH:

> On Sun, Mar 21, 2010 at 4:48 PM, Stephan Witt <[email protected]> wrote:
>> After reading the mails in the thread I tried to build LyX myself.
>> See below...
>> 
>>> 
>>> I currently cannot compile with autotools, getting the same error as
>>> Yvon. (And that's with a self-compiled Qt4.) I don't have time to
>>> investigate right now.
>> 
>> I'm able to compile trunk with autotools and a self-compiled Qt4.6.2.
>> I haven't tried it with cmake.
>> 
>>> 
>>> I can successfully compile with cmake. However, even this doesn't
>>> enable me to cross-compile, and so I'm still unable to produce
>>> universal binaries.
>> 
>> I cannot build universal binaries because I'm unable to link against my Qt4.
>> I'm on Snow Leopard and my self-compiled Qt is not for PPC.
> 
> It's easy to compile Qt for PPC and Intel: just add the following when
> configuring:
> 
> -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk

Thanks for the hint. I'll do this now and we'll see how it goes.

But I have to use the Leopard SDK (MacOSX10.5u.sdk) as the building of 4.6.2 
qmake failed already.
Maybe the gcc 4.2.x is too old...

> 
>> I have to investigate my options further... but I'm a little bit short of 
>> disk space.
>> That's why I removed the macports Qt4 already.
>> 
>> Bennett, what did you try to cross-compile with cmake? Is there a recipe or 
>> is it simply not supported?
> 
> Here's what I do (and please correct me if I'm making any mistake):

I'll do that later... do you know if that build is working with Qt4 of macports?

BTW, what do you think is a *must* to support platform-wise and what is nice to 
have?

Stephan

Reply via email to