Configure problems with readline Mandrake 8.2 and postgres 7.2.1
От | Keehan Mallon |
---|---|
Тема | Configure problems with readline Mandrake 8.2 and postgres 7.2.1 |
Дата | |
Msg-id | 20020513172100.88208.qmail@web11207.mail.yahoo.com обсуждение исходный текст |
Ответы |
Re: Configure problems with readline Mandrake 8.2 and postgres 7.2.1
(Tom Lane <tgl@sss.pgh.pa.us>)
|
Список | pgsql-general |
List, Looking for any pointers. I have a small Mandrake 8.2 install (none of the KDE crap) that I am trying to compile and run postgres 7.2.1 on. I have installed all the dev rpm and can ./configure make make install, but my resulting psql has no history (which means readline problems). So, I went and found that I had readline installed, but not readline-devel for all the headers. So, once I installed that I did make clean delete config.log and config.cache. Then I did ./configure make and make install. Same problems with psql... Hmmm... Looking at config.log (and grepping for readline) yields the following: configure:3288: checking for readline configure:3310: gcc -o conftest -O2 conftest.c -lreadline 1>&5 /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `tgetnum' /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `tgoto' /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `tgetflag' /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `BC' /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `tputs' /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `PC' /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `tgetent' /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `UP' /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so: undefined reference to `tgetstr' char readline(); readline() char readline();readline() configure:3310: gcc -o conftest -O2 conftest.c -lreadline -ltermcap 1>&5 char readline(); readline() char readline(); readline() configure:3310: gcc -o conftest -O2 conftest.c -lreadline -lncurses 1>&5 char readline(); readline() char readline(); readline() configure:3310: gcc -o conftest -O2 conftest.c -lreadline -lcurses 1>&5 char readline(); readline() char readline(); readline() configure:5226: checking for readline/readline.h configure:5266: checking for readline/history.h # include <readline/readline.h> # include <readline.h> So, I see a number of undefine references that seem to relate to readline (particularly libreadline.so). so I looked at these and made sure that the references to the files were valid and they seem kosher. libreadline.so is a symlink to libreadline.so.4 or something like that. I have even tried wiping out the tree, tar xvzf the source and doing it all from scratch. Same result. I am getting a bit frustrated. Anyway, one last thing. I have gotten postgres 7.2.1 to work fine on RH 7.2. thanks for any pointers, Keehan __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
В списке pgsql-general по дате отправления: