rlver.c:3:31: readline/readline.h: No such file or directory rlver.c: In function `main': rlver.c:4: error: `rl_library_version' undeclared (first use in this function) rlver.c:4: error: (Each undeclared identifier is reported only once rlver.c:4: error: for each function it appears in.) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Could not compile rlver.c. If you have installed the GNU Readline Library (libreadline.{a,so} and readline/readline.h, etc.) on directories for which your perl is not configured to search (refer the value of `ccflags' and `libpath' in the output of `perl -V'), specify the paths as follows; perl Makefile.PL --includedir=/yourdir/include --libdir=/yourdir/lib or perl Makefile.PL --prefix=/yourdir Note that the GNU Readline Library version 2.0 and earlier causes error here. Update it to version 2.1 and/or later. Read INSTALL for more details. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Found `/lib/hpux64/libcurses.so'. gcc -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mlp64 -L/lib/hpux64 -DUINT32_MAX_BROKEN -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver -mlp64 -L/lib/hpux64 -lreadline -lcurses