[Kst] Kst 2.0.0. Beta 1 Release
D. V. Wiebe
dvw at ketiltrout.net
Fri Dec 12 23:14:42 CET 2008
On Fri, Dec 12, 2008 at 04:02:24PM -0500, D. V. Wiebe wrote:
> On Fri, Dec 12, 2008 at 03:02:09PM -0500, Barth Netterfield wrote:
> > Its supposed to, but I have had trouble w/ this on kubuntu Hardy. I have to
> > fully remove kst 1.x to build kst2.
> > I'm wondering if we shouldn't consider using cmake like the rest of KDE,
> > rather than cmake?
> > cbn
> The problem appears to be effectively what Nicolas pointed out. But the
> reason for it is rather nefarious. It is true 1.x versions of
> libkst<foo>.so are installed in /usr/lib/ . However, kst.pri contains
> LIBS += -L$$OUTPUT_DIR/lib -L$$OUTPUT_DIR/plugin
> I would have expected ld to find the libkst<foo> that was just built and
> put in $$OUTPUT_DIR/lib before attempting to find one in the default path
> However (this is the nefarious part), qmake appears to have prepended
> (among other things) "-L/usr/X11R6/lib" to LIBS before the
> -L$$OUTPUT_DIR/lib. This is unfortunate since, in Slackware,
> /usr/X11R6/lib is a symbolic link to /usr/lib, thus forcing ld to
> consider system libraries first, before the local ones.
> I'd argue qmake should only be inserting library paths that aren't
> already in ld's default search path. But I don't know why qmake's
> developers wanted the X11 library directory searched first, so maybe
> there's a reason?
Well, the following allows me to compile kst successfully:
1) run qmake
2) remove all references to /usr/X11R6/lib in the Makefiles created by
However, there are still a few issues with this build:
1) The library paths stored in the ELF header are wrong. That is, they
include the directory in which kst was built, not the place where I'd
like to install it. How do I specify the installation prefix? Or am I
supposed to re-link before installing?
2) "make install" doesn't do anything.
Don Wiebe dwiebe at physics.utoronto.ca
Dept. of Physics/Univ. of Toronto
60 St. George St. Tele: +1-416-946-0946
Toronto ON Fax: +1-416-946-5636
Canada M5S 1A7 http://ketiltrout.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20081212/308e27c0/attachment.sig
More information about the Kst