PDA

View Full Version : Dependency Get?



dragos240
February 7th, 2009, 01:53 AM
I want to compile things at ease from source, but i have to spend hours trying to find the correct dependencies for it. Is there a program or place where i can find the dependencies for it.

Tibuda
February 7th, 2009, 02:00 AM
If the program is in the repositories, you can call
sudo apt-get build-dep packageto install all dependencies needed to build that package. If it is not, you can try auto-apt (apt:auto-apt).

kk0sse54
February 7th, 2009, 02:03 AM
try out a sourced based distro

dragos240
February 7th, 2009, 03:30 AM
try out a sourced based distro

Elaborate please?

kk0sse54
February 7th, 2009, 04:43 AM
Linux distros where all packages are installed through compiling them from source, best example would be Gentoo. Otherwise you can try Archlinux which through it's default package manager allows you to install binary packages but if you install yaourt you can compile away as much as you would like giving you a nice blend.

smartboyathome
February 7th, 2009, 04:47 AM
Linux distros where all packages are installed through compiling them from source, best example would be Gentoo. Otherwise you can try Archlinux which through it's default package manager allows you to install binary packages but if you install yaourt you can compile away as much as you would like giving you a nice blend.

Don't forget ABS in Arch Linux. CRUX is another honerable mention for source-based distros.

kk0sse54
February 7th, 2009, 06:00 AM
Don't forget ABS in Arch Linux. CRUX is another honerable mention for source-based distros.

Gentoo, CRUX, Lunar, Sorcerer, Source Mage, ports & pkgsrc in *BSD, and Arch to a certain extent

dragos240
February 7th, 2009, 03:35 PM
Can these features be incorporated into my ubuntu?

urukrama
February 7th, 2009, 04:35 PM
Most applications mention the dependencies you need to have installed before compiling from source. Check the website, or either the README or INSTALL file in the source code archive you've downloaded.

If you compile with ./configure make and make install, you should find out if you are missing any dependencies in the first step (./configure). It will display an error message, telling you "Couldn't find xyz" and end. Search the repositories for that package (often you need to add lib to it, ie. libxyz), install the package and rerun ./configure. In this way you should find out the lacking dependencies pretty quickly.

dragos240
February 7th, 2009, 07:43 PM
Most applications mention the dependencies you need to have installed before compiling from source. Check the website, or either the README or INSTALL file in the source code archive you've downloaded.

If you compile with ./configure make and make install, you should find out if you are missing any dependencies in the first step (./configure). It will display an error message, telling you "Couldn't find xyz" and end. Search the repositories for that package (often you need to add lib to it, ie. libxyz), install the package and rerun ./configure. In this way you should find out the lacking dependencies pretty quickly.

Thanks :D

oldos2er
February 7th, 2009, 08:26 PM
auto-apt

bapoumba
February 7th, 2009, 08:29 PM
Moved to Installation & Upgrades.