Readline library

From: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
To: "pgsql-ports(at)postgresql(dot)org" <pgsql-ports(at)postgresql(dot)org>
Subject: Readline library
Date: 1999-07-27 21:14:36
Message-ID: 379E213B.CBCC551F@nsi.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

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
..
..

Browse pgsql-ports by date

  From Date Subject
Next Message G. Anthony Reina 1999-07-27 22:26:06 Configuring 6.5.1 with readline library on SGI
Previous Message Diana Eichert 1999-07-27 21:09:12 Re: [PORTS] error compiling odbc support for 6.5.1 under OpenBSD