Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

SupeSite 5.5 / X-Space 3.0 视频环境完整安装手册(Linux)

[复制链接]
aryou 发表于 2007-5-21 23:08:10 | 显示全部楼层
原帖由 Nanu 于 2007-5-21 09:56 发表
如果系统中已经安装了自带的 JAVA 环境可能会导致编译 RED5 时出错,请先卸载系统自带的 JAVA 环境(RPM 包),或者手工设置 JAVA_HOME JAVA_BIN 环境变量。



检查了下,没有安装,如何手工设置 JAVA_HOME JAVA_BIN 环境变量,那个文件就帖在上面了.

执行那个命令给他加了变量,一样没有用.


回复

使用道具 举报

仲一 发表于 2007-5-22 05:08:37 | 显示全部楼层
原帖由 风吹着 于 2007-5-18 00:29 发表
官方X264编译有误,编译出错,应该改为:

# cd /usr/local/src/video
# svn co svn://svn.videolan.org/x264/trunk x264
# cd x264
# ./configure --prefix=/usr --enable-shared
# make
# make install


果然,我按楼主提供的方法安装,最后真的出错.如何重新装一下呢?
我的CPU是双至强的.
[root@ws x264-linux-Comsenz]# make install
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DHAVE_SSE3 -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o x264.o x264.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DHAVE_SSE3 -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o matroska.o matroska.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DHAVE_SSE3 -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o muxers.o muxers.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DHAVE_SSE3 -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/cpu.o common/cpu.c
common/cpu.c: In function `x264_cpu_num_processors':
common/cpu.c:220: warning: passing arg 2 of `sched_getaffinity' makes integer from pointer without a cast
common/cpu.c:220: error: too few arguments to function `sched_getaffinity'
make: *** [common/cpu.o] Error 1

[ 本帖最后由 仲一 于 2007-5-22 05:10 编辑 ]
回复

使用道具 举报

仲一 发表于 2007-5-22 05:25:03 | 显示全部楼层
原帖由 风吹着 于 2007-5-18 00:37 发表
官方安装 faad 有笔误,应该改为:

# tar xjvf faad2-2.5-Comsenz.tar.bz2
# cd faad2-Comsenz
# autoreconf -vif
# ./configure --prefix=/usr --with-mp4v2 --enable-shared
# make
# make install


安装这个时也出错,请帮忙指正.

[root@ws faad2-Comsenz]# autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.in:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
[root@ws faad2-Comsenz]# ./configure --prefix=/usr --with-mp4v2 --enable-shared
configure: error: cannot find install-sh or install.sh in . ./.
回复

使用道具 举报

sumin888 发表于 2007-5-22 13:13:50 | 显示全部楼层
我到现在都没有搞好,安装的时候都是按照官方的教程,平台也是官方推荐的CentOS5。真是没办法。到了最后,安装RED5 ant时就出错了,在论坛里发了帖子,也没有人回答。郁闷ING.....................
回复

使用道具 举报

仲一 发表于 2007-5-22 21:16:58 | 显示全部楼层
我也是啊,我还是商业用户,怎么没人看,没人解决一下呢?
期待解决。
回复

使用道具 举报

Stud 发表于 2007-5-23 10:37:31 | 显示全部楼层
apache-ant 是做什麼用的?我用的是 zeus 不曉得跳過這步驟可以嗎?
回复

使用道具 举报

Stud 发表于 2007-5-23 16:01:33 | 显示全部楼层
全部编译好后,试着本地上传一个4MB大的 .avi 文件,结果出现

fatal error: call to undefined function: socket_create()
please check your php.ini extension php_sockets.dll

我的环境是 fc4 + php4.10 + zeus,怎会跑出 php_sockets.dll 呢?
回复

使用道具 举报

sumin888 发表于 2007-5-31 08:01:48 | 显示全部楼层
已经有总人作了总结了
回复

使用道具 举报

天使别哭 发表于 2007-5-31 11:46:59 | 显示全部楼层
很好!论坛里的linux教程好少!!!!
回复

使用道具 举报

jita163 发表于 2007-5-31 13:54:09 | 显示全部楼层
哇,挺难的,我正在装,不知道会遇到什么问题
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-21 17:31 , Processed in 0.150344 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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