|
楼主 |
发表于 2002-9-4 20:02:14
|
显示全部楼层
整个问题应该是这样
下载了gWuBi-1.0.tar.gz文件,按说明里面的第二种方法安装,就象这里一个贴所说的一样,图标始终不出来!
安装过程如下:
[root@localhost root]# cd/temp
bash: cd/temp: No such file or directory
[root@localhost root]# cd /temp
[root@localhost temp]# ls
gWuBi-1.0.tar.gz
[root@localhost temp]# tar zxvf gWuBi-1.0.tar.gz
gWuBi-1.0/
gWuBi-1.0/IC.c
gWuBi-1.0/IC.h
gWuBi-1.0/py.c
gWuBi-1.0/py.h
gWuBi-1.0/ui.c
gWuBi-1.0/ui.h
gWuBi-1.0/punc.mb
gWuBi-1.0/Makefile
gWuBi-1.0/IMdkit/
gWuBi-1.0/IMdkit/lib/
gWuBi-1.0/IMdkit/lib/FrameMgr.c
gWuBi-1.0/IMdkit/lib/FrameMgr.h
gWuBi-1.0/IMdkit/lib/i18nX.c
gWuBi-1.0/IMdkit/lib/Makefile
gWuBi-1.0/IMdkit/lib/Xi18nX.h
gWuBi-1.0/IMdkit/lib/IMValues.c
gWuBi-1.0/IMdkit/lib/IMConn.c
gWuBi-1.0/IMdkit/lib/i18nIc.c
gWuBi-1.0/IMdkit/lib/i18nMethod.c
gWuBi-1.0/IMdkit/lib/IMMethod.c
gWuBi-1.0/IMdkit/lib/i18nAttr.c
gWuBi-1.0/IMdkit/lib/i18nClbk.c
gWuBi-1.0/IMdkit/lib/i18nIMProto.c
gWuBi-1.0/IMdkit/lib/i18nPtHdr.c
gWuBi-1.0/IMdkit/lib/XimFunc.h
gWuBi-1.0/IMdkit/lib/i18nUtil.c
gWuBi-1.0/IMdkit/lib/Xi18nTr.h
gWuBi-1.0/IMdkit/Makefile
gWuBi-1.0/IMdkit/include/
gWuBi-1.0/IMdkit/include/Xi18n.h
gWuBi-1.0/IMdkit/include/XimProto.h
gWuBi-1.0/IMdkit/include/IMdkit.h
gWuBi-1.0/studio-song14.pcf.gz
gWuBi-1.0/py.mb
gWuBi-1.0/xim.c
gWuBi-1.0/xim.h
gWuBi-1.0/qw-0.xpm
gWuBi-1.0/qw-1.xpm
gWuBi-1.0/qw-2.xpm
gWuBi-1.0/quwei.c
gWuBi-1.0/quwei.h
gWuBi-1.0/README
gWuBi-1.0/g5config/
gWuBi-1.0/g5config/Makefile.dist
gWuBi-1.0/g5config/admin/
gWuBi-1.0/g5config/admin/Doxyfile.global
gWuBi-1.0/g5config/admin/depcomp
gWuBi-1.0/g5config/admin/Makefile.common
gWuBi-1.0/g5config/admin/ltmain.sh
gWuBi-1.0/g5config/admin/config.pl
gWuBi-1.0/g5config/admin/configure.in.min
gWuBi-1.0/g5config/admin/config.guess
gWuBi-1.0/g5config/admin/acinclude.m4.in
gWuBi-1.0/g5config/admin/install-sh
gWuBi-1.0/g5config/admin/config.sub
gWuBi-1.0/g5config/admin/missing
gWuBi-1.0/g5config/admin/mkinstalldirs
gWuBi-1.0/g5config/admin/cvs.sh
gWuBi-1.0/g5config/admin/conf.change.pl
gWuBi-1.0/g5config/admin/am_edit
gWuBi-1.0/g5config/admin/libtool.m4.in
gWuBi-1.0/g5config/admin/ylwrap
gWuBi-1.0/g5config/admin/cvs-clean.pl
gWuBi-1.0/g5config/admin/debianrules
gWuBi-1.0/g5config/admin/detect-autoconf.sh
gWuBi-1.0/g5config/admin/ChangeLog
gWuBi-1.0/g5config/admin/Doxyfile.am
gWuBi-1.0/g5config/g5config/
gWuBi-1.0/g5config/g5config/main.cpp
gWuBi-1.0/g5config/g5config/fmg5config.ui.h
gWuBi-1.0/g5config/g5config/SetEnv.ui
gWuBi-1.0/g5config/g5config/Makefile.am
gWuBi-1.0/g5config/g5config/Makefile.in
gWuBi-1.0/g5config/g5config/fmg5config.ui
gWuBi-1.0/g5config/g5config/SetEnv.ui.h
gWuBi-1.0/g5config/configure.in
gWuBi-1.0/g5config/subdirs
gWuBi-1.0/g5config/Makefile.am
gWuBi-1.0/g5config/Makefile.in
gWuBi-1.0/g5config/config.h.in
gWuBi-1.0/g5config/stamp-h.in
gWuBi-1.0/g5config/AUTHORS
gWuBi-1.0/g5config/INSTALL
gWuBi-1.0/g5config/g5config.kdevses
gWuBi-1.0/g5config/COPYING
gWuBi-1.0/gWuBi.c
gWuBi-1.0/gWuBi.h
gWuBi-1.0/engPunc.xpm
gWuBi-1.0/chnPunc.xpm
gWuBi-1.0/tools.c
gWuBi-1.0/tools.h
gWuBi-1.0/gWuBi.xpm
gWuBi-1.0/fullcorner.xpm
gWuBi-1.0/gWuBi.spec
gWuBi-1.0/prev.xpm
gWuBi-1.0/wb-0.xpm
gWuBi-1.0/wb-1.xpm
gWuBi-1.0/wb-2.xpm
gWuBi-1.0/wbx.mb
gWuBi-1.0/wb_fh.htm
gWuBi-1.0/next.xpm
gWuBi-1.0/INSTALL
gWuBi-1.0/halfcorner.xpm
gWuBi-1.0/addphrase.c
gWuBi-1.0/addphrase.h
gWuBi-1.0/py-0.xpm
gWuBi-1.0/py-1.xpm
gWuBi-1.0/py-2.xpm
gWuBi-1.0/version.h
[root@localhost temp]# cd gWuBi-1.0
[root@localhost gWuBi-1.0]# make
cd IMdkit/lib; make
make[1]: Entering directory `/temp/gWuBi-1.0/IMdkit/lib'
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include IMConn.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include IMValues.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include IMMethod.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include FrameMgr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nIMProto.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nAttr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nMethod.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nUtil.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nPtHdr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nIc.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nClbk.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nX.c
ar clq libXimd.a IMConn.o IMValues.o IMMethod.o FrameMgr.o i18nIMProto.o i18nAttr.o i18nMethod.o i18nUtil.o i18nPtHdr.o i18nIc.o i18nClbk.o i18nX.o
ranlib libXimd.a
make[1]: Leaving directory `/temp/gWuBi-1.0/IMdkit/lib'
gcc -c -O2 -fno-strength-reduce -I../include -I/usr/X11R6/include gWuBi.c
gcc -c -O2 -fno-strength-reduce -I../include -I/usr/X11R6/include ui.c
gcc -c -O2 -fno-strength-reduce -I../include -I/usr/X11R6/include xim.c
gcc -c -O2 -fno-strength-reduce -I../include -I/usr/X11R6/include IC.c
gcc -c -O2 -fno-strength-reduce -I../include -I/usr/X11R6/include tools.c
gcc -c -O2 -fno-strength-reduce -I../include -I/usr/X11R6/include addphrase.c
gcc -c -O2 -fno-strength-reduce -I../include -I/usr/X11R6/include py.c
gcc -c -O2 -fno-strength-reduce -I../include -I/usr/X11R6/include quwei.c
gcc -O2 -fno-strength-reduce -L/usr/X11R6/lib -lX11 gWuBi.o ui.o xim.o IC.o tools.o addphrase.o py.o quwei.o IMdkit/lib/libXimd.a -o gWuBi
cd g5config;make || (make -f Makefile.dist && ./configure && make)
make[1]: Entering directory `/temp/gWuBi-1.0/g5config'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/temp/gWuBi-1.0/g5config'
make[1]: Entering directory `/temp/gWuBi-1.0/g5config'
This Makefile is only for the CVS repository
This will be deleted before making the distribution
make[2]: Entering directory `/temp/gWuBi-1.0/g5config'
*** Creating acinclude.m4
make[3]: Entering directory `/temp/gWuBi-1.0/g5config'
make[3]: Leaving directory `/temp/gWuBi-1.0/g5config'
*** Creating aclocal.m4
*** Creating configure
configure.in:26: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:63: warning: do not use m4_regexp: use regexp or m4_bregexp
*** Creating config.h template
autoheader-2.53: `config.h.in' is unchanged
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
Don't forget to run ./configure
If you haven't done so in a while, run ./configure --help
make[2]: Leaving directory `/temp/gWuBi-1.0/g5config'
make[1]: Leaving directory `/temp/gWuBi-1.0/g5config'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wbad-function-cast... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking for res_init... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... libraries /usr/lib/qt3-gcc2.96/lib, headers /usr/lib/qt3-gcc2.96/include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/lib/qt3-gcc2.96/bin/moc
checking for uic... /usr/lib/qt3-gcc2.96/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking if admin should be compiled... no
checking if autom4te-2.53.cache should be compiled... yes
./configure: autom4te_2.53.cache_SUBDIR_included=yes: command not found
checking if g5config should be compiled... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating g5config/Makefile
config.status: creating config.h
config.status: executing default-1 commands
make[1]: Entering directory `/temp/gWuBi-1.0/g5config'
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
make[2]: Entering directory `/temp/gWuBi-1.0/g5config'
Making all in g5config
make[3]: Entering directory `/temp/gWuBi-1.0/g5config/g5config'
/usr/lib/qt3-gcc2.96/bin/uic -L @kde_widgetdir@ -nounload -o SetEnv.h ./SetEnv.ui
/usr/lib/qt3-gcc2.96/bin/uic -L @kde_widgetdir@ -nounload -o fmg5config.h ./fmg5config.ui
source='main.cpp' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3-gcc2.96/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o main.o `test -f main.cpp || echo './'`main.cpp
/usr/lib/qt3-gcc2.96/bin/moc SetEnv.h -o SetEnv.moc
rm -f SetEnv.cpp
/usr/lib/qt3-gcc2.96/bin/uic -L @kde_widgetdir@ -nounload -i SetEnv.h ./SetEnv.ui > SetEnv.cpp || rm -f SetEnv.cpp
echo '#include "SetEnv.moc"' >> SetEnv.cpp
source='SetEnv.cpp' object='SetEnv.o' libtool=no \
depfile='.deps/SetEnv.Po' tmpdepfile='.deps/SetEnv.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3-gcc2.96/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o SetEnv.o `test -f SetEnv.cpp || echo './'`SetEnv.cpp
/usr/lib/qt3-gcc2.96/bin/moc fmg5config.h -o fmg5config.moc
rm -f fmg5config.cpp
/usr/lib/qt3-gcc2.96/bin/uic -L @kde_widgetdir@ -nounload -i fmg5config.h ./fmg5config.ui > fmg5config.cpp || rm -f fmg5config.cpp
echo '#include "fmg5config.moc"' >> fmg5config.cpp
source='fmg5config.cpp' object='fmg5config.o' libtool=no \
depfile='.deps/fmg5config.Po' tmpdepfile='.deps/fmg5config.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3-gcc2.96/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o fmg5config.o `test -f fmg5config.cpp || echo './'`fmg5config.cpp
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -o g5config -L/usr/X11R6/lib -L/usr/lib/qt3-gcc2.96/lib main.o SetEnv.o fmg5config.o -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv
make[3]: Leaving directory `/temp/gWuBi-1.0/g5config/g5config'
make[3]: Entering directory `/temp/gWuBi-1.0/g5config'
make[3]: Leaving directory `/temp/gWuBi-1.0/g5config'
make[2]: Leaving directory `/temp/gWuBi-1.0/g5config'
make[1]: Leaving directory `/temp/gWuBi-1.0/g5config'
[root@localhost gWuBi-1.0]# make install
strip gWuBi
strip g5config/g5config/g5config
mkdir -p /usr/share/gWuBi
cp -f gWuBi /usr/bin/
cp -f g5config/g5config/g5config /usr/bin
cp -f punc.mb /usr/share/gWuBi/
cp -f wbx.mb /usr/share/gWuBi/
cp -f py.mb /usr/share/gWuBi/
cp -f studio-song14.pcf.gz /usr/X11R6/lib/X11/fonts/misc
cd /usr/X11R6/lib/X11/fonts/misc
mkfontdir
[root@localhost gWuBi-1.0]#
而下载rpm包用第一种方法安装,出现图标却不能使用!
用g5config设置,也不知道应该改什么地方,反正随便改了一两处无关紧要的地方,还是不行! |
|