Hi, I have investigated using readline and it seems to be a library for reading from the command line only. I can not for the life of me get it to read from a file.
Is it possible that you meant GNU libc's getline() and not readline()? Thanks Lenni On Sat, Jan 29, 2011 at 9:14 PM, Giuseppe Scrivano <[email protected]>wrote: > please add the "readline" module to the list of modules in > bootstrap.conf file. You also need to modify src/Makefile.am, adding > $(LIBREADLINE) to LIBS. All you have to do now is to recall the > bootstrap script. It should work. > > Cheers, > Giuseppe > > > > Leonard Ehrenfried <[email protected]> writes: > > >> > >> Where is make looking for the shared libraries? Do I need to set an > >> environment variable? > >> > > > > Sorry, I was being a newbie and didn't know that you had to explicitly > tell > > gcc to open libreadline. Adding -lreadline to the flags compiles it. > > > > I had a look around Makefile.in to permanently add the compiler flag but > to > > be honest I'm a little overwhelmed by the size of it. > > > > How would I go about add the flag? > > > > Thanks > > Lenni >
