Created attachment 19829 [details] [review] Patch for compile with Qt4 immodule. I compiled uim-1.5.3 with --with-qt4-immodule option. But it failed at uim-1.5.3/qt4/immodule. Because, g++ can't find uim-1.5.3/replace/.libs/libreplace.a . Build sample at NetBSD: # ./configure --with-qt4-immodule QMAKE4=/usr/pkg/qt4/bin/qmake (snip) # gmake QTDIR=/usr/pkg/qt4 (snip) /usr/pkg/bin/gmake -f Makefile.qmake all gmake[1]: Entering directory `/path/to/uim-1.5.3/qt4/immodule' (snip) libtool --silent --mode=link c++ -avoid-version -rpath /usr/pkg/qt4/plugins/inputmethods -module -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -o libuiminputcontextplugin.la plugin.lo qhelpermanager.lo quiminputcontext.lo quiminputcontext_compose.lo candidatewindow.lo subwindow.lo quiminfomanager.lo qtextutil.lo moc_qhelpermanager.lo moc_quiminputcontext.lo moc_plugin.lo moc_candidatewindow.lo moc_subwindow.lo moc_qtextutil.lo -L/usr/pkg/lib -L/usr/pkgsrc/wip-jp/uim-qt4-immodule/work/uim-1.5.3/uim -L/path/to/uim-1.5.3/replace/.libs -L/path/to/uim-1.5.3/uim/.libs -L/usr/pkg/qt4/lib -lreplace -luim -luim-scm -luim-x-util -pthread -lQt3Support -lQtGui -lQtCore g++: /path/to/uim-1.5.3/replace/.libs/.libs/libreplace.a: No such file or directory How to fix: Add library search path to qt4/immodule/quiminputcontextplugin.pro.in.
Oh, we assume that libtool is not used for QMAKE_LINK_SHLIB for all platforms. But it turn out the assumption is not true, at least with NetBSD pkg's Qt4. Thank you for reporting the problem and the patch. I've just committed your patch into the repository. Next release of uim 1.5.4 will contain this fix.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.