Code Play a software blog by tim benke

How to run newsbeuter on Mac OS X

This is howto shows how you can install newsbeuter 2.1 on Mac OS X. First you have install some required libraries using MacPorts, a packet-manager on the Mac. MacPorts is very similar to FreeBSD’s ports system.

  1. The curses-based widget set Structured Terminal Forms Language/Library (STFL) delivers the graphical frontend for newsbeuter.
    sudo port install stfl
  2. The GNU readline library gives users basic line-editing features as known from simple editors like emacs or vi.
    sudo port install readline
  3. Other dependencies are the embedded database SQLite for storing the blog entries, libcurl for transferring files from the Web and pkg-config for managing installed libraries and compile options.
    sudo port install sqlite3 libcurl pkgconfig
  4. The latest available mac-compatible newsbeuter version can be found here (click on download). It's dated July 22nd. This thread explains that jperras had to do some minimal modifications to newsbeuter itself to make it compile on osx. If you prefer, you can make the same change to the 2.0 release or current HEAD to get a compiling version for Mac. The necessary change is to the file: src/utils.cpp:
- in line 264:

//#ifndef __linux
//	const char * inbufp;
	char * inbufp;
// #endif
Fixed the problem.
5. Have fun!