Home > Archive > Porting PostgreSQL > December 2005 > Postgresql 7.3.4 on Mac OS X (processor i386)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Postgresql 7.3.4 on Mac OS X (processor i386)
Shyam Sunder

2005-12-21, 3:24 am

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com