Page 1 of 1
VLC Compile Help
Posted: 18 Jan 2012 23:58
by funkypc
I am trying to compile VLC 1.2
I am getting the following error during 'make package-win32-base-zip'
Code: Select all
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.
make: *** [stamp-npapi-configure] Error 1
Any pointers to fixing this problem would be appreciated. Thankyou.
Re: VLC Compile Help
Posted: 19 Jan 2012 12:14
by Jean-Baptiste Kempf
pkg-config works?
Re: VLC Compile Help
Posted: 19 Jan 2012 17:19
by funkypc
Yes, I have got everything working fine until this point.
I tried running 'set PKG_CONFIG_PATH=/win32/lib/pkgconfig' before 'make package-win32-base-zip' but it didn't change anything.
I have closed msys and reopened it and went through all the steps again. It makes no difference.
One thing I did is replaced my copy of npapi.am with the newest version, because prior to this I was getting an error about not having mozilla development tools, and the new version of npapi.am fetches this for me. Now that it has fetched the mozilla development tools, I can switch back to the old npapi.am, but it makes no difference.
Thanks for your help
Re: VLC Compile Help
Posted: 20 Jan 2012 00:14
by Jean-Baptiste Kempf
touch stamp-npapi-configure
Re: VLC Compile Help
Posted: 20 Jan 2012 00:34
by funkypc
Thankyou for your help.
I ran 'touch stamp-npapi-configure' before 'make package-win32-base-zip'
I now get a different error.
Code: Select all
cd npapi-vlc && \
make all && \
make DESTDIR="/home/Admin/vlc/npapi-vlc/installed" install
make[1]: Entering directory `/home/Admin/vlc/npapi-vlc'
make[1]: *** No rule to make target `all'. Stop.
make[1]: Leaving directory `/home/Admin/vlc/npapi-vlc'
make: *** [stamp-npapi-build] Error 2
Re: VLC Compile Help
Posted: 23 Jan 2012 17:40
by funkypc
Just wondering if you can give me another pointer.
Thanks for your help.
Re: VLC Compile Help
Posted: 25 Jan 2012 00:04
by funkypc
OK
That was solved by doing 'touch stamp-npapi-build'
After that I had to 'touch' a few other things, and now I have another hangup.
cp: cannot stat `./activex-vlc/installed/lib/axvlc.dll': No such file or directo
ry
make: *** [package-win-common] Error 1
Thankyou for your help
Re: VLC Compile Help
Posted: 26 Jan 2012 14:06
by Jean-Baptiste Kempf
I will see that soon, on Windows...
Re: VLC Compile Help
Posted: 26 Jan 2012 18:04
by funkypc
I'm not sure what you are trying to say.
Are you saying this error is because I am compiling on Windows and there is no easy way to make it work?
Or
Are you saying that you are going to attempt to compile on windows to see if you can get the same error message?
Or something else?
Thankyou for your help.
Re: VLC Compile Help
Posted: 29 Jan 2012 21:01
by john_f
I just ran across the same error. The problem isn't with npapi, but rather than make can't find LIBVLC.
I followed instructions and found that I could build by using the following:
LIBVLC_CFLAGS=-I/usr/src/winvlc/win32/_win32/include LIBVLC_LIBS="-L/usr/src/winvlc/win32/_win32/lib -lvlc" make package-win-common
My build directory is /usr/src/winvlc/win32/, so the relative locations are _win32/include and _win32/lib
Why this happens is beyond me. Are you building using Fedora by any chance? I also had to export the following environment variable:
PKG_CONFIG_LIBDIR=../contrib/i686-pc-mingw32/lib/pkgconfig
...but I'm guessing you already have that problem solved if you've built vlc.exe and are looking to package it.