pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Install Error during gmake (hba.c:885: storage size of `peercred' isn't known )
3+ messages / 2 participants
[nested] [flat]

* Install Error during gmake (hba.c:885: storage size of `peercred' isn't known )
@ 2002-07-22 17:36 Mark Worsdall <mysql@wizdom.org.uk>
  2002-07-24 01:50 ` Re: Install Error during gmake (hba.c:885: storage size of `peercred' Bruce Momjian <pgman@candle.pha.pa.us>
  2002-07-24 14:36 ` Re: Install Error during gmake (hba.c:885: storage size of `peercred' isn't known ) Mark Worsdall <mysql@wizdom.org.uk>
  0 siblings, 2 replies; 3+ messages in thread

From: Mark Worsdall @ 2002-07-22 17:36 UTC (permalink / raw)
  To: pgsql-admin

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.

M.



-- 
Mark Worsdall
https://www.paypal.com/refer/pal=LS79YHQ9VUGLJ



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Install Error during gmake (hba.c:885: storage size of `peercred'
  2002-07-22 17:36 Install Error during gmake (hba.c:885: storage size of `peercred' isn't known ) Mark Worsdall <mysql@wizdom.org.uk>
@ 2002-07-24 01:50 ` Bruce Momjian <pgman@candle.pha.pa.us>
  1 sibling, 0 replies; 3+ messages in thread

From: Bruce Momjian @ 2002-07-24 01:50 UTC (permalink / raw)
  To: Mark Worsdall <mysql@wizdom.org.uk>; +Cc: pgsql-admin


Odds are your Linux include files don't match your OS version.  Do you
have a ucred.h include file?  Does configure show it found *cred*?

---------------------------------------------------------------------------

Mark Worsdall wrote:
> 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.
> 
> M.
> 
> 
> 
> -- 
> Mark Worsdall
> https://www.paypal.com/refer/pal=LS79YHQ9VUGLJ
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Install Error during gmake (hba.c:885: storage size of `peercred' isn't known )
  2002-07-22 17:36 Install Error during gmake (hba.c:885: storage size of `peercred' isn't known ) Mark Worsdall <mysql@wizdom.org.uk>
@ 2002-07-24 14:36 ` Mark Worsdall <mysql@wizdom.org.uk>
  1 sibling, 0 replies; 3+ messages in thread

From: Mark Worsdall @ 2002-07-24 14:36 UTC (permalink / raw)
  To: pgsql-admin

In message <ZcqvROCIKEP9Ew3K@worsdall.demon.co.uk>, Mark Worsdall 
<mysql@wizdom.org.uk> 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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-07-24 14:36 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-22 17:36 Install Error during gmake (hba.c:885: storage size of `peercred' isn't known ) Mark Worsdall <mysql@wizdom.org.uk>
2002-07-24 01:50 ` Re: Install Error during gmake (hba.c:885: storage size of `peercred' Bruce Momjian <pgman@candle.pha.pa.us>
2002-07-24 14:36 ` Mark Worsdall <mysql@wizdom.org.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox