Public bug reported: Binary package hint: python-qwt3d-qt4
This bug is connected with https://bugs.launchpad.net/bugs/342782, as it depends on python-qwt5-qt4. After solving problems described in previous bug (ImportError: /usr/lib/pymodules/python2.6/PyQt4/Qwt5/Qwt.so: undefined symbol: _ZN13QwtLegendItem17setIdentfierWidthEi; I resolved error by using python-qwt5-qt4_5.2.0+dfsg-1~ppa1_i386.deb from Vaclav's PPA), this is the error I got from trying to use python-qwt3d-qt4 package: File "/usr/lib/pymodules/python2.6/PyQt4/Qwt3D/__init__.py", line 30, in <module> from _Qwt3D import * RuntimeError: the sip module implements API v6.0 but the PyQt4.Qwt3D._Qwt3D module requires API v5.0 I downloaded cvs repository for qwtplot3d, tried to compile it according to instructions and got numerous errors. This is how I resolved them (I know this is not the right way to do it, but I don't know how to do it properly): 1. I needed to change configure/configure.py file, line 588 from options.extra_libs.append('qwtplot3d') to options.extra_libs.append('qwtplot3d-qt4') because at the end, after I resolved other errors, I got error from ld saying it cannot find -lqwtplot3d (although package was properly installed with symlink to qwtplot3d-qt4) 2. ./configure.py -I /usr/include/qwtplot3d-qt4/ 3. After this, make failed with: make[1]: Entering directory `/home/zzarko/Programs/pyqwt3d/configure/Qwt3D_Qt4' g++ -c -pipe -fPIC -g -O2 -Os -Wall -W -D_REENTRANT -DNDEBUG -DHAS_NUMERIC -DHAS_NUMPY -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -I. -I/usr/include/qwtplot3d-qt4/ -I/usr/include/python2.6 -I/usr/lib/python2.6/dist-packages/numpy/core/include -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/X11R6/include -o sip_Qwt3Dcmodule.o sip_Qwt3Dcmodule.cpp ../sip/qwt3d_plot.sip: In function ‘const sipTypeDef* sipSubClass_Plot3D(void**)’: ../sip/qwt3d_plot.sip:50: error: invalid conversion from ‘const char*’ to ‘char*’ ../sip/qwt3d_plot.sip:50: error: invalid conversion from ‘const char*’ to ‘char*’ make[1]: *** [sip_Qwt3Dcmodule.o] Error 1 make[1]: Leaving directory `/home/zzarko/Programs/trt/pyqwt3d/configure/Qwt3D_Qt4' make: *** [all] Error 2 Beacuse I don't know how to fix this before configure step, I changed generated file directly. configure/Qwt3D_Qt4/sip_Qwt3Dcmodule.cpp, line 1487, from: {sipName_Plot3D, &sipClass_Plot3D, 1, -1}, {sipName_SurfacePlot, &sipClass_SurfacePlot, -1, -1}, to {(char*)sipName_Plot3D, &sipClass_Plot3D, 1, -1}, {(char*)sipName_SurfacePlot, &sipClass_SurfacePlot, -1, -1}, After this, make goes without further errors. Then, I tried just to install new files over original ones (without uninstalling python-qwt3d-qt4 package) and got the same error about 5.0/6.0 API as before. After that, I uninstalled the package, tried again sudo make install and got this: File "./FSVisio.py", line 27, in <module> from PyQt4.Qwt3D import Function, RGBA, SurfacePlot, BOX, X1, Y1, Z1, TripleField, CellField, Triple, Cell ImportError: No module named Qwt3D I had problems using qwt/qwt3d on Jaunty also, but I was able to solve them using similar approach to this one. After upgrade to Karmic, qwt/qwt3d packages are still broken, but I don't know what to do next. Any help? P.S. I tried also to statically link libqwt3d (using source for qwt3d and ./configure.py -I /usr/include/qwtplot3d-qt4/ -Q ../qwtplot3d-0.2.7/), buth with same results. ** Affects: pyqwt3d (Ubuntu) Importance: Undecided Status: New ** Tags: qwt qwt3d -- Package python-qwt3d broken in Karmic https://bugs.launchpad.net/bugs/478230 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs