libffmpeg_plugin.so depends on libX11 with nightlies sources

*nix specific usage questions
enolive
New Cone
New Cone
Posts: 4
Joined: 01 Apr 2008 21:14

libffmpeg_plugin.so depends on libX11 with nightlies sources

Postby enolive » 17 May 2008 21:04

hello everyone!

I've tried to build my own vlc package using the sources from nightlies.videolan.org for hardy x86: http://nightlies.videolan.org/build/har ... 5-1.tar.gz.

I didn't take the binaries because they seem to come without asa and csri support and I need this feature for softsubbed video files. I didn't get the code from git because I want a debian package and I cannot find the debian directory in git.

I added 2 additional switches to debian/rules:

--enable-asademux
--enable-csri

Then I've installed any dependencies for vlc by apt-get build-dep vlc and tried to build a package by entering

Code: Select all

fakeroot dpkg-buildpackage
in the vlc build directory

after some compile time I get the following error:

Code: Select all

# Check that we did not install a plugin linked with libX11 in vlc-nox BORKED=no; \ for file in $(find debian/vlc-nox/usr/lib/vlc -name '*.so'); do \ if ldd $file | grep -q libX11; then \ BORKED=yes; \ echo $file depends on libX11; \ fi; \ done; \ if test "$BORKED" = yes; then exit 1; fi debian/vlc-nox/usr/lib/vlc/codec/libffmpeg_plugin.so depends on libX11 make: *** [install] Fehler 1
What am I doing wrong? Is there a better way for building a vlc .deb package? Any suggestions would be appreciated!

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: libffmpeg_plugin.so depends on libX11 with nightlies sources

Postby Jean-Baptiste Kempf » 20 May 2008 16:21

You have an issue in your debian rules, since ffmpeg plugin should not use libX11 at all.
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.

enolive
New Cone
New Cone
Posts: 4
Joined: 01 Apr 2008 21:14

Re: libffmpeg_plugin.so depends on libX11 with nightlies sources

Postby enolive » 20 May 2008 23:16

thank you for your answer!

I tried to remove my changes (the 2 additional configure options) and get the same error.

I am not an expert when it comes to linux/debian software deployment/development. I obtained the rules file from the .tar.gz file in the nightlies archives. Maybe there is a better way to get the debian subdirectory?

Here is my rules file: http://nopaste.org/p/apDnAW7aF

Any further suggestion would help me very much...

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: libffmpeg_plugin.so depends on libX11 with nightlies sources

Postby Jean-Baptiste Kempf » 21 May 2008 20:13

Ask on vlc-devel@
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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests