Skip site navigation (1) Skip section navigation (2)

compile error with postgresql-7.1rc4

From: "Kevin Heflin" <kheflin(at)shreve(dot)net>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: compile error with postgresql-7.1rc4
Date: 2001-04-11 20:16:55
Message-ID: 01c001c0c2c4$5b029b90$144cced0@shreve.net (view raw or flat)
Thread:
Lists: 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(at)shreve(dot)net    | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------


Responses

pgsql-ports by date

Next:From: Jason TishlerDate: 2001-04-11 21:48:46
Subject: Re: initdb problem...
Previous:From: chris markiewiczDate: 2001-04-11 18:35:07
Subject: initdb problem...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group