Re: [HACKERS] plPHP in core?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, "Psql_General (E-mail)" <pgsql-general(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] plPHP in core?
Date: 2005-04-05 15:15:00
Message-ID: 13652.1112714100@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

=?iso-8859-1?q?Mart=EDn_Marqu=E9s?= <martin(at)bugs(dot)unl(dot)edu(dot)ar> writes:
> El Lun 04 Abr 2005 17:36, Tom Lane escribi:
>> Perl and Python don't have "BuildPrereq: postgresql-devel" in their rpmspecs.
>> PHP does.

> The header files would not be a problem. The real problem is that you also
> need to have postgresql-libs. :-(

Actually the header files are a problem too, because you can't have 'em
without doing at least a "configure" to generate the machine-specific ones.
The configure would already fail if PHP weren't installed and --with-php
were mentioned. So the process would have to look something like
-- configure PG, but lie about your ultimate intentions
-- install bogus PG header files
-- build and install PHP
-- reconfigure PG, and hope you don't mess up by changing
anything except the --with-php flag
-- build and install PG
This is just not reasonable from a packaging standpoint.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2005-04-05 15:26:24 Re: [HACKERS] plPHP in core?
Previous Message Tom Lane 2005-04-05 15:07:38 Re: installation AIX - LINUX

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-04-05 15:22:21 Re: Should we still require RETURN in plpgsql?
Previous Message Tom Lane 2005-04-05 15:05:34 Re: [HACKERS] plPHP in core?