X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id AA5AB9DC822 for ; Thu, 19 Jan 2006 12:28:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47514-06 for ; Thu, 19 Jan 2006 12:28:50 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web33505.mail.mud.yahoo.com (web33505.mail.mud.yahoo.com [68.142.206.154]) by postgresql.org (Postfix) with SMTP id D98979DC820 for ; Thu, 19 Jan 2006 12:28:49 -0400 (AST) Received: (qmail 85660 invoked by uid 60001); 19 Jan 2006 16:28:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4jfcpqVdwqYCANIPxCNTCKpZTgu0GnCGVkA+oaOw9zT2HgaimcH7ZBQd0I48tVrihA2QYN7E6lPf3CgXrN6NL/Qg/mH+2tel35mVy2W5tOj1EWw9uQf2/BaaHsTmJqXXPJOw0rACuzVZVwr007qdFLcy2qpueROxVlIoDlJlsSE= ; Message-ID: <20060119162848.85658.qmail@web33505.mail.mud.yahoo.com> Received: from [202.54.176.50] by web33505.mail.mud.yahoo.com via HTTP; Thu, 19 Jan 2006 16:28:48 GMT Date: Thu, 19 Jan 2006 16:28:48 +0000 (GMT) From: Nishant Subject: Postgresql7.4.11 compilation failing on Mac Intels To: pgsql-ports@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.479 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.479 X-Spam-Level: X-Archive-Number: 200601/1 X-Sequence-Number: 2285 Hi, I was compiling the sources of postgresql 7.4.11 on a MAC OS X version 10.4.1 with Intel Pentium 4 processor. I am getting the following error: =========================== gnumake -C transam SUBSYS.o gcc -O2 -fno-strict-aliasing -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: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@postgresql.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 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 ================================================= I then went ahead and used the --disable-spinlocks option. But it errored out again with the following message: ================================================= 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 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 ================================================== Are there any specific steps to be followed to compile pgsql on MAC - Intel machines? Pointers needed on how to compile postgresql on mac-intel machines. My gcc version is i686-apple-darwin8-gcc-4.0.0 (build 5026) Thanks and Regards, Nishant ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com