LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1326|回复: 13

安装prozgui-2.0.5beta在编译时出错,大家帮忙解决一下阿!

[复制链接]
发表于 2005-6-22 02:54:05 | 显示全部楼层 |阅读模式
我的是FC-4系统,已经编译安装了fltk-1.1.6,在安装prozgui-2.0.5beta在编译时出错,大家帮忙解决一下阿!看我的终端的出错信息:
[root@localhost prozgui]# cd prozgui-2.0.5beta
[root@localhost prozgui-2.0.5beta]# ./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 for style of include used by make... GNU
checking for g++... g++
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 g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for strerror in -lcposix... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for uname... uname
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... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
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 for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... 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... no
checking whether to build static libraries... yes
creating libtool
checking for ranlib... (cached) ranlib
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 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 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 strchr... 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 whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for GNU gettext in libc... yes
checking for dcgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... v. ?.??, bad
checking for catalogs to be installed...  pt_BR nl ro it fr
checking for an ANSI C-conforming const... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strdup... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for size_t... (cached) yes
checking for socklen_t... yes
checking FL/Fl.H usability... yes
checking FL/Fl.H presence... yes
checking for FL/Fl.H... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for XOpenDisplay in -lX11... yes
checking for XdbeQueryExtension in -lXext... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for numericsort in -lfltk... no
checking for glEnable in -lGL... yes
checking for numericsort in -lfltk... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
Ignoring libraries " -lSM -lICE" requested by configure.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: configuring in libprozilla
configure: running /bin/sh './configure' --prefix=/usr/local  --cache-file=/dev/null --srcdir=.
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-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 for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for AIX... no
checking for strerror in -lcposix... no
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
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... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... 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... no
checking whether to build static libraries... yes
creating libtool
checking for ranlib... (cached) ranlib
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 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 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... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
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 whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for GNU gettext in libc... yes
checking for dcgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... v. ?.??, bad
checking for catalogs to be installed...  pt_BR ro nl it fr
checking for pthread_create in -lpthread... yes
checking for gethostent... yes
checking for setsockopt... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for memory.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for limits.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for size_t... (cached) yes
checking for socklen_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for select... yes
checking for socket... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strtol... yes
checking for strncasecmp... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for __snprintf... no
checking for __vsnprintf... yes
checking for strchr... (cached) yes
checking for strrchr... yes
checking for which type of gethostbyname_r... checking for gethostbyname_r... yes
six
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating src/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
[root@localhost prozgui-2.0.5beta]# make
make  all-recursive
make[1]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta'
Making all in libprozilla
make[2]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla'
make  all-recursive
make[3]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla'
Making all in intl
make[4]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla/intl'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla/intl'
Making all in po
make[4]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla/po'
Making all in docs
make[4]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla/docs'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla/docs'
Making all in src
make[4]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla/src'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla/src'
make[4]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla'
make[4]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla'
make[3]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla'
make[2]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/libprozilla'
Making all in intl
make[2]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/intl'
Making all in po
make[2]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/po'
Making all in src
make[2]: Entering directory `/root/tools/prozgui/prozgui-2.0.5beta/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I..  -I../libprozilla/src -I/usr/local/include   -DLOCALEDIR=\"/usr/local/share/locale\"  -Wall -ggdb -D_REENTRANT -MT options.o -MD -MP -MF ".deps/options.Tpo" \
  -c -o options.o `test -f 'options.cpp' || echo './'`options.cpp; \
then mv ".deps/options.Tpo" ".deps/options.Po"; \
else rm -f ".deps/options.Tpo"; exit 1; \
fi
In file included from options.cpp:29:
main.h:11:1: warning: "_" redefined
In file included from ../libprozilla/src/netrc.h:26,
                 from ../libprozilla/src/prozilla.h:31,
                 from main.h:7,
                 from options.cpp:29:
../libprozilla/src/common.h:162:1: warning: this is the location of the previous definition
options.cpp: In function ‘int pref_panel_set_values()’:
options.cpp:194: 错误:using typedef-name ‘proxy_type’ after ‘enum’
../libprozilla/src/prozilla.h:137: 错误:‘proxy_type’ 先前在此处有过声明
make[2]: *** [options.o] 错误 1
make[2]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/tools/prozgui/prozgui-2.0.5beta'
make: *** [all] 错误 2
[root@localhost prozgui-2.0.5beta]#
发表于 2005-6-22 11:14:24 | 显示全部楼层
修改option.cxx第194行
  1. rt.ftp_proxy->type = (enum proxy_type) in_ftp_proxy_type->value();
复制代码


  1. rt.ftp_proxy->type = (proxy_type) in_ftp_proxy_type->value();
复制代码
回复 支持 反对

使用道具 举报

发表于 2005-6-22 11:19:22 | 显示全部楼层
顺便说一下,在we.cxx第4300行有非ASCII字符串,请修改:
  1. { Fl_Box* o = new Fl_Box(295, 220, 180, 20, gettext("Pablo Iranzo G\363mez - testing"));
复制代码

为:
  1. { Fl_Box* o = new Fl_Box(295, 220, 180, 20, gettext("Pablo Iranzo - testing"));
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-22 17:36:38 | 显示全部楼层
option.cxx ,we.cxx 这两个文件在那里阿,在prozgui-2.0.5beta压缩包里怎么找不到阿??
回复 支持 反对

使用道具 举报

发表于 2005-6-23 09:38:47 | 显示全部楼层
在src/子目录下
回复 支持 反对

使用道具 举报

发表于 2005-6-23 10:20:52 | 显示全部楼层
看不懂这种错误,
会不会不是其它造成的,看了一下prozgui-2.0.5beta还是老早的那个,并没有修改就OK了。
就像最近编绎kplayer,别人的fedora 编绎的log都可以正常通过那几个docbook文档,可turbolinux就是过不去。怀疑是系统的什么东东造成的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-24 00:57:47 | 显示全部楼层
再问一下,src在那个目录里阿?我是菜鸟不懂哦
回复 支持 反对

使用道具 举报

发表于 2005-6-24 01:01:48 | 显示全部楼层
没编译prozgui,,总是出错。。。呵呵。。proz自己就足够了。
回复 支持 反对

使用道具 举报

发表于 2005-6-24 16:18:42 | 显示全部楼层
Post by worker321
再问一下,src在那个目录里阿?我是菜鸟不懂哦


就是在你解开源码包生成的文件夹里啊,要不然你怎么执行./configure的啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-27 03:22:57 | 显示全部楼层
谢谢Lynx_Hsu 兄的指点,我已经装上了prozgui
回复 支持 反对

使用道具 举报

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

本版积分规则

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