Re: GNUmakefile size 0 - Mailing list pgsql-admin

From Laurens Wagemakers
Subject Re: GNUmakefile size 0
Date
Msg-id DB1B4FC9815DD411A01D00B0D03D7907012F938F@nlnt16.truston.com
Whole thread Raw
In response to GNUmakefile size 0  (Laurens Wagemakers <l.wagemakers@truston.com>)
List pgsql-admin
Hai Tom,

Your answer on my 7.0 version solved it I changed configure:

# Create compiler version string
if test x"$GCC" = x"yes" ; then
!  cc_string="GCC `${CC} --version`"
else
  cc_string=$CC
fi
cat >> confdefs.h <<EOF
#define PG_VERSION_STR "PostgreSQL $VERSION on $host, compiled by $ccstring"
EOF

Line 3 (actually line 1620) Changed to

! cc_string="GCC `${CC} --version|head -1`"

And I got I compiled.

Thx.

Laurens
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, May 13, 2004 5:19 PM
To: Laurens Wagemakers
Cc: 'pgsql-admin@postgresql.org'
Subject: Re: [ADMIN] GNUmakefile size 0


Laurens Wagemakers <l.wagemakers@truston.com> writes:
> extern int accept(int, struct sockaddr *, Psocklen_t);

Hmm.  The comments in configure have

# Solaris 7 and 8 have arg3 as 'void *' (disguised as 'Psocklen_t'
# which is *not* 'socklen_t *').  If we detect that, then we assume
# 'int' as the result, because that ought to work best.

So what is Psocklen_t now?

            regards, tom lane

pgsql-admin by date:

Previous
From: Paul Tuckfield
Date:
Subject: Re: [PERFORM] Quad processor options - summary
Next
From: Mark Kirkwood
Date:
Subject: Re: [PERFORM] Quad processor options - summary