I downloaded gpac's MP4Box app which I need for a toolchain. I need to convert the source of MP4Box into a .deb
There is a debian/ dir in the MP4Box source code. I see that it has the control file and all that for me.
When I run
Code:
dpkg-buildpackage -rfakeroot
It gives me a list of dependencies it could not find (and therefore it didn't work.)
Code:
dpkg-checkbuilddeps: Unmet build dependencies: libc6-i686 (>= 2.7-10ubuntu3) libxvidcore4-dev (>= 2) libmozjs-dev (>= 1.8.1.16+nobinonly-0ubuntu1)
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
My QUESTION is... What is the recommended way to obtain these dependencies so that the command passes? For example, I'm missing libc6-i686. I actually have libc6 installed to the latest version. I'm guessing, because my cpu is x64, that it won't install i686 since it is totally optional. Therefore, I cannot apt-get libc6-i686.
I'm a linux noob, so on a related note, does a .deb package all the dependencies into a standalone .deb? Or does it just ref the packages? If I go and dpkg -i the .deb on another system will it work out of the box? (I'm assuming it will, since that would be the point of me installing the dependencies on the host system.)