VLC Compile Help

This forum is about all development around libVLC.
funkypc
New Cone
New Cone
Posts: 6
Joined: 18 Jan 2012 23:53

VLC Compile Help

Postby funkypc » 18 Jan 2012 23:58

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC Compile Help

Postby Jean-Baptiste Kempf » 19 Jan 2012 12:14

pkg-config works?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

funkypc
New Cone
New Cone
Posts: 6
Joined: 18 Jan 2012 23:53

Re: VLC Compile Help

Postby funkypc » 19 Jan 2012 17:19

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC Compile Help

Postby Jean-Baptiste Kempf » 20 Jan 2012 00:14

touch stamp-npapi-configure
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

funkypc
New Cone
New Cone
Posts: 6
Joined: 18 Jan 2012 23:53

Re: VLC Compile Help

Postby funkypc » 20 Jan 2012 00:34

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

funkypc
New Cone
New Cone
Posts: 6
Joined: 18 Jan 2012 23:53

Re: VLC Compile Help

Postby funkypc » 23 Jan 2012 17:40

Just wondering if you can give me another pointer.
Thanks for your help.

funkypc
New Cone
New Cone
Posts: 6
Joined: 18 Jan 2012 23:53

Re: VLC Compile Help

Postby funkypc » 25 Jan 2012 00:04

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC Compile Help

Postby Jean-Baptiste Kempf » 26 Jan 2012 14:06

I will see that soon, on Windows...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

funkypc
New Cone
New Cone
Posts: 6
Joined: 18 Jan 2012 23:53

Re: VLC Compile Help

Postby funkypc » 26 Jan 2012 18:04

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.

john_f
Blank Cone
Blank Cone
Posts: 13
Joined: 30 Aug 2009 05:23

Re: VLC Compile Help

Postby john_f » 29 Jan 2012 21:01

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 27 guests