delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/17/09:11:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 17 Sep 2002 09:14:47 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: PHP Apache module with PostgreSQL support
In-reply-to: <IOEFIOCBAFPGBCJCLFMEMEJECDAA.news.Andreas@gmx.net>
To: Andreas <news DOT Andreas AT gmx DOT net>
Cc: cygwin AT cygwin DOT com
Mail-followup-to: Andreas <news DOT Andreas AT gmx DOT net>, cygwin AT cygwin DOT com
Message-id: <20020917131447.GC540@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20020916175437 DOT GP424 AT tishler DOT net>
<IOEFIOCBAFPGBCJCLFMEMEJECDAA DOT news DOT Andreas AT gmx DOT net>

Andreas,

On Tue, Sep 17, 2002 at 01:11:47PM +0200, Andreas wrote:
> > > Step [5] breaks with:
> > > ...
> > > checking for PostgreSQL support... yes
> > > configure: error: Cannot find libpq.so. Please specify correct
> > PostgreSQL installation path
> >
> > My WAG (without checking the source) is that you will need to patch
> > configure.in to deal with the Cygwin platform.
> 
> Thank you!

You are welcome, but I only stated the obvious above.

> Is this something different? (I did the similar with pgsql before I
> installed pgsql from source.) The output of the above line is:
> ...
> patching file 'php-4.2.0-1/ext/pgsql/config.m4
> ...
> 
> libpq.so is mentioned in the config.m4.
> 
> Could you explain what should be patched in the configure.in script,
> please?

Then you may need to patch config.m4 instead (again, I have not checked
the source).  The bottom line is that under Cygwin the check for the
existence of the pq library must look for either libpq.a (i.e., import
library) or pq.dll (i.e., shared library).  Choose the one that
minimizes the patch.

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019