Missing C header for Fortune-Mod
Just as a diversion I decided to install fortune, and upon compile time I and error informing me that "recode.h: No such file or directory" in line 143 of fortune.c. That line is
Code:
#include <recode.h> I couldn't find any references to it in the GNU C library but this page states that "... this header file is still fairly new in C standards, and likely does not exist everywhere," but it says nothing about how to obtain it. ( I realize that this page is part of a larger book, and I have skimmed through that. ) Am I correct in believing that I'm missing a header? If so, how do I obtain recode.h? I apologize if this would have been better suited to the software forum, but I did not know if this was Slack specific or not. I'm guessing it's not, but I'm still not quite sure. ( If anyone happens to have a suggestion on materials about GNU headers that would be appreciated too. ) |
Re: Missing C header for Fortune-Mod
Quote:
with it pre-packed? :) http://freshmeat.net/search/?q=recod...&Go.x=0&Go.y=0 Cheers, Tink |
Quote:
Like I said, the first one is the most true. Thanks for the link to the recode sources. Quick question. After reading the man pages I'm still confused as to how to get fortune to output anything. For example, this Code:
fortune -w /usr/share/games/fortunes/ What am I missing? |
fortune
(all by itself) should be enough to get a non-offensive quote. The last parameter isn't necessarily explained quite well in the man page. You don't specify a path, but a) either the name of a particular file or b) a keyword like all. Cheers, Tink |
Just vanilla fortune doesn't give any output either. I tried that earlier and assumed that I needed parameters.
|
Did you manage to solve this issue? Having the same problem now.
|
All times are GMT -5. The time now is 11:50 AM. |