Re(2): PHP make failure -- why? - Mailing list pgsql-php

From Gary Hoffman
Subject Re(2): PHP make failure -- why?
Date
Msg-id fc.00249f0e00153de000249f0e00151969.153f24@irpsmail.ucsd.edu
Whole thread Raw
In response to PHP make failure -- why?  ("Gary Hoffman" <ghoffman@ucsd.edu>)
List pgsql-php
Well, I tried this suggestion, but it didn't alter the result, and I get
exactly the same error message when the make fails. I wonder if Apple's
libtool is out of whack.

Thanks,
Gary


jlarson@harrison.org writes:
>PostgreSQL 7.1 support:
>$ cd <php-src-dir>/ext/pgsql/
>$ sed "s/postgres.h/postgres_fe.h/" php_pgsql.h > php_pgsql.h.tmp
>$ mv php_pgsql.h.tmp php_pgsql.h
>
>
>GH> To PHP-PG fans,
>
>GH> I've successfully compiled and installed Apache 1.3.19, PHP 4.0.4 and
>GH> PostGreSQL 7.1 onto my new Mac OS X (10.0.1) iMac. Each works in
>GH> stand-alone mode. Now I'm recompiling Apache to work with PHP and PHP
>to
>GH> work with Postgres, but I'm getting a failure during the make phase of
>GH> PHP, using gmake 3.79.
>
>GH> Here are the options I used to configure the PHP 4.0.4pl1 installer:
>
>GH> ./configure --with-pgsql --without-mysql --with-xml
>GH> --with-apxs=/usr/sbin/apxs --disable-pear
>GH> --libexecdir=/Library/Apache/Modules
>
>GH> And here is the message I get part way through the make.
>
>GH> ~/php-4.0.4pl1/.libs/libphp4.lax/libtsrm.al
>GH> /usr/bin/ld: table of contents for archive:
>/usr/local/pgsql/lib/libpq.a
>GH> is out
>GH> of date; rerun ranlib(1) (can't load from it)
>GH> make[1]: *** [libphp4.la] Error 1
>GH> make[1]: Leaving directory `/Users/ghoffman/php-4.0.4pl1'
>GH> make: *** [all-recursive] Error 1
>
>GH> Can I buy a clue as to where to begin to debug this problem?
>
>GH> Thanks,
>GH> Gary



**************************************************************************
* Gary B. Hoffman, Computing Services Manager  e-mail: ghoffman@ucsd.edu *
* Graduate School of International Relations and Pacific Studies (IR/PS) *
* University of California, San Diego (UCSD)       voice: (858) 534-1989 *
* 9500 Gilman Dr. MC 0519                            fax: (858) 534-3939 *
* La Jolla, CA 92093-0519 USA             web: http://www-irps.ucsd.edu/ *
**************************************************************************




pgsql-php by date:

Previous
From: "Gary Hoffman"
Date:
Subject: PHP make failure -- why?
Next
From: Wesley Leonard
Date:
Subject: Re: data type casting to numbers with intval() or doubleval()