Am 21.03.2010 um 15:10 schrieb BH:

> On Sun, Mar 21, 2010 at 9:33 AM, Pavel Sanda <sa...@lyx.org> wrote:
>> Stephan Witt wrote:
>>> Hi Yvon,
>>> 
>>> some days ago I tried to build LyX trunk version and failed with the same 
>>> error when using the macports Qt4 library. (I see you are using it too.) I 
>>> had not enough energy to search for the root of the problem. I guess it is 
>>> related to processor architecture of the build of some component.
>>> 
>>> I switched to a self made Qt4 library as explained in INSTALL.MacOSX.
>>> 
>>> Hope this helps.
>> 
>> BTW Bennett had a problem with building of tarball. Do you experience it too?
>> (see "cross-compile problems on Mac" thread).

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.

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?

Stephan

Reply via email to