This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rebuilding mod_php4 4.2.0-2 problem


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]