Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Debian Way to automatically fetch build dependencies under Debian or Ubuntu? [closed]

I recently downloaded the source tarball for a GTK application that I'd like to improve. It uses the standard ./configure and make build sequence.

The first time through, configure reported a bunch of unmet build dependencies, such as libgnomeui-2.0. As I usually do, I had to manually go through and find the Debian *-dev package names corresponding to these dependencies... of course the names never match up quite the same, so it gets to be a real hassle.

So what occurred to me is... are there any helper tools to automatically install the build dependencies listed by the automake/autoconf configuration files???

(I already know about the dpkg-buildpackage tools, but in this case I am interested in building from a raw distribution-independent source tarball, not from the Debian package source.)

like image 934
Dan Lenski Avatar asked Oct 16 '08 20:10

Dan Lenski


People also ask

What is the main package manager tool used in Debian?

The Apt (Advanced Package Tool) package management system is a set of tools to download, install, remove, upgrade, configure and manage Debian packages, and therefore all software installed on a Debian system.

How does DPKG Buildpackage work?

dpkg-buildpackage is a program that automates the process of building a Debian package. It consists of the following steps: 1. It prepares the build environment by setting various environment variables (see ENVIRONMENT), runs the init hook, and calls dpkg-source --before-build (unless -T or --target has been used).

What is build DEP?

yum-builddep is a program which installs the RPMs needed to build the specified package. The source RPM for the specified package must be available in a Yum repository (which will be automatically enabled, if it is disabled) or it can be a local source RPM or a spec file.


1 Answers

You want auto-apt (manpage).

like image 174
ephemient Avatar answered Sep 20 '22 14:09

ephemient