QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1031|回复: 2

skim-1.4.2安装出错

[复制链接]
发表于 2005-8-29 20:59:35 | 显示全部楼层 |阅读模式
[root@localhost skim-1.4.2]# ./configure
Checking for Python               :  /usr/bin/python
Checking for SCons                :  Use Bundled scons.
Checking for kde-config           :  kde-config was found
Checking for kde version          :  3.2.1
Checking for the qt library       :  qt is in /usr/lib/qt-3.3
Checking for uic                  :  uic was found as /usr/lib/qt-3.3/bin/uic
Checking for moc                  :  moc was found as /usr/lib/qt-3.3/bin/moc
Checking for the qt includes      :  ok /usr/lib/qt-3.3/include/
Checking for the kde includes     :  ok /usr/include
Checking for pkg-config           :  Found
Checking for scim >= 1.3.3 ...  Found
Checking for scim-x11utils ...  Found
[root@localhost skim-1.4.2]# ./scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
meinproc --check --cache doc/de/index.cache.bz2 doc/de/index.docbook
meinproc --check --cache doc/en/index.cache.bz2 doc/en/index.docbook
dcopidl plugins/compmgrclient/compmgrclient.h > plugins/compmgrclient/compmgrclient.kidl || (rm -f plugins/compmgrclient/compmgrclient.kidl ; false)
/usr/lib/qt-3.3/bin/moc -o plugins/compmgrclient/compmgrclient.moc plugins/compmgrclient/compmgrclient.h
processing scimkdesettings.kcfgc to get scimkdesettings.h and scimkdesettings.cpp
kconfig_compiler -dutils utils/scimkdeconfig.kcfg utils/scimkdesettings.kcfgc
g++ -DNO_CONFIG_H -I/usr/include/scim-1.0 -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compmgrclient.os plugins/compmgrclient/compmgrclient.cpp
dcopidl2cpp --c++-suffix cpp --no-signals --no-stub plugins/compmgrclient/compmgrclient.kidl
g++ -DNO_CONFIG_H -I/usr/include/scim-1.0 -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compmgrclient_skel.os plugins/compmgrclient/compmgrclient_skel.cpp
uic_processing(["plugins/compmgrclient/compositemanagerbase.h", "plugins/compmgrclient/compositemanagerbase.cpp", "plugins/compmgrclient/compositemanagerbase.moc"], ["plugins/compmgrclient/compositemanagerbase.ui"])
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -o plugins/compmgrclient/compositemanagerbase.h plugins/compmgrclient/compositemanagerbase.ui
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -tr tr2i18n -impl plugins/compmgrclient/compositemanagerbase.h plugins/compmgrclient/compositemanagerbase.ui >> plugins/compmgrclient/compositemanagerbase.cpp
/usr/lib/qt-3.3/bin/moc -o plugins/compmgrclient/compositemanagerbase.moc plugins/compmgrclient/compositemanagerbase.h
g++ -DNO_CONFIG_H -I/usr/include/scim-1.0 -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compositemanagerbase.os plugins/compmgrclient/compositemanagerbase.cpp
/usr/lib/qt-3.3/bin/moc -o plugins/compmgrclient/compositemanagerconfig.moc plugins/compmgrclient/compositemanagerconfig.h
g++ -DNO_CONFIG_H -I/usr/include/scim-1.0 -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compositemanagerconfig.os plugins/compmgrclient/compositemanagerconfig.cpp
/usr/lib/qt-3.3/bin/moc -o src/socketserverthread.moc src/socketserverthread.h
g++ -DNO_CONFIG_H -DVERSION=\"1.4.2\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.0\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/socketserverthread.os src/socketserverthread.cpp
/usr/lib/qt-3.3/bin/moc -o src/skimpluginmanager.moc src/skimpluginmanager.h
g++ -DNO_CONFIG_H -DVERSION=\"1.4.2\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.0\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/skimpluginmanager.os src/skimpluginmanager.cpp
/usr/lib/qt-3.3/bin/moc -o src/scimhelpdialog.moc src/scimhelpdialog.h
g++ -DNO_CONFIG_H -DVERSION=\"1.4.2\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.0\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/scimhelpdialog.os src/scimhelpdialog.cpp
/usr/lib/qt-3.3/bin/moc -o src/skimglobalactions.moc src/skimglobalactions.h
g++ -DNO_CONFIG_H -DVERSION=\"1.4.2\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.0\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/skimglobalactions.os src/skimglobalactions.cpp
/usr/lib/qt-3.3/bin/moc -o src/skimplugin.moc src/skimplugin.h
g++ -DNO_CONFIG_H -DVERSION=\"1.4.2\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.0\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/skimplugin.os src/skimplugin.cpp
/usr/lib/qt-3.3/bin/moc -o src/skimkeygrabber.moc src/skimkeygrabber.h
g++ -DNO_CONFIG_H -DVERSION=\"1.4.2\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.0\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/skimkeygrabber.os src/skimkeygrabber.cpp
g++ -Wl,--rpath=/usr/lib/qt-3.3/lib -Wl,--rpath=/usr/lib/kde3 -Wl,--rpath=/usr/lib -lscim-1.0 -L/usr/X11R6/lib -lscim-x11utils-1.0 -lX11 -Wl,--soname=libskim.so.0 -shared -o src/libskim.so.0.1.0 src/socketserverthread.os src/skimpluginmanager.os src/scimhelpdialog.os src/skimglobalactions.os src/skimplugin.os src/skimkeygrabber.os -L/usr/lib -L/usr/lib/qt-3.3/lib -lqt-mt -lkdecore -lkdeui -lkutils
cd src && rm -f libskim.so && ln -s libskim.so.0.1.0 libskim.so
g++ -DNO_CONFIG_H -I/usr/include -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION-I. -Iutils -c -o utils/scimkdesettings.os utils/scimkdesettings.cpp
utils/scimkdesettings.cpp: In constructor `ScimKdeSettings::ScimKdeSettings()':
utils/scimkdesettings.cpp:106: error: expected `)' before "Always"
utils/scimkdesettings.cpp:139: error: expected `)' before "Use"
utils/scimkdesettings.cpp:139:245: warning: character constant too long for itstype
utils/scimkdesettings.cpp:147: error: expected `)' before "from"
utils/scimkdesettings.cpp:174: error: missing terminating " character
utils/scimkdesettings.cpp:175: error: `nment' undeclared (first use this function)
utils/scimkdesettings.cpp:175: error: (Each undeclared identifier is reported only once for each function it appears in.)
utils/scimkdesettings.cpp:175: error: missing terminating " character
scons: *** [utils/scimkdesettings.os] Error 1
scons: building terminated because of errors.
请告知才能安装成功。
 楼主| 发表于 2005-9-5 20:48:08 | 显示全部楼层
   没人知道原因吗?     
编译环境为红旗linux5.0快照版
回复

使用道具 举报

发表于 2005-9-10 07:33:20 | 显示全部楼层
据我所知,红旗linux5.0快照版 默认使用的就是 改造 过的 skim

红旗的KDE 是一个经过 cjacker "混合"的一个版本,如果你想自己编译的话,很可能会出问题,而且根据你给出的错误,看上去就是因为 kdelibs 引起的

to cjacker: 正如我建议过的,还是使用KDE 的stable release,而不是自己“另起炉灶”,否则的话,连源代码级别的兼容都成问题了,更不用说二进制级别的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-9 00:09 , Processed in 0.042115 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表