if [ N = 'Y' ]; then make -C qt-im; fi if [ Y = 'Y' ]; then make -C qt4-im; fi make[2]: Entering directory `/home/winlin/gcin-2.8.5/qt4-im' Makefile:38: .depend: No such file or directory gcc -g -O -I../im-client -I/usr/include/X11 `pkg-config QtCore QtGui --cflags` -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT4 -DQT_SHARED -DQT_IMMODULE -DPIC -MM *.cpp > .depend make[2]: Leaving directory `/home/winlin/gcin-2.8.5/qt4-im' make[2]: Entering directory `/home/winlin/gcin-2.8.5/qt4-im' /usr/share/qt4/bin/moc gcin-qt.h -o moc_gcin-qt.cpp gcc -g -O -I../im-client -I/usr/include/X11 `pkg-config QtCore QtGui --cflags` -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT4 -DQT_SHARED -DQT_IMMODULE -DPIC -c -o moc_gcin-qt.o moc_gcin-qt.cpp gcc -g -O -I../im-client -I/usr/include/X11 `pkg-config QtCore QtGui --cflags` -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT4 -DQT_SHARED -DQT_IMMODULE -DPIC -c -o gcin-qt.o gcin-qt.cpp gcc -g -O -I../im-client -I/usr/include/X11 `pkg-config QtCore QtGui --cflags` -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT4 -DQT_SHARED -DQT_IMMODULE -DPIC -c -o im-gcin-qt.o im-gcin-qt.cpp gcc -g -O -I../im-client -I/usr/include/X11 `pkg-config QtCore QtGui --cflags` -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT4 -DQT_SHARED -DQT_IMMODULE -DPIC -c -o gcin-imcontext-qt.o gcin-imcontext-qt.cpp gcin-imcontext-qt.cpp: In member function ‘void GCINIMContext::update_preedit()’: gcin-imcontext-qt.cpp:98:15: warning: the compiler can assume that the address of ‘palette’ will never be NULL [-Waddress] if (&palette==NULL) ^ export LD_RUN_PATH=/usr/lib/gcin ;\ gcc -Wl,-rpath,/usr/lib/gcin -fno-exceptions -shared -o im-gcin.so moc_gcin-qt.o gcin-qt.o im-gcin-qt.o gcin-imcontext-qt.o -L../im-client -lgcin-im-client `pkg-config QtCore QtGui --libs` rm -f core.* make[2]: Leaving directory `/home/winlin/gcin-2.8.5/qt4-im' if [ Y = 'Y' ]; then make -C qt5-im; fi make[2]: Entering directory `/home/winlin/gcin-2.8.5/qt5-im' Makefile:48: .depend: No such file or directory gcc -g -O -I../im-client -I/usr/include/X11 `pkg-config Qt5Core Qt5Gui Qt5PlatformSupport QtDBus --cflags` -I`pkg-config --variable=includedir Qt5Gui`/QtGui/`pkg-config --modversion Qt5Gui`/QtGui -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT5 -DQT_SHARED -DQT_IMMODULE -DPIC -DDEBUG="00" -MM *.cpp > .depend Package Qt5PlatformSupport was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5PlatformSupport.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5PlatformSupport' found make[2]: Leaving directory `/home/winlin/gcin-2.8.5/qt5-im' make[2]: Entering directory `/home/winlin/gcin-2.8.5/qt5-im' /usr/lib/i386-linux-gnu/qt5/bin/moc gcin-qt5.h -o moc_gcin-qt5.cpp gcc -g -O -I../im-client -I/usr/include/X11 `pkg-config Qt5Core Qt5Gui Qt5PlatformSupport QtDBus --cflags` -I`pkg-config --variable=includedir Qt5Gui`/QtGui/`pkg-config --modversion Qt5Gui`/QtGui -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT5 -DQT_SHARED -DQT_IMMODULE -DPIC -DDEBUG="00" -c -o moc_gcin-qt5.o moc_gcin-qt5.cpp Package Qt5PlatformSupport was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5PlatformSupport.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5PlatformSupport' found In file included from gcin-qt5.h:3:0, from moc_gcin-qt5.cpp:9: /usr/include/i386-linux-gnu/qt5/QtGui/5.7.1/QtGui/qpa/qplatforminputcontextplugin_p.h:54:28: fatal error: QtCore/qplugin.h: No such file or directory #include ^ compilation terminated. make[2]: *** [moc_gcin-qt5.o] Error 1 make[2]: Leaving directory `/home/winlin/gcin-2.8.5/qt5-im' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/winlin/gcin-2.8.5' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2