[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    Re: [PATCH] fix libtool for LyX/Mac
From:       Konrad Hofbauer <hofbauer () sbox ! tugraz ! at>
Date:       2009-04-30 7:06:18
Message-ID: 49F94DEA.2010802 () sbox ! tugraz ! at
[Download RAW message or body]

Jean-Marc Lasgouttes wrote:
> Konrad Hofbauer <hofbauer@sbox.tugraz.at> writes:
>> Can you elaborate for one more second what did not work specifically
>> (e.g. building LyX version x.y.z with Qt a.b.c on platform y)?
> 
> It is in particular when building using pkg-config, which has the
> advantage of getting the flags right automatically, but the disadvantage
> of relying on -framework command-line option. 
> 
> This option is the right thing to do per se, but libtool traditionally
> thinks differently. Therefore, the patch makes libtool work in this
> respect. On systems where -framework was not used (except in LDFLAGS it
> seems), there should not be any difference.

Very obviously you know things better than me here.

>> IIRC we built Mac-release builds with pretty much every Qt version,
>> and getting the includes right such that it does not crash on some
>> systems was tricky.
> 
> What do you mean by 'crash'? 

We hade LyX crashing on some people's Mac machines (don't remember 
exactly what), and we got rid of those by tinkering with the build 
options. Bennett has the latests script.

> My goal is to obtain a compilation that works out-of-the-box without any
> special configuration. On my box I can just do
>   ./configure
> and it works.

It was never a problem to build a LyX/Mac that runs on the box it was 
built on, but it was tricky to get things right such that the release 
builds work on every box (be it Tiger or Leopard, on Power PC or Intel).
We have to cross-compile, both the C++ and the Objective-C (the LinkBack 
stuff) parts.

Just worried sth could break (and if it's worth the risk in branch),
Konrad
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic