Re: Compiling problems with 7.4.2

From: jseymour(at)linxnet(dot)com (Jim Seymour)
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Compiling problems with 7.4.2
Date: 2004-05-28 13:45:39
Message-ID: 20040528134539.2ADD3430E@jimsun.linxnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>
> 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

Browse pgsql-admin by date

  From Date Subject
Next Message LSanchez 2004-05-28 14:52:49 Re: pg_hba.conf
Previous Message Ivaylo Mutafchiev 2004-05-28 07:24:00 Re: [Cross-post] initdb failed on Windows 2003 Advanced Server