dbTalk Databases Forums  

[BUGS] error compiling 7.4.13 on OSX 10.4.8 -- Intel

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] error compiling 7.4.13 on OSX 10.4.8 -- Intel in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Stan Kaufman
 
Posts: n/a

Default [BUGS] error compiling 7.4.13 on OSX 10.4.8 -- Intel - 10-04-2006 , 02:29 PM






Attempting to compile PG 7.4.13 on a MBP (OSX 10.4.8, Intel), this happens:

===
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I/sw/include/ -c -o
xlog.o xlog.c
In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
.../../../../src/include/storage/s_lock.h:543:2: error: #error PostgreSQL
does not have native spinlock support on this platform. To continue the
compilation, rerun configure using --disable-spinlocks. However,
performance will be poor. Please report this to pgsql-bugs (AT) postgresql (DOT) org.
In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
.../../../../src/include/storage/s_lock.h:551: error: conflicting types
for 'slock_t'
.../../../../src/include/pg_config_os.h:11: error: previous declaration
of 'slock_t' was here
make[4]: *** [xlog.o] Error 1
make[3]: *** [transam-recursive] Error 2
make[2]: *** [access-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
===

I gather this means that PG 7.4.13 is incompatible with Intel Macs?

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote
  #2  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: [BUGS] error compiling 7.4.13 on OSX 10.4.8 -- Intel - 10-04-2006 , 02:36 PM







I suggest you use the newer 8.1.X.

---------------------------------------------------------------------------

Stan Kaufman wrote:
Quote:
Attempting to compile PG 7.4.13 on a MBP (OSX 10.4.8, Intel), this happens:

===
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I/sw/include/ -c -o
xlog.o xlog.c
In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
../../../../src/include/storage/s_lock.h:543:2: error: #error PostgreSQL
does not have native spinlock support on this platform. To continue the
compilation, rerun configure using --disable-spinlocks. However,
performance will be poor. Please report this to pgsql-bugs (AT) postgresql (DOT) org.
In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
../../../../src/include/storage/s_lock.h:551: error: conflicting types
for 'slock_t'
../../../../src/include/pg_config_os.h:11: error: previous declaration
of 'slock_t' was here
make[4]: *** [xlog.o] Error 1
make[3]: *** [transam-recursive] Error 2
make[2]: *** [access-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
===

I gather this means that PG 7.4.13 is incompatible with Intel Macs?

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
--
Bruce Momjian bruce (AT) momjian (DOT) us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

---------------------------(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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.