www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/18/16:59:46

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
Message-ID: <20030818205916.71833.qmail@web20506.mail.yahoo.com>
Date: Mon, 18 Aug 2003 16:59:16 -0400 (EDT)
From: Edmond Gradin <edgradin AT yahoo DOT ca>
Subject: rebuilding mod_php4 4.2.0-2 problem
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hi everybody,

The original binary package mod_php4 4.2.0-2 works
fine with postgresql support.
Now I want to rebuild mod_php in order to use the
"Calendar functions", with the option
"--enable-calendar".

I followed the indications from the file
"\usr\doc\Cygwin\php-4.2.0-2.README"

So I apply the cygwin patch:
$ cd /usr/src
$ patch -p0 <
php-4.2.0-2/CYGWIN-PATCHES/php-4.2.0-2.patch
patching file php-4.2.0-2/ext/openssl/openssl.c
patching file php-4.2.0-2/ext/pgsql/config.m4
patching file php-4.2.0-2/ext/xml/expat/expat.h

Then I run autoconf:
$ cd /usr/src/php-4.2.0-2
$ autoconf
configure.in:40: warning: do not use m4_patsubst: use
patsubst or m4_bpatsubst
configure.in:187: warning: AC_PROG_LEX invoked
multiple times
configure.in:1259: warning: do not use m4_regexp: use
regexp or m4_bregexp

Rem: I don't understand the above warnings.

Then when I run:
configure --with-apxs=/usr/sbin/apxs --without-mysql
--with-pgsql --enable-calendar

I got:
.....
configure: error: Cannot find libpq.so. Please specify
correct PostgreSQL installation path

Actually "autoconf" program generates the "configure"
file with this code:
.....
      if test -f "$i/$j/libpq.so"; then
.....

But it should use this file ?
/usr/lib/libpq.a

Do I have to change "configure.in" file manually to
consider the file .../ext/pgsql/config.m4 ? How ?

I would like also to know what are the original
paramenters for configure used to build the original
binary package.

My OS is Windows 2000 profesional.
autoconf                2.54-1
cygwin                  1.3.22-1
postgresql              7.3.3-1
apache                  1.3.24-5

Thanks.


______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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