Andre Poenitz wrote:
One needs to delete *.la from /path/to/qt-4.4-install/lib/ after
compiling Qt !!!
....
You could still file it on http://trolltech.com/developer/task-tracker
This is what I did. But (as expected) they want more information, and
this is where my knowledge ends.
Somebody wants to look into this or reply to them?
[My reply would be: yes, you are right, it might very well be an error
in LyX's makefile generated by autogen - I cannot tell.]
/Konrad
It follows the full email:
*****************************
From - Thu Oct 9 17:05:48 2008
Return-Path: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Issue N230030] Conflict between libtoos and Qt-provided
*.la files
X-Trolltech-Task-ID: N230030
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 9 Oct 2008 17:04:25 +0200 (CEST)
On Monday, 06. Oct 2008 13:01 [EMAIL PROTECTED] wrote:
> You are receiving this mail because Konrad Hofbauer
> [EMAIL PROTECTED]
> is sending a bugreport to you from www.trolltech.com.
>
> Product: Qt
>
> Function: Other
>
> Version: 4.4.1
>
> Platform: MacOSX
> Fully patched Mac OS X 10.4.11
>
> Compiler: GCC
> gcc --version
> i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
> 5370)
>
> not using qmake, but an autotools-based build system.
>
> The libtool version included in LyX is 1.5.26, I believe.
>
> Short description: Conflict between libtoos and Qt-provided *.la files
>
> Did:
> In short: I have to delete *.la in /qt-install-dir/lib for things to
> work out.
>
> In long:
> I am co-maintainer for the Mac OS X version of LyX (www.lyx.org). I
> build from the official source release (of say 1.6.0rc3, but just the
> same for the 1.5.x series) with the LyX's autotools/configure/make
> build systems and a statically built Qt.
>
> So this is what I do:
> 1) 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
>
> 2) building LyX-1.6.0rc3 (official source tar ball) with the attached
> script.
>
> Expected to see:
> A successful build without having to delete *.la in
> /qt-install-dir/lib.
>
> Got instead:
> Linking fails with:
>
> creating liblyxinsets.la
> (cd .libs && rm -f liblyxinsets.la && ln -s
> ../liblyxinsets.la liblyxinsets.la)
> /bin/sh ../libtool --tag=CXX --mode=link g++ -Os -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk
> -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
>
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> -arch i386 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
> Dimension.o PrinterParams.o Thesaurus.o liblyxcore.la liblyxmathed.la
> liblyxinsets.la frontends/liblyxfrontends.la
> frontends/qt4/liblyxqt4.la liblyxgraphics.la support/liblyxsupport.la
> ../boost/liblyxboost.la .../intl/libintl.a -liconv -Wl,-framework
> -Wl,CoreFoundation -liconv -lz -framework ApplicationServices
> -framework Carbon -framework AppKit -lQtGui -lQtCore -lz -lm
> libtool: link: cannot find the library `' or unhandled argument
> `Carbon'
> make[4]: *** [lyx] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> More details:
> However, if I (before building LyX) remove *.la from
> /path/to/qt-4.4-install/lib/, LyX builds perfectly well!!!
Hi Konrad,
Thanks for your report, I must confess I am a bit unsure of the
information you have provided, I hope you can give me some more info to
assist my understanding.
From the information you have provided, it seems to me that the issue is
the make file is not correct.
The best way to debug this might be to look at the makefile and
determine why it is failing.
You write that you are using another tool to do the build, If you are
using another tool to generate the make files, how do you determine
that the issue is a Qt issue? It seems to me that the tool that creates
the make file may be making some sort of error in it's generation.
Please let me know if I have misunderstood some part of the issue,
Regards,
Dean
--
Dean Dettman
Support Engineer
Qt Software, Nokia
http://www.trolltech.com
======================================================================
Qt Developer Days 2008
Register Today!
REDWOOD CITY, California: October 29th - 30th
Learn more: www.trolltech.com/qtdevdays2008
======================================================================