Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group