[Uim-bugs] [Bug 18190] New: uim-1.5.3 can't compile with qt4-immodule

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 23 11:13:09 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18190

           Summary: uim-1.5.3 can't compile with qt4-immodule
           Product: UIM
           Version: unspecified
          Platform: Other
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: bridge: Qt
        AssignedTo: uim-bugs at freedesktop.org
        ReportedBy: yamajun at ofug.net


Created an attachment (id=19829)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=19829)
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.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the uim-bugs mailing list