Bug#665750: qwtplot3d: FTBFS against Qt 4.8

Felix Geyer debfx-pkg at fobos.de
Sun Mar 25 17:35:06 UTC 2012


Source: qwtplot3d
Version: 0.2.7+svn191-5
Tags: patch
User: debian-qt-kde at lists.debian.org
Usertags: qt48-transition

Hi,

Your package fails to build against Qt 4.8 which is currently in experimental.
The transition to unstable/testing is tracked in bug #653903.

I'm attaching a patch that contains the necessary changes.
It can be applied even before Qt 4.8 enters unstable.

Build log:

> g++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_OPENGL_LIB -DQT_GUI_LIB
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Iinclude
> -I/usr/X11R6/include -Itmp -o tmp/qwt3d_axis.o src/qwt3d_axis.cpp
> In file included from include/qwt3d_types.h:26:0,
>                  from include/qwt3d_drawable.h:7,
>                  from include/qwt3d_label.h:10,
>                  from include/qwt3d_axis.h:5,
>                  from src/qwt3d_axis.cpp:1:
> include/qwt3d_openglhelper.h: In function 'const GLubyte* Qwt3D::gl_error()':
> include/qwt3d_openglhelper.h:67:31: error: 'gluErrorString' was not declared in this scope
> include/qwt3d_openglhelper.h: In function 'bool Qwt3D::ViewPort2World(double&, double&, double&,
> double, double, double)':
> include/qwt3d_openglhelper.h:104:97: error: 'gluUnProject' was not declared in this scope
> include/qwt3d_openglhelper.h: In function 'bool Qwt3D::World2ViewPort(double&, double&, double&,
> double, double, double)':
> include/qwt3d_openglhelper.h:120:95: error: 'gluProject' was not declared in this scope
> make[1]: *** [tmp/qwt3d_axis.o] Error 1

Regards,
Felix

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_glu_include.patch
Type: text/x-patch
Size: 215 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120325/c59fef95/attachment.bin>


More information about the debian-science-maintainers mailing list