2007年6月10日

[users 7207] Fedora Core 4にVideoLAN Serverのインストールについて

清水と申します。
お世話になります。

fedora core 4にVideoLAN Server用映像配信ツールのvls 0.5.6を
インストールする所で行き詰まってしまい困っています。

仕様/環境ですが対象のfedoraは今はvmwareです。
うまくインストール出来れば日立製HA8000 30Wで再インストールする予定です。

行った作業は以下の通りです。


[video@xxxxx ~]$ cd src/
[video@xxxxx src]$ ls -o
total 708
-rw-rw-r-- 1 video 714264 Dec 5 2004 vls-0.5.6.tar.bz2
[video@xxxxx src]$ tar jxvf vls-0.5.6.tar.bz2
[video@xxxxx src]$ ls
vls-0.5.6 vls-0.5.6.tar.bz2
[video@xxxxx src]$ cd vls-0.5.6
[video@xxxxx vls-0.5.6]$ ./configure
・・・省略・・・
checking dvdread/dvd_reader.h usability... no
checking dvdread/dvd_reader.h presence... no
checking for dvdread/dvd_reader.h... no
configure: error: The development package for libdvdread is not installed.
Please install it and try again. Alternatively you can also configure with
--disable-dvd.
[video@xxxxx vls-0.5.6]$

■DVD読み込み用モジュールっぽいのが必要みたいなので
--disable-dvdでもいいかなと思ったのですが念の為


[video@xxxxx vls-0.5.6]$ cd ../
[video@xxxxx src]$ wget http://download.videolan.org/pub/vls/0.5.6/contrib/libdvdread-0.9.4.tar.gz
[video@xxxxx src]$ ls -o
total 976
-rw-rw-r-- 1 video 256858 Dec 5 2004 libdvdread-0.9.4.tar.gz
drwxr-xr-x 9 video 4096 May 27 02:05 vls-0.5.6
-rw-rw-r-- 1 video 714264 Dec 5 2004 vls-0.5.6.tar.bz2
[video@xxxxx src]$ tar zxvf libdvdread-0.9.4.tar.gz
[video@xxxxx src]$ cd libdvdread-0.9.4
[video@xxxxx libdvdread-0.9.4]$ ./configure
[video@xxxxx libdvdread-0.9.4]$ make
[video@xxxxx libdvdread-0.9.4]$ su
Password:
[root@xxxxx libdvdread-0.9.4]# make install
[root@xxxxx libdvdread-0.9.4]# exit
exit
[video@xxxxx libdvdread-0.9.4]$
[video@xxxxx libdvdread-0.9.4]$ cd ../
[video@xxxxx src]$ cd vls-0.5.6
[video@xxxxx vls-0.5.6]$ ./configure
・・・省略・・・
checking dvbpsi/dvbpsi.h usability... no
checking dvbpsi/dvbpsi.h presence... no
checking for dvbpsi/dvbpsi.h... no
configure: error: cannot find libdvbpsi headers
[video@xxxxx vls-0.5.6]$

■今度はlibdvbpsiが必要みたいなのでdownload.videolan.orgにあったのを使いました。


[video@xxxxx vls-0.5.6]$ cd ../
[video@xxxxx src]$ wget http://download.videolan.org/pub/vls/0.5.6/contrib/libdvbpsi3-0.1.4.tar.gz
[video@xxxxx src]$ ls -o
total 1344
-rw-rw-r-- 1 video 359515 Dec 5 2004 libdvbpsi3-0.1.4.tar.gz
drwxrwxr-x 4 video 4096 May 27 02:06 libdvdread-0.9.4
-rw-rw-r-- 1 video 256858 Dec 5 2004 libdvdread-0.9.4.tar.gz
drwxr-xr-x 9 video 4096 May 27 02:07 vls-0.5.6
-rw-rw-r-- 1 video 714264 Dec 5 2004 vls-0.5.6.tar.bz2
[video@xxxxx src]$ tar zxvf libdvbpsi3-0.1.4.tar.gz
[video@xxxxx src]$ cd libdvbpsi3-0.1.4
[video@xxxxx libdvbpsi3-0.1.4]$ ./configure
[video@xxxxx libdvbpsi3-0.1.4]$ make
[video@xxxxx libdvbpsi3-0.1.4]$ su
Password:
[root@xxxxx libdvbpsi3-0.1.4]# make install
[video@xxxxx libdvbpsi3-0.1.4]$ cd ../vls-0.5.6

■ここからがvlsのインストールです。


[video@xxxxx vls-0.5.6]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... 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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking whether byte ordering is bigendian... no
checking for gettimeofday... yes
checking for select... yes
checking for strerror... yes
checking for strtol... yes
checking for opendir... yes
checking for usleep... yes
checking for sigaction... yes
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 for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for dlopen in -ldl... yes
checking for crypt in -lcrypt... yes
checking for connect... yes
checking for gethostbyname... yes
checking for sem_post... no
checking for sem_post in -lposix4... no
checking for nanosleep... yes
checking for pthread_attr_init in -lpthread... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for strings.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for getopt_long... yes
checking for socklen_t... yes
checking for inet_pton... yes
checking for sockaddr_in6 in netinet/in.h... yes
checking whether setsockopt accepts SO_BINDTODEVICE... no
checking if $CXX accepts -shared... yes
checking if $CXX accepts -bundle -undefined error -lcc_dynamic... no
checking if $CXX accepts -rdynamic... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking dvdread/dvd_reader.h usability... yes
checking dvdread/dvd_reader.h presence... yes
checking for dvdread/dvd_reader.h... yes
checking dvbpsi/dvbpsi.h usability... yes
checking dvbpsi/dvbpsi.h presence... yes
checking for dvbpsi/dvbpsi.h... yes
configure: creating ./config.status
config.status: creating Makefile.opts
config.status: creating src/server/config.h
config.status: creating src/core/defs.h

global configuration
--------------------
system : linux-gnu
architecture : i686
debug : 0
profiling : 0

vls configuration
-----------------
vls version : 0.5.6
debug mode : 0
system logging : 1
daemon mode :
built-in modules : filechannel netchannel filereader ts2ts ps2ts localinput videoinput
plug-in modules : dvdreader

[video@xxxxx vls-0.5.6]$
[video@xxxxx vls-0.5.6]$
[video@xxxxx vls-0.5.6]$ make
Generating dependancies for src/core/application.cpp...
Compiling src/core/application.cpp...
g++ -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/usr/local/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG -o obj/core/application.o -c src/core/application.cpp
src/core/serialization.h:43: warning: 'class C_Serializable' has virtual functions but non-virtual destructor
src/core/hashtable.h:66: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:79: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:92: error: an explicit specialization must be preceded by 'template <>'
src/core/parsers.h:53: warning: 'class C_ParserHandler' has virtual functions but non-virtual destructor
src/core/library.cpp: In member function 'void C_Library<Type, Arg>::Load()':
src/core/library.cpp:82: error: 'DL_LAZY' was not declared in this scope
src/core/library.cpp:82: error: there are no arguments to 'dlopen' that depend on a template parameter, so a declaration of 'dlopen' must be available
src/core/library.cpp:82: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
src/core/library.cpp:93: error: there are no arguments to 'dlsym' that depend on a template parameter, so a declaration of 'dlsym' must be available
src/core/library.cpp:110: error: there are no arguments to 'dlsym' that depend on a template parameter, so a declaration of 'dlsym' must be available
src/core/library.cpp: In member function 'void C_Library<Type, Arg>::Unload()':
src/core/library.cpp:133: error: there are no arguments to 'dlclose' that depend on a template parameter, so a declaration of 'dlclose' must be available
src/core/library.cpp: In member function 'C_String C_Library<Type, Arg>::GetLoaderError()':
src/core/library.cpp:177: error: there are no arguments to 'dlerror' that depend on a template parameter, so a declaration of 'dlerror' must be available
make: *** [obj/core/application.o] Error 1
[video@xxxxx vls-0.5.6]$


■コンパイラに問題あると言ってるようにも感じるのですが・・・
現在のmakeのバージョンはmake-3.80-7です。

mini-SAP-serverを使ってSDPによるmulticast映像配信したいので
どうしてもvlsを使ってみたいのですが対処方法など解る方いらっしゃいませんか?
_______________________________________________
users mailing list
投稿先アドレス: mailto:users@xxxxx
総合案内: http://fedora.jp/mailman/listinfo/users
過去の投稿の検索: http://fedora.jp/kabayaki/

投稿者 xml-rpc : 2007年6月10日 03:43
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/59967
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。