Newspost fails to build on 9.10 - Solution
Robert Spanjaard
spamtrap at arumes.com
Fri Nov 13 12:43:21 UTC 2009
I suppose Ubuntu has quite a lot of newspost-users, because the
repositories don't have any alternatives (AFAIK). This is the bugreport
that I sent to the author of this great little program, Jim Faulkner:
---8<------8<------8<------8<------8<------8<------8<------8<---
Newspost fails to install on new distros, like my Ubuntu 9.10.
The error message I get after typing "make" is "error: conflicting types
for 'getline'". After a bit of Googling (I'm not a programmer myself) I
found this explanation in a newsgroup:
http://groups.google.com/group/linux.debian.bugs.dist/msg/4b23088fe713bc63
This means that you need to rename "getline" to "get_line" at the
following locations:
base/newspost.c, line 345
base/utils.c, line 46
base/utils.h, line 29
ui/options.c, line 335 and 432
Just tried it myself, and newspost compiles again like it should.
---8<------8<------8<------8<------8<------8<------8<------8<---
It's a small fix, so if you're afraid to change sourcefiles, I expect the
author to release a fixed version soon.
--
Regards, Robert http://www.arumes.com
More information about the ubuntu-users
mailing list