LinuxSir.cn,穿越时空的Linuxsir!

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

难了我两周末,swfdec安装求助

[复制链接]
发表于 2009-7-29 12:39:31 | 显示全部楼层 |阅读模式
我的系统
  1. [root@test ~]# uname -a
  2. Linux test 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
复制代码


我希望使用swfdec实现在linux 对 flash (.swf )进行截图
两周下来都还没有安装成功,总是提示这样或那样的错误
提示不存在的包我优先使用yum来装,但不知道为什么系统总是提示我找不到,下面提示是我最新的进展的进度,大家帮看看为什么编译不过去
  1. [root@test swfdec-0.8.4]# ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
  2. checking for a BSD-compatible install... /usr/bin/install -c
  3. checking whether build environment is sane... yes
  4. checking for gawk... gawk
  5. checking whether make sets $(MAKE)... yes
  6. checking for style of include used by make... GNU
  7. checking for gcc... gcc
  8. checking for C compiler default output file name... a.out
  9. checking whether the C compiler works... yes
  10. checking whether we are cross compiling... no
  11. checking for suffix of executables...
  12. checking for suffix of object files... o
  13. checking whether we are using the GNU C compiler... yes
  14. checking whether gcc accepts -g... yes
  15. checking for gcc option to accept ANSI C... none needed
  16. checking dependency style of gcc... gcc3
  17. checking for supported compiler flags...  -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wno-multichar -Wnested-externs
  18. configure: WARNING: unsupported compiler flags:  -Waddress
  19. checking build system type... x86_64-unknown-linux-gnu
  20. checking host system type... x86_64-unknown-linux-gnu
  21. checking for a sed that does not truncate output... /bin/sed
  22. checking for egrep... grep -E
  23. checking for fgrep... grep -F
  24. checking for ld used by gcc... /usr/bin/ld
  25. checking if the linker (/usr/bin/ld) is GNU ld... yes
  26. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  27. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  28. checking whether ln -s works... yes
  29. checking the maximum length of command line arguments... 98304
  30. checking whether the shell understands some XSI constructs... yes
  31. checking whether the shell understands "+="... yes
  32. checking for /usr/bin/ld option to reload object files... -r
  33. checking how to recognize dependent libraries... pass_all
  34. checking for ar... ar
  35. checking for strip... strip
  36. checking for ranlib... ranlib
  37. checking command to parse /usr/bin/nm -B output from gcc object... ok
  38. checking how to run the C preprocessor... gcc -E
  39. checking for ANSI C header files... yes
  40. checking for sys/types.h... yes
  41. checking for sys/stat.h... yes
  42. checking for stdlib.h... yes
  43. checking for string.h... yes
  44. checking for memory.h... yes
  45. checking for strings.h... yes
  46. checking for inttypes.h... yes
  47. checking for stdint.h... yes
  48. checking for unistd.h... yes
  49. checking for dlfcn.h... yes
  50. checking for objdir... .libs
  51. checking if gcc supports -fno-rtti -fno-exceptions... no
  52. checking for gcc option to produce PIC... -fPIC -DPIC
  53. checking if gcc PIC flag -fPIC -DPIC works... yes
  54. checking if gcc static flag -static works... yes
  55. checking if gcc supports -c -o file.o... yes
  56. checking if gcc supports -c -o file.o... (cached) yes
  57. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  58. checking whether -lc should be explicitly linked in... no
  59. checking dynamic linker characteristics... GNU/Linux ld.so
  60. checking how to hardcode library paths into programs... immediate
  61. checking whether stripping libraries is possible... yes
  62. checking if libtool supports shared libraries... yes
  63. checking whether to build shared libraries... yes
  64. checking whether to build static libraries... yes
  65. checking for supported compiler flags...  -std=gnu99
  66. checking for gcc... (cached) gcc
  67. checking whether we are using the GNU C compiler... (cached) yes
  68. checking whether gcc accepts -g... (cached) yes
  69. checking for gcc option to accept ANSI C... (cached) none needed
  70. checking dependency style of gcc... (cached) gcc3
  71. checking for gcc... (cached) gcc
  72. checking whether we are using the GNU C compiler... (cached) yes
  73. checking whether gcc accepts -g... (cached) yes
  74. checking for gcc option to accept ANSI C... (cached) none needed
  75. checking dependency style of gcc... (cached) gcc3
  76. checking whether gcc and cc understand -c and -o together... yes
  77. checking for gawk... (cached) gawk
  78. checking for ANSI C header files... (cached) yes
  79. checking for timezone support... yes
  80. checking for pkg-config... /usr/bin/pkg-config
  81. checking pkg-config is at least version 0.9.0... yes
  82. checking for GLIB... yes
  83. checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.8.0 libsoup-2.4) were not met:

  84. No package 'gtk+-2.0' found
  85. No package 'libsoup-2.4' found

  86. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  87. installed software in a non-standard prefix.

  88. Alternatively, you may set the environment variables GTK_CFLAGS
  89. and GTK_LIBS to avoid the need to call pkg-config.
  90. See the pkg-config man page for more details.
复制代码
发表于 2009-7-29 12:41:59 | 显示全部楼层
No package 'gtk+-2.0' found
No package 'libsoup-2.4' found

他依赖gtk+-2.0和libsoup-2.4.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-29 13:24:59 | 显示全部楼层
这两个都装过了,使用yum装的
回复 支持 反对

使用道具 举报

发表于 2009-7-29 16:08:52 | 显示全部楼层
建議下載fedora的srpm包, 然後
rpmbuild --rebuild swfdec-*src.rpm
回复 支持 反对

使用道具 举报

发表于 2009-7-29 16:54:39 | 显示全部楼层
要启用epel或者rpmforge吧
回复 支持 反对

使用道具 举报

发表于 2009-7-29 20:20:57 | 显示全部楼层
Post by ixlh;2010672
建議下載fedora的srpm包, 然後
rpmbuild --rebuild swfdec-*src.rpm


rebuild也会去找依赖的哦。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-30 09:59:51 | 显示全部楼层
我把服务器弄死了,得换系统。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-31 10:09:46 | 显示全部楼层
换了ubuntu系统,轻松实现了。
谢谢大家。
回复 支持 反对

使用道具 举报

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

本版积分规则

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