compile error with postgresql-7.1rc4

Поиск
Список
Период
Сортировка
От Kevin Heflin
Тема compile error with postgresql-7.1rc4
Дата
Msg-id 01c001c0c2c4$5b029b90$144cced0@shreve.net
обсуждение исходный текст
Ответы Re: compile error with postgresql-7.1rc4  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-ports
I have successfully compiled postgresql-7.1rc4 running on MacOSX 10.0

But this was without "readline" installed (macosx doesn't come with that)

I installed the latest version of "readline" from source (installed with out
problems)

then started over with postgresql7.1rc4
./configure runs fine.

make fails looking like this:

cc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
 -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include
  -c -o describe.o describe.c
cc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
 -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include
  -c -o tab-complete.o tab-complete.c
tab-complete.c: In function `initialize_readline':
tab-complete.c:103: warning: assignment from incompatible pointer type
tab-complete.c: In function `psql_completion':
tab-complete.c:292: warning: implicit declaration of function
`completion_matches'
tab-complete.c:292: warning: assignment makes pointer from integer without a
cast
tab-complete.c:296: warning: assignment makes pointer from integer without a
cast
tab-complete.c:301: warning: assignment makes pointer from integer without a
cast
<-- repeated a bunch of times -->
tab-complete.c:718: warning: assignment makes pointer from integer without a
cast
tab-complete.c:725: warning: assignment makes pointer from integer without a
cast
tab-complete.c:734: `filename_completion_function' undeclared (first use in
this function)
tab-complete.c:734: (Each undeclared identifier is reported only once
tab-complete.c:734: for each function it appears in.)
tab-complete.c:734: warning: assignment makes pointer from integer without a
cast
tab-complete.c:749: warning: assignment makes pointer from integer without a
cast
tab-complete.c:763: warning: assignment makes pointer from integer without a
cast
make[3]: *** [tab-complete.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2


I truly appreciate this version which istalls on MacOSX, and it runs fine. I
was just hoping to reinstall with readline support for psql to be able to
work with the up arrow displaying the last command..

Any suggestions would be appreciated.


Kevin


--------------------------------------------------------------------
Kevin Heflin          | ShreveNet, Inc.      | Ph:318.222.2638 x103
VP/Production         | 333 Texas St #175    | FAX:318.221.6612
kheflin@shreve.net    | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------


В списке pgsql-ports по дате отправления:

Предыдущее
От: "Francis K Shim"
Дата:
Сообщение: FW: [GENERAL] Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: compile error with postgresql-7.1rc4