LinuxSir.cn,穿越时空的Linuxsir!

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

新鲜出炉的网络电视的前端 ?

[复制链接]
发表于 2005-12-30 19:45:25 | 显示全部楼层 |阅读模式
播放网络电视用的,一个GTK前端 ,易于安装 ......操作简便

安装方法:
<1>
./autogen.sh
make
得到root权限后
make install
<2>
将extra目录中的 sp-sc getchannel复制 到/usr/local/bin或者/usr/bin

cp sp-sc /usr/bin
cp getchannel /usr/bin

*****注意*****
在点击播放前要先选择一个可用的视频播放器

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2005-12-30 20:37:01 | 显示全部楼层
出错,请帮忙看看什么原因
  1. $ ./autogen.sh
  2. **Warning**: I am going to run `configure' with no arguments.
  3. If you wish to pass any to it, please specify them on the
  4. `./autogen.sh' command line.

  5. processing .
  6. Creating ./aclocal.m4 ...
  7. Running glib-gettextize...  Ignore non-fatal messages.
  8. Copying file mkinstalldirs
  9. Copying file po/Makefile.in.in

  10. Please add the files
  11.   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  12.   progtest.m4
  13. from the /usr/share/aclocal directory to your autoconf macro directory
  14. or directly to your aclocal.m4 file.
  15. You will also need config.guess and config.sub, which you can get from
  16. ftp://ftp.gnu.org/pub/gnu/config/.

  17. Making ./aclocal.m4 writable ...
  18. Running aclocal  ...
  19. Running autoheader...
  20. Running automake --gnu  ...
  21. Running autoconf ...
  22. Running ./configure --enable-maintainer-mode ...
  23. checking for a BSD-compatible install... /usr/bin/install -c
  24. checking whether build environment is sane... yes
  25. checking for gawk... gawk
  26. checking whether make sets $(MAKE)... yes
  27. checking whether to enable maintainer-specific portions of Makefiles... yes
  28. checking for style of include used by make... GNU
  29. checking for gcc... gcc
  30. checking for C compiler default output file name... a.out
  31. checking whether the C compiler works... yes
  32. checking whether we are cross compiling... no
  33. checking for suffix of executables...
  34. checking for suffix of object files... o
  35. checking whether we are using the GNU C compiler... yes
  36. checking whether gcc accepts -g... yes
  37. checking for gcc option to accept ANSI C... none needed
  38. checking dependency style of gcc... gcc3
  39. checking for strerror in -lcposix... no
  40. checking for gcc... (cached) gcc
  41. checking whether we are using the GNU C compiler... (cached) yes
  42. checking whether gcc accepts -g... (cached) yes
  43. checking for gcc option to accept ANSI C... (cached) none needed
  44. checking dependency style of gcc... (cached) gcc3
  45. checking for gcc option to accept ANSI C... none needed
  46. checking how to run the C preprocessor... gcc -E
  47. checking for egrep... grep -E
  48. checking for ANSI C header files... yes
  49. checking for pkg-config... /usr/bin/pkg-config
  50. checking pkg-config is at least version 0.9.0... yes
  51. checking for PACKAGE... yes
  52. checking for sys/types.h... yes
  53. checking for sys/stat.h... yes
  54. checking for stdlib.h... yes
  55. checking for string.h... yes
  56. checking for memory.h... yes
  57. checking for strings.h... yes
  58. checking for inttypes.h... yes
  59. checking for stdint.h... yes
  60. checking for unistd.h... yes
  61. checking locale.h usability... yes
  62. checking locale.h presence... yes
  63. checking for locale.h... yes
  64. checking for LC_MESSAGES... yes
  65. checking libintl.h usability... yes
  66. checking libintl.h presence... yes
  67. checking for libintl.h... yes
  68. checking for ngettext in libc... yes
  69. checking for dgettext in libc... yes
  70. checking for bind_textdomain_codeset... yes
  71. checking for msgfmt... /usr/bin/msgfmt
  72. checking for dcgettext... yes
  73. checking for gmsgfmt... /usr/bin/gmsgfmt
  74. checking for xgettext... /usr/bin/xgettext
  75. configure: creating ./config.status
  76. config.status: creating Makefile
  77. config.status: creating src/Makefile
  78. config.status: creating po/Makefile.in
  79. config.status: creating config.h
  80. config.status: config.h is unchanged
  81. config.status: executing depfiles commands
  82. config.status: executing default-1 commands
  83. Now type `make' to compile.

  84. $ make
  85. cd . && /bin/sh /tmp/sopcast/missing --run autoheader
  86. touch ./config.h.in
  87. cd . && /bin/sh ./config.status config.h
  88. config.status: creating config.h
  89. config.status: config.h is unchanged
  90. make  all-recursive
  91. make[1]: Entering directory `/tmp/sopcast'
  92. Making all in src
  93. make[2]: Entering directory `/tmp/sopcast/src'
  94. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr//include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  95.   -c -o main.o `test -f 'main.c' || echo './'`main.c; \
  96. then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
  97. else rm -f ".deps/main.Tpo"; exit 1; \
  98. fi
  99. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr//include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT support.o -MD -MP -MF ".deps/support.Tpo" \
  100.   -c -o support.o `test -f 'support.c' || echo './'`support.c; \
  101. then mv -f ".deps/support.Tpo" ".deps/support.Po"; \
  102. else rm -f ".deps/support.Tpo"; exit 1; \
  103. fi
  104. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr//include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT fork.o -MD -MP -MF ".deps/fork.Tpo" \
  105.   -c -o fork.o `test -f 'fork.c' || echo './'`fork.c; \
  106. then mv -f ".deps/fork.Tpo" ".deps/fork.Po"; \
  107. else rm -f ".deps/fork.Tpo"; exit 1; \
  108. fi
  109. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr//include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT data.o -MD -MP -MF ".deps/data.Tpo" \
  110.   -c -o data.o `test -f 'data.c' || echo './'`data.c; \
  111. then mv -f ".deps/data.Tpo" ".deps/data.Po"; \
  112. else rm -f ".deps/data.Tpo"; exit 1; \
  113. fi
  114. data.c: In function `int_to_str':
  115. data.c:11: warning: function returns address of local variable
  116. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr//include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT interface.o -MD -MP -MF ".deps/interface.Tpo" \
  117.   -c -o interface.o `test -f 'interface.c' || echo './'`interface.c; \
  118. then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; \
  119. else rm -f ".deps/interface.Tpo"; exit 1; \
  120. fi
  121. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr//include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT callbacks.o -MD -MP -MF ".deps/callbacks.Tpo" \
  122.   -c -o callbacks.o `test -f 'callbacks.c' || echo './'`callbacks.c; \
  123. then mv -f ".deps/callbacks.Tpo" ".deps/callbacks.Po"; \
  124. else rm -f ".deps/callbacks.Tpo"; exit 1; \
  125. fi
  126. callbacks.c: In function `on_button_quit_clicked':
  127. callbacks.c:154: error: syntax error before "GtkButton"
  128. callbacks.c:156: error: syntax error at end of input
  129. make[2]: *** [callbacks.o] Error 1
  130. make[2]: Leaving directory `/tmp/sopcast/src'
  131. make[1]: *** [all-recursive] Error 1
  132. make[1]: Leaving directory `/tmp/sopcast'
  133. make: *** [all] Error 2
复制代码
回复 支持 反对

使用道具 举报

发表于 2005-12-30 20:57:27 | 显示全部楼层
唉呀,浪子兄太粗心了!
修改 src/callbacks.c 文件第154行,将[php]on_button_stop_clicked(GtkButton *button,
                                           gpointer userdata);
        gtk_main_quit();
[/php]改为[php]on_button_stop_clicked(button, user_data);         
gtk_main_quit();
}
[/php]
回复 支持 反对

使用道具 举报

发表于 2005-12-30 21:00:55 | 显示全部楼层
注意,安装的时候请先阅读里面的 README
回复 支持 反对

使用道具 举报

发表于 2005-12-30 21:30:17 | 显示全部楼层
-_-|||

刷新的刷写成”涮“了……
回复 支持 反对

使用道具 举报

发表于 2005-12-30 21:42:41 | 显示全部楼层
对阿,我就说怎么看起来不对劲;原来是这个 涮 字阿。
回复 支持 反对

使用道具 举报

发表于 2005-12-30 22:04:57 | 显示全部楼层
多谢zlbruce!看不懂代码真是亏呀!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-30 23:48:25 | 显示全部楼层
传错了.本来打算传修正的..结果....昏倒 ....等下重传下


好了....大家下载 这个吧,经过修正的,有BUG就报告吧....那个 "涮"是莫法了...
glade-2也改不了它,一改我手加到interface.c里面的东西就没有了.....
等下一版吧,,打算把界面 重画一下,交给另一个兄弟维护去了,寒假我不在,可能就由他出下一版了....应该比我细心的,不会再出现 "涮"了.......
当初我也纳闷,怎么这个"涮新"就不是词组咧!!!!!...
回复 支持 反对

使用道具 举报

发表于 2005-12-30 23:57:32 | 显示全部楼层
suse9.3里安装出现下面提示,可是我都已经安装拉,请高手指点迷津
./autogen.sh

**Error**: You must have `glib' installed.
You can get it from: ftp://ftp.gtk.org/pub/gtk
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-31 00:14:59 | 显示全部楼层
楼上的 ......你没有装GTK全套!!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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