[vlc] vlc mozilla plugin build bug

Rainer Lay Rainer.Lay at informatik.uni-erlangen.de
Tue Jun 22 10:23:29 CEST 2004


Hi,

in the makefile for the mozilla plugin, the path for mozilla prefix is 
specified as /usr. On my SuSE box, mozilla is installed in /opt/mozilla. 
So this is not working.
I build a little workaround for building the plugin:
--- mozilla/Makefile.in~        2004-05-21 14:12:07.000000000 +0200
+++ mozilla/Makefile.in 2004-06-22 09:59:07.000000000 +0200
@@ -768,13 +768,11 @@
  @BUILD_MOZILLA_TRUE@     $(LIBRARIES_libvlc) -shared \
  @BUILD_MOZILLA_TRUE@     `$(VLC_CONFIG) --libs vlc mozilla builtin $(pic)`
  @BUILD_MOZILLA_TRUE at vlcintf.xpt: vlcintf.idl
- at BUILD_MOZILLA_TRUE@   $(XPIDL) $(XPIDL_INCL) -I/usr/share/idl/mozilla \
- at BUILD_MOZILLA_TRUE@     -I/usr/lib/mozilla/include/idl \
+ at BUILD_MOZILLA_TRUE@   $(XPIDL) $(XPIDL_INCL)  `mozilla-config 
--idlflags` \
  @BUILD_MOZILLA_TRUE@     -m typelib -o vlcintf $(srcdir)/vlcintf.idl

  @BUILD_MOZILLA_TRUE at vlcintf.h: vlcintf.idl
- at BUILD_MOZILLA_TRUE@   $(XPIDL) $(XPIDL_INCL) -I/usr/share/idl/mozilla \
- at BUILD_MOZILLA_TRUE@     -I/usr/lib/mozilla/include/idl \
+ at BUILD_MOZILLA_TRUE@   $(XPIDL) $(XPIDL_INCL)  `mozilla-config 
--idlflags` \
  @BUILD_MOZILLA_TRUE@     -m header -o vlcintf $(srcdir)/vlcintf.idl
  @BUILD_MOZILLA_TRUE@@HAVE_WIN32_TRUE at npvlc_rc.$(OBJEXT): npvlc_rc.rc
  @BUILD_MOZILLA_TRUE@@HAVE_WIN32_TRUE@  $(WINDRES) -DVERSION=$(VERSION) 
-DVERSION_NUMBER=`echo $(VERSION).0.0.0 | sed 
's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*$


make install still fails, so I installed the files manually.

kind reagrds,
Rainer

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list