From: jseymour@linxnet.com
To: pgsql-admin@postgresql.org
Subject: Re: Compiling problems with 7.4.2
Date: Fri, 28 May 2004 09:45:39 -0400 (EDT)
Message-ID: <20040528134539.2ADD3430E@jimsun.linxnet.com> (raw)
>
> I ran into a problem compiling 7.4.2 on Sun Solaris. The details are as
> follows. Thanks
>
> SunOS 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-1
[snip]
>
> gcc -O3 -pthreads -fno-strict-aliasing -Wall -Wmissing-prototypes
> -Wmissing-declaration
> s -fPIC -I. -I../../../src/include -I/usr/local/include
> -I/usr/local/ssl/include -DFRO
> NTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -c -o thread.o thread.c
> thread.c: In function `pqGetpwuid':
> thread.c:116: error: too many arguments to function `getpwuid_r'
[snip]
>
This is fixed in CVS. Or you can apply this patch
http://jimsun.linxnet.com/misc/pgsql-7.4.2.patch
to a freshly-extracted 7.4.2 tarball (*before* running configure).
Standard Disclaimer: No warranties, express or implied.
I'm running 7.4.2 on both a Sparc Solaris 7 and a Sparc Solaris 8
machine, with that patch.
Jim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jseymour@linxnet.com
Subject: Re: Compiling problems with 7.4.2
In-Reply-To: <20040528134539.2ADD3430E@jimsun.linxnet.com>
References: <20040528134539.2ADD3430E@jimsun.linxnet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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