Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 6517F475954 for ; Wed, 24 Jul 2002 10:44:36 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 1C1713819C4; Wed, 24 Jul 2002 10:44:06 -0400 (EDT) From: Mark Worsdall X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Install Error during gmake (hba.c:885: storage size of `peercred' isn't known ) Date: Wed, 24 Jul 2002 15:36:40 +0100 Organization: Just Neck it Now:) Message-ID: References: X-NNTP-Posting-Host: worsdall.demon.co.uk:158.152.173.142 X-Complaints-To: abuse@demon.net MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed User-Agent: Turnpike/6.01-U () Lines: 61 To: pgsql-admin@postgresql.org X-Archive-Number: 200207/355 X-Sequence-Number: 5039 In message , Mark Worsdall writes >Hi, > >Did the following:- > >./configure (Nor problems here) >gmake > >well this is where it went wrong:- > >hba.c:885: storage size of `peercred' isn't known >hba.c:885: warning: unused variable `peercred' >gmake[3]: *** [hba.o] Error 1 >gmake[3]: Leaving directory >`/usr/home/src/postgresql-7.2.1/src/backend/libpq' >gmake[2]: *** [libpq-recursive] Error 2 >gmake[2]: Leaving directory `/usr/home/src/postgresql-7.2.1/src/backend' >gmake[1]: *** [all] Error 2 >gmake[1]: Leaving directory `/usr/home/src/postgresql-7.2.1/src' >gmake: *** [all] Error 2 >[root@jilldando postgresql-7.2.1]# > >hum, so I am using gmake version:- >GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. >Built for i586-pc-linux-gnu > >Any ideas? I am lost, could not find away of bypassing ident. > Solved finally by article:- http://archives.postgresql.org/pgsql-admin/2002-05/msg00219.php So I inserted: struct ucred { unsigned int pid; unsigned int uid; unsigned int gid; }; into the file:- /usr/local/src/postgresql-7.2.1/src/include/libpq/hba.h and gmake worked. Unlike the previous article writer my config.log did not have any of the information that he had. So I had to just try and see... it worked. I have readhat 5.1 upgraded to 5.2 with kernel 2.2.18 M. -- Mark Worsdall https://www.paypal.com/refer/pal=LS79YHQ9VUGLJ