Page 1 of 1

libvlc not found error compiling mozilla plugin Mac 10.7.3

Posted: 06 Mar 2012 05:29
by rshetty00
/Users/test/npapi-vlc$ ./configure LIBVLC_LIBS=”/Applications/VLC.app//Contents/MacOS/lib/“

Still seeing the same error saw earlier (without any arguments)
checking for LIBVLC... configure: error: Package requirements (libvlc >= 1.1.0) were not met:

No package 'libvlc' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBVLC_CFLAGS
and LIBVLC_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

However, I'm seeing
/Applications/VLC.app//Contents/MacOS/lib/libvlc.5.dylib
/Applications/VLC.app//Contents/MacOS/lib/libvlc.dylib
/Applications/VLC.app//Contents/MacOS/lib/libvlccore.5.dylib
/Applications/VLC.app//Contents/MacOS/lib/libvlccore.dylib

The build area of VLC shows this
/.MobileBackups/Computer/2012-03-02-131812/Volume/Users/test/vlc/doc/libvlc
/.MobileBackups/Computer/2012-03-02-131812/Volume/Users/test/vlc/extras/vlc/doc/libvlc
/.MobileBackups/Computer/2012-03-02-131812/Volume/Users/test/vlc/extras/vlc/test/libvlc
/.MobileBackups/Computer/2012-03-02-131812/Volume/Users/test/vlc/test/libvlc
/.MobileBackups/Computer/2012-03-04-150644/Volume/Users/test/vlc/build/test/libvlc
/Users/test/vlc/build/test/libvlc
/Users/test/vlc/doc/libvlc
/Users/test/vlc/extras/vlc/doc/libvlc
/Users/test/vlc/extras/vlc/test/libvlc
/Users/test/vlc/test/libvlc

Any idea what exactly should be the arguments for configure?! ANy help will be appreciated.

Re: libvlc not found error compiling mozilla plugin Mac 10.7

Posted: 07 Mar 2012 18:53
by Jean-Baptiste Kempf
it uses pkg-config. Check your path to find it.

Re: libvlc not found error compiling mozilla plugin Mac 10.7

Posted: 08 Mar 2012 05:12
by rshetty00
Thank you Jean.
Sorry, due few threads, forgot tell: I'm past this error and stuck in "Install Mozilla development tools, required headers not found". However, I do see npapi.h being present. Never the less, In an attempt to get Mozilla Dev tools, ended up downloading tons of things including downloading and Building Firefox 10.0,2. Yet it complains with same error!
Appreciate help here.

BTW At the same time, I also tried to get going with Mozilla VLC plugin by unzip of 1.0.5 etc. Unfortunately, Mozilla doesn't recognize it (while I see Safari recognizes it but it doesn't embed VLC player...)