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

Postgresql 7.3.4 on Mac OS X (processor i386)

From: Shyam Sunder <lnu129(at)gmail(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Postgresql 7.3.4 on Mac OS X (processor i386)
Date: 2005-12-16 22:43:19
Message-ID: 8176dd60512161443w1e33f883t36db7fda8b53cf38@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-ports
Hi,

I was trying to run posgresql 7.3.4 database on Mac OS X (processor i386).
But behavior of database is very unreliable. Some information on
current behavior is :

1) Postgresql database (version 7.3.4 ) was build on Mac OS X (PPC).
2) It is working perfactly fine on Mac OS X (PPC).
3) When tried to start the database on Mac OS X (processor i386)
behavior is unreliable like :
 a) Multiple sessions of same database are running, which I never saw on PPC.
 b) Tried to stop the sessions manually, the stop failed.
 c) Restart system, databae does not start up verified that there was
not PID file already present in data folder.

I tried to build the database from 7.3.4 sources but it failed at
gnumake with following error message :

***************************************************************************************
gnumake -C transam SUBSYS.o
gcc -g -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include   -c -o clog.o clog.c
gcc -g -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include   -c -o transam.o transam.c
gcc -g -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include   -c -o varsup.o varsup.c
gcc -g -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include   -c -o xact.o xact.c
gcc -g -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include   -c -o xid.o xid.c
gcc -g -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include   -c -o xlog.o xlog.c
In file included from ../../../../src/include/storage/spin.h:50,
                 from xlog.c:38:
../../../../src/include/storage/s_lock.h:511: error: conflicting types
for 'slock_t'
../../../../src/include/pg_config_os.h:11: error: previous declaration
of 'slock_t' was here
gnumake[4]: *** [xlog.o] Error 1
gnumake[3]: *** [transam-recursive] Error 2
gnumake[2]: *** [access-recursive] Error 2
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
Failed at gnumake
***************************************************************************************

Thanks in advance.

Regards,
Shyam

pgsql-ports by date

Next:From: NishantDate: 2005-12-19 08:58:39
Subject: Compiling postgresql on Mac Intel machines
Previous:From: Tom LaneDate: 2005-12-13 18:03:50
Subject: Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible

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