On Sat, Oct 04, 2008 at 01:08:17AM +0200, Konrad Hofbauer wrote:
> Andre Poenitz wrote:
>>> I do not understand why, but I was told before, and I forgot:
>>> One needs to delete *.la from /path/to/qt-4.4-install/lib/ after   
>>> compiling Qt !!!
>>
>> Well, I haven't heard that before.
>
> This was what Bennet told me to get started - and it looks like it is  
> necessary. I found a few things on the web indicating that Qt would ship  
> self-made (?) .la-files (not generated from libtool) that do something  
> with the "-framework Carbon" parameter that does not work with  
> autotools/libtool.
>
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg07807.html
> http://lists.macosforge.org/pipermail/macports-users/2007-May/003163.html
>
> Maybe it is also related to the libtool version. Is libtool included in  
> the LyX source, or is that something I should update on my system (If  
> needed, I can install quite recent versions of whatever, using MacPorts).

I was under the impression that it is picked up by the configure
process.

[And, incidentally, I am not sure that libtool does solve more problems
than it creates. There aren't too many 'funny' UNIX version alive
anymore, and we never used the option of building shared libs. Still
we pay with increased build times.]

>> In fact, I had this week a variety of Qt build on Mac (mostly 4.4 - 4.6)
>> under my fingers, but certainly have not needed to touch any .la file/
>
> With a similar build-system as we use in LyX (statically built Qt, and  
> using autotools/configure/make-mechanism, not cmake or scons)?

No, all qmake based projects.

> Have you tried with LyX also?

No.

>> Does Trolltech/Nokia officially know about it?
>
> No idea. I do not understand our build system well enough so that I  
> could judge and/or give a useful report - from as much as I understand  
> it could just as well be a problem in LyX's autotools configuration, or  
> my setup.

You could still file it on http://trolltech.com/developer/task-tracker

The description you gave is detailed enough that people actually might
look at it ;-)

> All I do is building Qt with:
> ./configure -prefix ~/qt-443 -release -static -fast -no-exceptions  
> -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -nomake examples -nomake  
> tools -nomake demos -no-libtiff
>
> and then building LyX-1.6.0rc3 using the attached script (no autogen on  
> my side).
>
> LyX builds fine if beforehand I remove *.la from  
> /path/to/qt-4.4-install/lib/
>
> If I do not do that, linking fails with: [...]

I'll make a mental note to try exactly that.

Andre'

Reply via email to