Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14706 - qtiplot, qwt 5.0.2

Attached to Project: Arch Linux
Opened by Daniel Boff (dan.boff) - Wednesday, 13 May 2009, 08:56 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 14 May 2009, 11:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

qtiplot 0.9.7.4-2 needs a rebuild, since x86_64 now ships with qwt 5.0.2.
Right now opening projects doesn't work. the error message is:

qtiplot: symbol lookup error: qtiplot: undefined symbol: _ZNK14QwtScaleEngine8hiMarginEv

thanks in advance,
Daniel

This task depends upon

Closed by  Ronald van Haren (pressh)
Thursday, 14 May 2009, 11:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in qtiplot 0.9.7.7-1
Comment by Ronald van Haren (pressh) - Wednesday, 13 May 2009, 11:47 GMT
I'll have a look at it. I'll give qtiplot 0.9.7.7 another try this afternoon after failing twice to get it building. If it doesn't work I'll just rebuild 0.9.7.4
Comment by Ronald van Haren (pressh) - Wednesday, 13 May 2009, 16:31 GMT
it may take a bit longer, 0.9.7.4 seems to be incompatible with qwt5.
0.9.7.7 fails upon some weird muparser error but I have not yet been able to catch the actual error message (it may be related to patching ScriptEdit.cpp but I'm not sure yet).
Comment by Daniel Boff (dan.boff) - Wednesday, 13 May 2009, 21:09 GMT
Hi!
I just tried it myself, in ScriptEdit.cpp line 294, change #elif to #else, but it still doesn't compile for me, because of some missing libs
Comment by Ronald van Haren (pressh) - Wednesday, 13 May 2009, 21:38 GMT
Hi!
yes I tried that, with and without '#' before 'else' as well as a few other ways, but it always errors a few minutes after it passes that function so I have no idea if it is related, it happens so fast I can't catch the actual error.
Maybe you have more luck, I've uploaded a source archive of the current state if you like to try:
http://dev.archlinux.org/~ronald/source/qtiplot-0.9.7.7-1.src.tar.gz
Comment by Daniel Boff (dan.boff) - Wednesday, 13 May 2009, 21:55 GMT
i finally got it working:
I downloaded the sources.
I had to change 3dparty/qwtplot3d/src/qwt3d_function.cpp:
* Add
#include <stdio.h>
using namespace std;
right after #include "qwt3d_function.h"

In qtiplot/src/scripting/ScriptEdit.cpp, line 294
* #elif -> #else

Changes in Makefile:
* I added I/usr/include/qwt to the include path (INCPATH) (so I don't think that the change in qwt3d_function.cpp is actually needed
* In LIBS i replaced everything containing 3dparty with -L/usr/lib -lmuparser -lqwt -lgsl -lgslcblas -lboost_date_time-mt -lboost_thread-mt (which does the same, but I think qtidevelopers forgot some libs)

well, since I got it compiled I could send you my qtiplot bin, I can't upload it here because its about 7mb

Loading...