[vlc] vlc-0.9.9 and mozilla-sdk

Jean-Paul Saman jpsaman at videolan.org
Tue Apr 14 16:57:17 CEST 2009


b-vol wrote:
> Greetings  
> 
> I am having difficulty compiling vlc-0.9.9  on a linuxbox  (CBLFS pure 
> 64bit-AMD64, kernel 2.6.27.7. gcc-4.3.2). 
> 
> vlc compiles without support for mozilla-sdk.  I have mozilla (compiled from 
> sources)  installed as MozillaHome=/opt/mozilla-3.0.5 .
> ##########:-
> bash-3.2# ls  /opt/firefox-3.0.5/lib/firefox-3.0.5/
> application.ini           greprefs        libsmime3.so                     
> platform.ini
> blocklist.xml             icons           libsoftokn3.chk                  
> plugins
> browserconfig.properties  libfreebl3.chk  libsoftokn3.so                   
> README.txt
> chrome                    libfreebl3.so   libsqlite3.so                    
> removed-files
> components                libjemalloc.so  libssl3.so                       res
> defaults                  libmozjs.so     libxpcom.so                      
> run-mozilla.sh
> dictionaries              libnss3.so      libxul.so                        
> searchplugins
> extensions                libnssckbi.so   modules                          
> updater
> firefox                   libnssdbm3.so   mozilla-xremote-client           
> updater.ini
> firefox-bin               libnssutil3.so  old-homepage-default.properties
> bash-3.2#
> 
> bash-3.2# ls  /opt/firefox-3.0.5/lib/firefox-devel-3.0.5/lib
> libcrmf.a                   libmozreg_s.a  libsoftokn.a                 
> libxpcomglue_s.a
> libembed_base_s.a           libnss.a       libssl.a                     
> libxpcom.so
> libembed_base_standalone.a  libnssutil.a   libunicharutil_external_s.a  
> libxul.so
> libmozjs.so                 libsmime.a     libxpcomglue.a
> bash-3.2#
> 
> ##snippet from /etc/ld.so.conf.......
> /opt/firefox-3.0.5/lib/firefox-devel-3.0.5/lib
> /opt/firefox-3.0.5/lib/firefox-3.0.5
> 
> I have these set vi  LDFLAGS also
> 
> 
> however when  I 
> have  --with-mozilla-sdk-path=$MozillaHome/lib/firefox-devel-3.0.5/sdk/lib 
> the configure script report no errors.   Compilation then proceeds for some 
> time then fails with the following message:- 
> #######:-
> /usr/bin/ld: cannot find -lxpcomglue
> collect2: ld returned 1 exit status
> make[2]: *** [libvlcplugin.la] Error 1
> 
> help would be appreciated

libxpcomglue is missing in the path where vlc buildscripts are looking. 
Look inside vlc-config file to figure out where the scripts are looking.

Gtz
Jean-Paul Saman.



More information about the vlc mailing list