Page 1 of 1

Mozilla Compile Error!

Posted: 13 Oct 2005 07:25
by Austin
Dear all
When I compile Mozilla Plugin to the VLC082, there are some errors like the following lines, would you like to give me your suggestions? In addition, would you like to share me with the detailed compile steps? THanks a lot.

Making all in mozilla
make[2]: Entering directory `/asbwork/vlc0822/mozilla'
/usr/lib/mozilla/xpidl -I/usr/include/mozilla-1.7.3/plugin -I/usr/include/mozilla-1.7.3/xpcom -I/usr/include/mozilla-1.7.3/java -I/usr/include/mozilla-1.7.3 -I/usr/include/mozilla-1.7.3/nspr -I%{idldir} \
-m header -o vlcintf ./vlcintf.idl
./vlcintf.idl:3: can't open included file nsISupports.idl for reading

input callback returned failure
make[2]: *** [vlcintf.h] 错误 2
make[2]: Leaving directory `/asbwork/vlc0822/mozilla'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/asbwork/vlc0822'
make: *** [all] 错误 2

Posted: 13 Oct 2005 23:36
by factor
First , did you compile with the '--enable mozilla' configure option or just compile
in the mozilla directoy? If not you will need to type this in the root vlc directory.

#source directory of the vlc program.
cd /home/username/vlc822/
#configure with the mozilla option.
./configure --enable-mozilla
#this will create a browser plugin that you will need to copy to your browser plugin directory.
cd mozilla
cp ./libvlcplugin /home/username/forefox/plugins/
#you will also need the vlcintf.xpt to thecomponets directory.
cp ./vlcintf.xpt /home/username/firefox/componets/
#restart firefox and you can test it by going to the test page located here.
http://altair.videolan.org/~dionoea/vlc-plugin-demo/

Posted: 17 Oct 2005 08:07
by Austin
Thanks greatly. I have installed Mozilla Plugin. But when I test the RTSP, it is said that RTSP is not supported. In addition, by checking the Mozilla/help/plug-in helps, I found many components can not be plugged, e.g., H.264, RTSP, would you like to tell me how to add these components for my following testing?
Thanks a lot.

rtsp support

Posted: 13 Apr 2006 21:47
by dano1nr
In order to stream content over rtsp, you must compile vlc with the live555.com rtsp libraries.

first download latest live555.com libs and compile them.

http://www.live555.com/liveMedia/public

once downloaded untar and change to directory live dir

live# ./genMakefiles linux
live# make

next configure vlc with live dotcom libs

vlc# ./configure --enable-livedotcom --with-livedotcom-tree={path to live libs} --enable-mozilla
then

vlc# make
vlc# make install

hope this helps,

dano1nr