Re: [GENERAL] plPHP in core? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] plPHP in core?
Date
Msg-id 13652.1112714100@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] plPHP in core?  (Martín Marqués <martin@bugs.unl.edu.ar>)
List pgsql-hackers
=?iso-8859-1?q?Mart=EDn_Marqu=E9s?= <martin@bugs.unl.edu.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

pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: Should we still require RETURN in plpgsql?
Next
From: Tom Lane
Date:
Subject: Re: Should we still require RETURN in plpgsql?