Bug 192276

Summary: build fals during linking of kst
Product: [Applications] kst Reporter: Søren Holm <sgh>
Component: generalAssignee: kst
Status: CLOSED NOT A BUG    
Severity: normal CC: netterfield, nicolas.brisset
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Søren Holm 2009-05-11 00:10:53 UTC
Version:           2.0 beta2 (using KDE 4.2.3)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Ubuntu Packages

building kst with the build-kst script yields the following result :

<snip>
make[1]: Entering directory `/home/sgh/Download/kst/build/src/kst'
linking ../../bin/kst
tmp/main.o: In function `main':
main.cpp:(.text+0x2b): undefined reference to `Kst::Application::Application(int&, char**)'
main.cpp:(.text+0x3a): undefined reference to `Kst::Application::~Application()'
main.cpp:(.text+0x56): undefined reference to `Kst::Application::~Application()'
collect2: ld returned 1 exit status
make[1]: *** [../../bin/kst] Error 1
make[1]: Leaving directory `/home/sgh/Download/kst/build/src/kst'
make: *** [sub-src-kst-make_default-ordered] Error 2
Comment 1 Søren Holm 2009-05-17 02:07:33 UTC
Please reply something to this. It has been a month now, and I'm wondering why you developers can build it  without trouble.
Comment 2 Netterfield 2009-05-17 06:35:51 UTC
We haven't yet tried on Ubuntu recently.  What version are you using?

Do you have the qt4 devel packages installed?  If so, what version?

The bug report says you are using Ubuntu packages.  Do you mean the tarball downloaded from kst.kde.org?  The bug report says you have been waiting for a month, but the beta has only been out for a week.  Are you using the latest beta (beta2)?

Do you have kst1.x installed in parallel? (This might cause problems.  It did when I was using Hardy).

Can you include the entire build log?

thanks!
Comment 3 Søren Holm 2009-05-17 17:08:28 UTC
Hey netterfield :D

Uninstalling kst 1.7 was exactly what was needed. It compiled clean after that.
Could you by any change telle how to change the decimalpoint on ascii file from "," to "."
Comment 4 Nicolas Brisset 2009-05-18 08:27:15 UTC
I am closing this bug as INVALID, since the solution is known (and now documented). I don't know what we can do about this, it may become a problem for distro packagers? 
FYI Soren, to read in ASCII files with values like 2.867537 correctly on a machine with German locale, I do "export LC_NUMERIC=C" before starting kst. This works but it still needs to be made easier, I agree :-)