Mozilla Compile Error!

*nix specific usage questions
Austin

Mozilla Compile Error!

Postby Austin » 13 Oct 2005 07:25

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

factor
New Cone
New Cone
Posts: 7
Joined: 01 Oct 2005 22:25
Location: Muskogee,Ok

Postby factor » 13 Oct 2005 23:36

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/

Austin

Postby Austin » 17 Oct 2005 08:07

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.

dano1nr

rtsp support

Postby dano1nr » 13 Apr 2006 21:47

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


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 60 guests