|
由于种种原因,不得不从RedHat 转向Fedora,本来打算去电脑城买个盗版,结果没有,只有花了¥55大洋买了个正版,不过感觉很好。回来后发现自带的播放器还是不能播放mp3,所以打算安装之前的xmms,但是出现问题。虽然出错提示的最后一句(configure: error: *** GLIB >= 1.2.2 not installed - please install first ***)写的挺明白,不过还是有点疑惑(本人学习linux不是很久):难道正版的FC5没有带GLIB(虽然我没有搞懂它是用来做什么的....)?是否解决此问题必须去下载相应的东西?如果需要,待下载的东东就叫GLIB>=1.2.2么?
另外,安装zhcon时也有问题,提示也copy下来了,请各位高手帮忙看一下如何解决。
谢谢!!!
一:安装xmms时的提示:
[root@localhost temp]# ls
xmms-1.2.8 xmms-1.2.8.tar.gz zhcon-0.2.3 zhcon-0.2.3.tar.gz
[root@localhost temp]# cd xmms-1.2.8
[root@localhost xmms-1.2.8]# ls
ABOUT-NLS config.log gnomexmms.1.in Makefile.in wmxmms
acconfig.h config.status Input missing wmxmms.1
acinclude.m4 config.sub INSTALL mkinstalldirs wmxmms.1.in
aclocal.m4 configure install-sh NEWS xmms
AUTHORS configure.in intl Output xmms.1
ChangeLog COPYING libtool po xmms.1.in
confdefs.h Effect libxmms README xmms-config
config.cache FAQ ltconfig stamp-h1 xmms-config.in
config.guess General ltmain.sh stamp-h1.in xmms.m4
config.h gnomexmms Makefile TODO xmms.spec
config.h.in gnomexmms.1 Makefile.am Visualization xmms.spec.in
[root@localhost xmms-1.2.8]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for prefix by checking for xmms... (cached) /usr/bin/xmms
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for strerror in -lcposix... (cached) no
checking whether byte ordering is bigendian... (cached) no
checking for inline... (cached) inline
checking for working const... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for pthread.h... (cached) yes
checking for glib-config... (cached) /usr/bin/glib-config
checking for GLIB - version >= 1.2.2... ./configure: line 5942: /usr/bin/glib-config: No such file or directory
./configure: line 5943: /usr/bin/glib-config: No such file or directory
./configure: line 5945: /usr/bin/glib-config: No such file or directory
./configure: line 5947: /usr/bin/glib-config: No such file or directory
./configure: line 5949: /usr/bin/glib-config: No such file or directory
no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB was incorrectly installed
*** or that you have moved GLIB since it was installed. In the latter case, you
*** may want to edit the glib-config script: /usr/bin/glib-config
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
************************************
************************************
二:安装zhcon时的提示:
[root@localhost xmms-1.2.8]# cd ..
[root@localhost temp]# cd zhcon-0.2.3
[root@localhost zhcon-0.2.3]# ls
ABOUT-NLS config.h COPYING install-sh NEWS stamp-h1
acconfig.h config.h.in debian intl po stamp-h.in
aclocal.m4 config.log depcomp Makefile README THANKS
AUTHORS config.status doc Makefile.am README.BSD TODO
bootstrap config.sub font Makefile.in README.gpm tools
ChangeLog configure input missing src
config.guess configure.in INSTALL mkinstalldirs stamp-h
[root@localhost zhcon-0.2.3]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
Linux detected
./configure: line 1696: test: =: unary operator expected
x86 platform detected, compile with VGA support
checking for gawk... (cached) gawk
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 for style of include used by make... GNU
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 how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... no
checking for setenv... no
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... no
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 2.1, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for forkpty in -lutil... yes
checking for main in -lcurses... yes
checking for main in -ldl... yes
checking for main in -lpth... no
checking for main in -limmclient... no
checking for main in -limm_server... no
checking gpm.h usability... yes
checking gpm.h presence... yes
checking for gpm.h... yes
checking for main in -lgpm... yes
checking ggi/ggi.h usability... no
checking ggi/ggi.h presence... no
checking for ggi/ggi.h... no
checking for main in -lggi... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating doc/zhcon.1
config.status: creating debian/Makefile
config.status: creating tools/Makefile
config.status: creating font/Makefile
config.status: creating input/Makefile
config.status: creating src/Makefile
config.status: creating src/display/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configuration:
Target system: i686-pc-linux-gnu
Source code location: .
C++ Compiler: g++
C++ Compiler flags: -funsigned-char -march=i686 -DNDEBUG -Wall
C Compiler: gcc
C Compiler flags: -funsigned-char -march=i686 -DNDEBUG -Wall
VGA support: yes
gpm moues support: yes
libggi support: no
unicon support: no
zhcon binary dir: /usr/local/bin
zhcon files dir: /usr/local/lib/zhcon
Config complete, now type make to build zhcon.
Good Luck!
[root@localhost zhcon-0.2.3]# make
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
config.status: executing default-2 commands
make all-recursive
make[1]: Entering directory `/root/super/temp/zhcon-0.2.3'
Making all in src
make[2]: Entering directory `/root/super/temp/zhcon-0.2.3/src'
Making all in display
make[3]: Entering directory `/root/super/temp/zhcon-0.2.3/src/display'
source='fbdev.cpp' object='fbdev.o' libtool=no \
depfile='.deps/fbdev.Po' tmpdepfile='.deps/fbdev.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fbdev.o `test -f fbdev.cpp || echo './'`fbdev.cpp
source='fblinear15.cpp' object='fblinear15.o' libtool=no \
depfile='.deps/fblinear15.Po' tmpdepfile='.deps/fblinear15.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear15.o `test -f fblinear15.cpp || echo './'`fblinear15.cpp
source='fblinear16.cpp' object='fblinear16.o' libtool=no \
depfile='.deps/fblinear16.Po' tmpdepfile='.deps/fblinear16.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear16.o `test -f fblinear16.cpp || echo './'`fblinear16.cpp
fblinear16.cpp: In member function ‘virtual void FBLinear16::RevRect(int, int, int, int)’:
fblinear16.cpp:84: 警告:‘dest32’ 上的运算结果可能是未定义的
source='fblinear24.cpp' object='fblinear24.o' libtool=no \
depfile='.deps/fblinear24.Po' tmpdepfile='.deps/fblinear24.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear24.o `test -f fblinear24.cpp || echo './'`fblinear24.cpp
fblinear24.cpp: In member function ‘virtual void FBLinear24::RevRect(int, int, int, int)’:
fblinear24.cpp:127: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:128: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:129: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:132: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:134: 警告:‘dest16’ 上的运算结果可能是未定义的
fblinear24.cpp:139: 警告:‘dest16’ 上的运算结果可能是未定义的
fblinear24.cpp: In member function ‘virtual void FBLinear24:rawChar(int, int, int, int, CharBitMap*)’:
fblinear24.cpp:206: 错误:赋值运算中的左值无效
fblinear24.cpp:210: 错误:赋值运算中的左值无效
make[3]: *** [fblinear24.o] 错误 1
make[3]: Leaving directory `/root/super/temp/zhcon-0.2.3/src/display'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/super/temp/zhcon-0.2.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/super/temp/zhcon-0.2.3'
make: *** [all] 错误 2 |
|