[pkg-kde-talk] kdevelop3 : updating libtool scripts
Jeremy Laine
jeremy.laine at m4x.org
Wed Jan 18 18:25:17 UTC 2006
> yeah, I was there already and I assume kdevelop is even harder
> because much bigger.
You bet, there is a huge number of Makefile.am's to patch. To make
things somewhat easier, I have written a Perl (attached) that parses
the errors that occur during a build and looks up symbols to figure out
the needed libraries (the rules are specified in the script).
I invoke it like this:
<yourproject>/obj-i486-linux-gnu$ make -k 2>&1 | ~/find-missing-libs.pl
The output looks like this:
------
In directory
`/home/sharky/tmp/kdevelop3-3.3.0/obj-i486-linux-gnu/parts/fileselector':
libkdevfileselector.la needs :
$(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KPARTS) $(LIB_KIO) -lktexteditor
libkdevfileselector.la unknown undefined references :
locateLocal(char const*, QString const&, KInstance const*)
qInstallMsgHandler(void (*)(QtMsgType, char const*))
<snip>
In directory
`/home/sharky/tmp/kdevelop3-3.3.0/obj-i486-linux-gnu/languages/perl':
libkdevperlsupport.la needs :
$(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO)
kio_perldoc.la needs :
$(LIB_QT) $(LIB_KDECORE)
------
Note : - libraries are listed in the order they are specified in $all_libs.
- "unknown undefined references" means that there is no rule in
$all_libs to figure out the missing library
- this script is work in progress!
Cheers,
Jeremy
--
http://www.jerryweb.org/ : JerryWeb.org
http://sailcut.sourceforge.net/ : Sailcut CAD
http://opensource.polytechnique.org/ : Polytechnique.org Free Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: find-missing-libs.pl
Type: text/x-perl
Size: 5743 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20060118/08467ff3/find-missing-libs.pl
More information about the pkg-kde-talk
mailing list