Postgresql 7.3.4 on Mac OS X (processor i386)

Поиск
Список
Период
Сортировка
От Shyam Sunder
Тема Postgresql 7.3.4 on Mac OS X (processor i386)
Дата
Msg-id 8176dd60512161443w1e33f883t36db7fda8b53cf38@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: 'point' test suite failure on arm
Следующее
От: Nishant
Дата:
Сообщение: Compiling postgresql on Mac Intel machines