On Mon, Jun 03, 2019 at 06:50:15 -0700, Kevin J. McCarthy wrote: > On Mon, Jun 03, 2019 at 12:24:33PM +1200, Frank Watt wrote: > >configure: error: no curses library found > > I think Ken and Cameron covered the bases. However, on Debian based > systems another good thing to run is > apt-get build-dep mutt > It's not foolproof because of the version disparity and possible > configuration differences, but it should get you most of the expected > dependencies.
Yes, exacly, I was also going mention that the maintainer(s) of the existing Debian package already tracked down all these dependencies when the package was built, and you might as well take advantage of all that work.... Kevin's command will install the build dependecies for the Mutt source package from your current release. If you want to look more closely at what Build dependencies have been added (or updated) between that version and the latest Mutt packages (on the theory that the build dependencies for the 1.10 package will be closer to what you need now than the dependencies listed for the 1.5.23 package), you could: * track through them "manually" by starting at https://packages.debian.org/source/jessie/mutt and then clicking on the different release names in the page header to see the build depenciences of later Mutt packages, or * follow the "control" links from the Versioned Links section of the Package Tracker page to look at the original Build-Depends: lines directly. (So that would take you to: https://tracker.debian.org/media/packages/m/mutt/control-1.5.23-3 and https://tracker.debian.org/media/packages/m/mutt/control-1.10.1-2.1 ) Another hint is that although you might need to change things a bit to get the new version to compile in your environment, you probably want to configure your build as closely as you can to the official builds, so that your newly-build version is compatible with your current mail setup and so you can easily upgrade to a future official Debian version at some later date. So, it's probably worth your while following the "rules" links from the Versioned Links section and then searching for a common configure options (e.g. "--enable-compressed") to find the all the arguments passed to "./configure" in both your current version (i.e. https://tracker.debian.org/media/packages/m/mutt/rules-1.5.23-3 ) and the latest package (i.e. https://tracker.debian.org/media/packages/m/mutt/rules-1.10.1-2.1 ). Where the two differ you'll have to do a little research to figure out which one you should use in our own build, but basing your build off those is still probably a lot easier than starting from scratch... Nathan