PDA

View Full Version : Installing Qwt



agupta108
29th November 2012, 23:17
Hello all,

I am trying to install Qwt 6.0.1. I recently moved to a newer OS red hat linux 6.0 (from 5.0) and trying to reinstall qwt 6.0.1. I end up the following errors when I run "make":

...
compiling moc/moc_qwt_thermo.cpp
moc qwt_wheel.h
compiling moc/moc_qwt_wheel.cpp
rm -f libqwt.so.6.0.1 libqwt.so libqwt.so.6 libqwt.so.6.0
linking ../lib/libqwt.so.6.0.1
/usr/bin/ld: cannot find -lgobject-2.0
collect2: ld returned 1 exit status
make[1]: *** [../lib/libqwt.so.6.0.1] Error 1
make[1]: Leaving directory `/biomed-resimg/work/agupta/QWT/qwt-6.0.1/src'
make: *** [sub-src-make_default-ordered] Error 2

I tried searching which packages I may be missing but didn't find anything.

Anyone knows how I can fix this error.

Thanks.

Uwe
30th November 2012, 09:37
Qwt doesn't need any libgobject - this should be something that has been added by qmake as Qt dependency.
Either the generated Makefile or qmake ( probably the complete Qt installation ) is left over from the previous system.

Uwe