On 17/04/13 06:19, Nikolaus Rath wrote: > Hello, > > When downloading a source package from somewhere else, I often find > myself in the situation that after.. > > $ dpkg-buildpackage -us -uc > [...] > dpkg-checkbuilddeps: Unmet build dependencies: libreadline6-dev > libncursesw5-dev (>= 5.3) libbz2-dev liblzma-dev libgdbm-dev libdb-dev > tk8.5-dev blt-dev (>= 2.4z) libbluetooth-dev libffi-dev (>= 3.0.5) xvfb > dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting > dpkg-buildpackage: warning: (Use -d flag to override.) > > ...I have to manually/painfully construct the command line... > > $ sudo apt-get install libreadline6-dev libncursesw5-dev libbz2-dev > liblzma-dev libgdbm-dev libdb-dev tk8.5-dev blt-dev libbluetooth-dev > libffi-dev xvfb > > ...by copying every package name, but omitting the version numbers. > > > Has someone already written a tool to automate this? I.e., parse > debian/control and run the appropriate apt-get command? > > I think I am *not* looking for apt-get build-deps, because I'm talking > about source packages not included in an apt repository. > > Best, > > -Nikolaus >
Please check: http://bugs.debian.org/214566
signature.asc
Description: OpenPGP digital signature