From: Gary Hoffman <ghoffman@ucsd.edu>
To: jlarson@harrison.org
Cc: pgsql-php@postgresql.org
Subject: Re(2): PHP make failure -- why?
Date: Tue, 24 Apr 2001 22:55:15 -0700
Message-ID: <fc.00249f0e00153de000249f0e00151969.153f24@irpsmail.ucsd.edu> (raw)
In-Reply-To: <9556729468.20010424174401@harrison.org>
References: <fc.00249f0e0015196900249f0e00151969.1520f1@irpsmail.ucsd.edu>
<9556729468.20010424174401@harrison.org>
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/ *
**************************************************************************
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: ghoffman@ucsd.edu, jlarson@harrison.org
Subject: Re: PHP make failure -- why?
In-Reply-To: <fc.00249f0e00153de000249f0e00151969.153f24@irpsmail.ucsd.edu>
References: <fc.00249f0e0015196900249f0e00151969.1520f1@irpsmail.ucsd.edu> <9556729468.20010424174401@harrison.org> <fc.00249f0e00153de000249f0e00151969.153f24@irpsmail.ucsd.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox