pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedCompiling problems with 7.4.2
3+ messages / 3 participants
[nested] [flat]
* Compiling problems with 7.4.2
@ 2004-05-28 03:05 Renney Thomas <renneyt@yahoo.com>
0 siblings, 1 reply; 3+ messages in thread
From: Renney Thomas @ 2004-05-28 03:05 UTC (permalink / raw)
To: 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
--------------------
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --dis
able-nls
Thread model: posix
gcc version 3.3.2
--------------------
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'
gmake[3]: *** [thread.o] Error 1
gmake[3]: Leaving directory `/opt/sft/postgresql-7.4.2/src/interfaces/libpq'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/sft/postgresql-7.4.2/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/sft/postgresql-7.4.2/src'
gmake: *** [all] Error 2
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Compiling problems with 7.4.2
@ 2004-05-28 04:41 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Renney Thomas <renneyt@yahoo.com>
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2004-05-28 04:41 UTC (permalink / raw)
To: Renney Thomas <renneyt@yahoo.com>; +Cc: pgsql-admin
This will be fixed in 7.4.3. You can grab the 7.4 STABLE CVS tag if you
want it now.
---------------------------------------------------------------------------
Renney Thomas wrote:
> 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
> --------------------
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --dis
> able-nls
> Thread model: posix
> gcc version 3.3.2
>
> --------------------
>
> 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'
> gmake[3]: *** [thread.o] Error 1
> gmake[3]: Leaving directory `/opt/sft/postgresql-7.4.2/src/interfaces/libpq'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/opt/sft/postgresql-7.4.2/src/interfaces'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/opt/sft/postgresql-7.4.2/src'
> gmake: *** [all] Error 2
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Compiling problems with 7.4.2
@ 2004-05-28 13:45 Jim Seymour <jseymour@linxnet.com>
0 siblings, 0 replies; 3+ messages in thread
From: jseymour@linxnet.com @ 2004-05-28 13:45 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-05-28 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28 03:05 Compiling problems with 7.4.2 Renney Thomas <renneyt@yahoo.com>
2004-05-28 04:41 ` Bruce Momjian <pgman@candle.pha.pa.us>
2004-05-28 13:45 Re: Compiling problems with 7.4.2 Jim Seymour <jseymour@linxnet.com>
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