Solved Problem upgrading emacs

Hi, does anyone have problems upgrading the editors/emacs port in FreeBSD 10.1? I'm getting a build failure claiming it can't find tputs in any library.

I'm not at my computer right now, but will post more details later.
 
This is the message from the configure script for emacs24-24.4_4,3:
Code:
checking for library containing tputs... no
configure: error: The required function `tputs' was not found in any library.
The following libraries were tried (in order):
  libtinfo, libncurses, libterminfo, libtermcap, libcurses
Please try installing whichever of these libraries is most appropriate
for your system, together with its header files.
For example, a libncurses-dev(el) or similar package.
===>  Script "configure" failed unexpectedly.
 
Well I fixed it myself. The librsvg2 package didn't get recompiled when I rebuilt libpng and its dependencies with portmaster -r libpng as advised in UPDATING. The tputs test in the emacs build linked to librsvg2 so it failed as librsvg2 was trying to find the old version of libpng. Reinstalling librsvg2 fixed the problem.

Hopefully it helps anyone else with this issue.
 
When a major port like png is updated, all the ports that depend on it are supposed to be "bumped" (revision number increased) to force them to be rebuilt as well. Some were apparently missed, and should be reported either as a PR at https://bugs.freebsd.org/bugzilla/ or to the freebsd-ports mailing list. Not only does this help other people, it helps the reporter when they have to upgrade other computers.
 
Back
Top