[Kst] kst2.0 beta 3 tarball

D. V. Wiebe dvw at ketiltrout.net
Sat Oct 3 00:43:05 CEST 2009


On Fri, Oct 02, 2009 at 02:27:04PM -0400, Barth Netterfield wrote:
> Just to be confusing, under ubuntu, with the kst1.x libraries installed in 
> /usr/lib, everything works fine. 
> 
> Boh?
> 
> cbn

I think it's the same problem I reported with beta2: qmake, for whatever
reason, insists on including /usr/X11R6/lib in the list of explicit
includes.  Under slackware, /usr/X11R6/lib is a symbolic link to
/usr/lib.  So, in the makefile I find:

LIBS          = $(SUBLIBS)  -L/usr/lib/qt/lib -L/usr/X11R6/lib
-L/mnt/sda2/dvw/tmp/2.0.0-beta3/kst/build/lib
-L/mnt/sda2/dvw/tmp/2.0.0-beta3/kst/build/plugin -lkst -lkstmath
-lkstwidgets -lkstapp -lQtTest -L/usr/lib/qt/lib -pthread -pthread
-lQtSvg -L/usr/X11R6/lib -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -lQt3Support -lQtSql -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -lQtXml -pthread -pthread -lQtOpenGL -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -lQtGui -pthread
-lpng -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender
-lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm
-pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lGLU -lGL -lpthread

which tells gcc to look in /usr/X11R6/lib (ie. /usr/lib) for libraries
before looking in the build directory, ie.
/mnt/sda2/dvw/tmp/2.0.0-beta3/kst/build/lib .  As a consequence, the
kst1 libraries, installed in /usr/lib are used in preference to the
libraries in the build directory.

One solution might be to move the build directory -L's to the front of
LIBS.  I would argue a better solution would be to convince qmake not to
explicitly add library paths to the command line for libraries which are
already in the default ld search path.

Cheers,
-dvw

> On October 1, 2009 10:08:21 pm Barth Netterfield wrote:
> > OK... so if kst1.x is not installed, it all builds fine.
> > 
> > If 1.x is then installed, everything still works fine.  The problems comes
> > when building.
> > 
> > Everything works fine in SuSe, however - I think because it puts the kde3
> > stuff off in /opt/kde3, where the build system doesn't look.
> > 
> > ideas?
> > cbn
> > 
> > On Thursday 01 October 2009 21:16:35 Barth Netterfield wrote:
> > > Argggg!!
> > >
> > > Its picking up the kst1 libraries.
> > >
> > > I can't figure out how to stop this.  A brute force approach is to change
> > >  the names of them all to, eg, libkst2math.so, etc.
> > >
> > > BUT that is what library version numbers are supposed to be for!
> > >
> > > Hmmm....  I need to ask around.
> > >
> > > cbn
> > >
> > > On Thursday 01 October 2009 16:36:47 D. V. Wiebe wrote:
> > > > On Thu, Oct 01, 2009 at 03:38:12PM -0400, Barth Netterfield wrote:
> > > > > a Kst2 beta 3 tarball can be downloaded for quick testing by
> > > > > packagers at
> > > > >
> > > > > http://galadriel.astro.utoronto.ca/kst/kst2.0.0-beta3.tgz
> > > > >
> > > > > I think it is in good shape, we're going to start using it this
> > > > > week...
> > > > >
> > > > > I will upload it to kde in a day or two.
> > > > >
> > > > > cbn
> > > >
> > > > Build error on slackware-current, log attached.
> > > >
> > > > -dvw
> > >
> > > _______________________________________________
> > > Kst mailing list
> > > Kst at kde.org
> > > https://mail.kde.org/mailman/listinfo/kst
> > 
> > _______________________________________________
> > Kst mailing list
> > Kst at kde.org
> > https://mail.kde.org/mailman/listinfo/kst
> > 
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

-- 
Don Wiebe                                   dvw at physics.ubc.ca
Department of Physics and Astronomy
University of British Columbia
6224 Agricultural Road                      Tele: +1-604-822-2585
University Endowment Lands, BC
Canada   V6T 1Z1                            http://ketiltrout.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20091002/bf559b30/attachment.sig 


More information about the Kst mailing list