On 2012-08-10 17:45, Patrick Dupre wrote:
Hello,
Severql persons asked for qtiplot working with fedora 16.
I recompiled and installed (from src.fc16) EmfEngine.spec liborigin2.spec QTeXEngine.spec
Unfortunately whenI try to compile qtiplot (rpmbuild -bb qtiplot.spec) from (qtiplot-0.9.8.3-1.fc15.src.rpm), I get:
mv -f libqwt.a ../lib/ make[2]: Leaving directory `/home/pdupre/rpmbuild/BUILD/qtiplot-0.9.8.3/3rdparty/qwt/src' make[1]: Leaving directory `/home/pdupre/rpmbuild/BUILD/qtiplot-0.9.8.3/3rdparty/qwt' error: Bad exit status from /var/tmp/rpm-tmp.SgU2TC (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SgU2TC (%build)
It means that the compilation seems OK, but just the build fails.
Any idea?
At least there is onne compilation error:
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -fPIC -D_REENTRANT -Wall -W -DQTIPLOT_PRO -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -Imoc -o obj/qwt_interval_data.o qwt_interval_data.cpp In file included from include/qwt3d_types.h:26:0, from include/qwt3d_extglwidget.h:4, from src/qwt3d_extglwidget.cpp:7: 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 In file included from include/qwt3d_types.h:26:0, from include/qwt3d_extglwidget.h:4, from src/qwt3d_extglwidget.cpp:7: 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]: *** [lib/tmp/qwt3d_extglwidget.o] Error 1 make[1]: Leaving directory `/home/pdupre/rpmbuild/BUILD/qtiplot-0.9.8.3/3rdparty/qwtplot3d' make: *** [sub-3rdparty-qwtplot3d-make_default] Error 2 make: g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -fPIC -D_REENTRANT -Wall -W -DQTIPLOT_PRO -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -Imoc -o obj/qwt_legend.o qwt_legend.cpp
A dependency is probably missing, but which one?