X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D8C98D96AA for ; Sun, 9 Oct 2005 11:57:48 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01939-05 for ; Sun, 9 Oct 2005 14:57:43 +0000 (GMT) Received: from deadset.initzer0.com (deadset.initzer0.com [216.170.102.137]) by svr1.postgresql.org (Postfix) with ESMTP id A479BD9690 for ; Sun, 9 Oct 2005 11:57:45 -0300 (ADT) Received: from [192.168.1.13] (compulsion.priv.initzer0.com [192.168.1.13]) by deadset.initzer0.com (Postfix) with ESMTP id 043E579092; Sun, 9 Oct 2005 10:58:57 -0400 (EDT) Subject: Re: Help needed to complile postgresql on Mac. From: "Brian A. Seklecki" To: FC Cc: netbsd-help@netbsd.org, pgsql-ports@postgresql.org In-Reply-To: <1128868560.3294.44.camel@compulsion> References: <4687059F-D04E-48F8-A3AD-F2806B3AEF35@myamail.com> <1128868560.3294.44.camel@compulsion> Content-Type: text/plain Message-Id: <1128869869.3294.53.camel@compulsion> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-5.1.100mdk Date: Sun, 09 Oct 2005 10:57:49 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200510/5 X-Sequence-Number: 2221 On Sun, 2005-10-09 at 10:36, Brian A. Seklecki wrote: > Is libpq.dylib getting built? Is it there and just not being found? If > so, you may need the LDFLAGS/CFLAGS settings from: > > http://darwinports.opendarwin.org/darwinports/dports/databases/postgresql8/Portfile > > If it's not being built, capture a log with 'script' and submit a > send-pr(1) > Also some interesting things at: http://cvs.sourceforge.net/viewcvs.py/fink/dists/10.4-transitional/unstable/main/finkinfo/database/postgresql80-unified.patch?rev=1.1&view=auto Whatever happens, make sure the fix gets fed back upstream to the PostgreSQL source tree. Effectively, pkgsrc, fink, and darwinports are overlapping in efforts here.. ~BAS --- postgresql-8.0.2/src/Makefile.shlib Sat Nov 20 16:13:04 2004+++ postgresql-8.0.2-new/src/Makefile.shlib Mon Apr 11 21:18:41 2005@@ -101,11 +101,11 @@ ifeq ($(DLTYPE), library) # linkable library DLSUFFIX := .dylib - LINK.shared = $(COMPILER) -dynamiclib -install_name $(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX) $(version_link) -multiply_defined suppress+ LINK.shared = $(CXX) $(CFLAGS) -dynamiclib -install_name $(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX) $(version_link) -multiply_defined suppress else # loadable module (default case) DLSUFFIX := .so - LINK.shared = $(COMPILER) -bundle+ LINK.shared = $(CXX) $(CFLAGS) -bundle endif shlib = lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX) shlib_major = lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)