Thank you Eren.Turkay,
finally configure script worked. I wrote first
sudo su and then
./configure --prefix=/usr and done. After that I did
make but it gave me an error after some time. Below is the error generated by the
make :
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H - I. -I. -I../.. -I./.. -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -W conversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmi ssing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno -common -MT smokedata.lo -MD -MP -MF ".deps/smokedata.Tpo" \
-c -o smokedata.lo `test -f 'smokedata.cpp' || echo './'`smokedata.cpp ; \
then mv -f ".deps/smokedata.Tpo" ".deps/smokedata.Plo"; \
else rm -f ".deps/smokedata.Tpo"; exit 1; \
fi
make[3]: *** No rule to make target `x_1.lo', needed by `libsmokeqt.la'. Stop.
make[3]: Leaving directory `/usr/src/qtruby-1.0.13/smoke/qt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/qtruby-1.0.13/smoke'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/qtruby-1.0.13'
make: *** [all] Error 2