Re: compiling and building software
On Sun, Oct 13, 2002 at 11:01:53PM -0400, Rodney Green wrote:
> Hello. I recently installed a base Debian system by using the rescue and
> root floppies and installing the rest from the Internet. Since I installed
> only the bare system I didn't have a compiler installed (at least I don't
> think I did) and couldn't build some stuff I downloaded. I want to build and
> install the latest version of Postfix but I'm getting a Make error message
> about missing something (see below). My question is.. What are the required
> libraries and packages needed to compile most software? I'm used to using
> Slackware and it installed most everything I needed. I'm new to Debian
> and I'm uncertain on what all I need.
>
> The make process is failing with this message:
>
> No <db.h> include file found.
> Install the appropriate db*-devel package first.
>
> Thanks!
> Rod
I'm not familiar with compiling postfix, but if you set your
sources.list to include source, you can run 'apt-get --build-dep
postfix' and it will downloaded the needed dependencies. If you want
to build a newer version than the Debian source, you might need some
additional, but this should get you there in most cases. Adding -s to
the above command will show you what apt-get wants to download without
actually getting any files.
You can then download the Debian source and create a package with
'apt-get -b source postfix'.
You can set the source information to unstable or testing, even if you
are running stable (or to unstable if you are running testing). I have
often done this to get a newer version of a package than exists in my
distribution. It doesn't always work, but I've had pretty good
success.
Bob
Reply to: