Moved to R-devel: please see the posting guide. This WAY off topic for R-help. Please do read the installation manual: configure --help says --with-readline use readline library (if available) [yes] and note, no path can be specified. The installation manual says If you have libraries and header files, e.g., for GNU readline, in non-system directories, use the variables LDFLAGS (for libraries, using `-L' flags to be passed to the linker) and CPPFLAGS (for header files, using `-I' flags to be passed to the C/C++ preprocessors), respectively, to specify these locations. These default to LDFLAGS=-L/usr/local/lib (/usr/local/lib64 on most 64-bit Linux OSes) and CPPFLAGS=-I/usr/local/include to catch the most common cases. My guess is that you need something like CPPFLAGS=-I/usr/local/include -I/home3/fa/faga001/vol/readline-5.1/include LDFLAGS=-L/usr/local/lib -L/home3/fa/faga001/vol/readline-5.1/lib If this really is readline-5.1, don't use it. It needs a patch (I believe the one found on the GNU mirror suffices) or it is badly broken, enough to crash the calling application.
On Thu, 2 Feb 2006, Benjamin Otto wrote:
Dear community, I'm trying to install R-2.2.1 on an IRIX 6.2 (Unix System V Release 4) system without root access. Unfortunately readline is not installed in default, so I installed it locally in my home directory, more precisely in: $HOME/vol/readline-5.1, where $HOME is "/home3/fa/faga001". Afterwards I appended the path to the library with several $PATH variable, which now looks like: PATH=:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin:/us r/freeware/bin:/usr/local/bin:.:/home3/fa/faga001/vol:/home3/fa/faga001/vol/ readline-5.1:/home3/fa/faga001/vol/readline-5.1/lib Still, readline is not detected by the configure script. I tried the commands: ./configure --with-readline="-L/$HOME/vol/readline" ./configure --with-readline="/$HOME/vol/readline" ./configure --with-readline=/$HOME/vol/readline ./configure --x-includes="-L/$HOME/vol/readline" ./configure --x-includes="/$HOME/vol/readline" ./configure --x-libraries="-L/$HOME/vol/readline" ./configure --x-libraries="/$HOME/vol/readline" trying out the different path variants which I previously included in the $PATH variable. Nothing helps yet. According to printenv there is currently no kind of $LIBRARY or sth. like that defined, but maybe the path should rather be included in such an env. variable, I didn't find any hint in the documentation. Has someone an idea how I should link my local readline correctly, so that the library is found not only during installtion but afterwards too?
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595