Re: [PORTS] Help needed to complile postgresql on Mac.

"Brian A. Seklecki" <[email protected]>
Newsgroups gmane.comp.db.postgresql.ports,gmane.os.netbsd.help
Message-ID <1128869869.3294.53.camel@compulsion>
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)


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.