I am compiling Postgres 6.5.1 on a Silicon Graphics machine running IRIX
6.5.4. For some reason, the configure command doesn't recognize where
the 'readline' libraries are. I have the libraries installed under
/usr/freeware/lib and /usr/freeware/include/readline. I have tried doing
an install using --with-include and --with-libs specifying these
directories, but it still doesn't seem to find them.
Where does the configure command look for the readline libraries? Is
there some other switch I can set in configure to look in these parts of
the directory?
Thanks.
-Tony Reina
Here's the listing of the two directories for readline:
--------------------------------------------------------
/usr/freeware/lib
--------------------------------------------------------
bind/ libdf.so@ libmfhdf.so.4.1
libttf.so@ plan_calSJ.ps tclConfig.sh
exmh-2.0.2/ libdf.so.4.1 libpng.so*
libttf.so.2.0.0* plan_cal.ps tk8.0/
expect/ libgdbm.so libreadline.so@
libXpm.so* python/ tkConfig.sh
gcc-lib/ libhistory.so@ libreadline.so.4
libz.so* python-1.2/ X11/
ghostscript/ libhistory.so.4 librle.so@
netplan.dir/ sc/ xemacs/
groff/ libjpeg.so* librle.so.3.1
nmh/ seyon.help xemacs-20.4/
html2ps/ libmfhdf.so@ libttf.la
plan.help tcl8.0/
--------------------------------------------------------
/usr/freeware/include/readline
--------------------------------------------------------
chardefs.h history.h keymaps.h readline.h rlconf.h
rlstdc.h tilde.h
Here's the command I try for configure:
o21:reina/ > ./configure --prefix=/usr/local/pgsql --without-CXX
--with-libraries=/usr/freeware/lib/
--with-includes=/usr/freeware/include/readline
Here's the response:
...
...
checking for main in -lreadline... no
checking for write_history in -lreadline... no
..
..