Re(2): PHP make failure -- why?

From: "Gary Hoffman" <ghoffman(at)ucsd(dot)edu>
To: jlarson(at)harrison(dot)org
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re(2): PHP make failure -- why?
Date: 2001-04-25 05:55:15
Message-ID: fc.00249f0e00153de000249f0e00151969.153f24@irpsmail.ucsd.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)harrison(dot)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(at)ucsd(dot)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/ *
**************************************************************************

In response to

Browse pgsql-php by date

  From Date Subject
Next Message imago 2001-04-26 15:30:04 data type casting to numbers with intval() or doubleval()
Previous Message Gary Hoffman 2001-04-24 15:30:50 PHP make failure -- why?