There's no newspost package for Lucid. Here's how to compile yourself from source:
So get the source from http://newspost.unixcab.org/index.html#Download, and unpack it.
Go into the unpack directory
Try to make it (you will get an error):
Code:
sander@quirinius:/tmp/newspost-2.1.1$ make
make main CFLAGS="-O2 -Wall" LIBS=""
make[1]: Entering directory `/tmp/newspost-2.1.1'
cd base ; make CC="gcc" CFLAGS="-O2 -Wall"
make[2]: Entering directory `/tmp/newspost-2.1.1/base'
gcc -O2 -Wall -o test test.c
In file included from newspost.h:40,
from test.c:20:
utils.h:29: error: conflicting types for ‘getline’
/usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
make[2]: *** [test] Error 1
make[2]: Leaving directory `/tmp/newspost-2.1.1/base'
make[1]: *** [main] Error 2
make[1]: Leaving directory `/tmp/newspost-2.1.1'
make: *** [opt] Error 2
sander@quirinius:/tmp/newspost-2.1.1$
The solution is easy:
Code:
find . -type f -exec grep -l "getline" {} \; | xargs sed -i "s/\<getline\>/getline_/g"
Then make again, which will go OK.
Bookmarks