John Porubek writes: > I'm experiencing problems compiling version 0.7. This is the first new > revision I've tried since version 0.4. When doing the make I get the > error messages: > > cproc.c:27:31: error: readline/readline.h: No such file or directory > cproc.c:28:30: error: readline/history.h: No such file or directory > > I see that I can invoke make without readline support, but I believe > that this support gives me enhanced line editing and history, correct? > I haven't tried much to solve this problem on my own, save for > checking that I have "readline-common", "libreadline5" and > "libreadline6" installed on my system. Certainly I'm not the only noob > who would stumble on this issue, am I? ;^)
Hi John, I'm guessing from the package names that you're using Debian or Ubuntu? Those packages you've named just provide files required by compiled programs at runtime. You also need the header files, which are usually provided by packages ending in -dev. I'm using Debian Etch and I need to also install libreadline5-dev. This distinction between lib* and lib*-dev applies for all library packages. You need lib* to run programs using the library, but you need the extra lib*-dev package if you want to compile programs that use the library. Cheers, Daniel
