Thread

  1. Re: Re: php Compile question

    Martin Marques <martin@bugs.unl.edu.ar> — 2001-04-04T15:52:03Z

    On Wednesday 04 April 2001 22:52, Alex Howansky wrote:
    > > This has been discussed quite a few times recently (in fact, I posted a
    > > similar reply yesterday). From Tom Lane:
    > >
    > > "Change php_pgsql.h to refer to postgres_fe.h not postgres.h."
    >
    > ... or symlink postgres.h to postgres_fe.h ...
    
    Or get a cvs of PHP! :-)
    
    -- 
    El mejor sistema operativo es aquel que te da de comer.
    Cuida tu dieta.
    -----------------------------------------------------------------
    Martin Marques                  |        mmarques@unl.edu.ar
    Programador, Administrador      |       Centro de Telematica
                           Universidad Nacional
                                del Litoral
    -----------------------------------------------------------------
    
    
  2. php Compile question

    Joseph <lters@mrtc.com> — 2001-04-04T17:54:06Z

    I am switching from rpm install of postgres to the compiled version.
    I have this running fine, but now my php4 quit working.
    
    So I am trying to compile it and have the error that it cannot find
    postgres.h
    
    Does it need to look for another file or do I need to tell it where to look
    for it?
    
    
    respectfully,
    Joseph
    
    
    
  3. Re: php Compile question

    Gordon A. Runkle <gar@integrated-dynamics.com> — 2001-04-04T18:54:14Z

    In article <JBEPLLKEDKIHJBCHDDOGGELDCAAA.lters@mrtc.com>, "Joseph"
    <lters@mrtc.com> wrote:
    
    > I am switching from rpm install of postgres to the compiled version. I
    > have this running fine, but now my php4 quit working.
    > 
    > So I am trying to compile it and have the error that it cannot find
    > postgres.h
    > 
    > Does it need to look for another file or do I need to tell it where to
    > look for it?
    
    I had that problem too, as recently as RC2.  I copied
    the file myself, as well as the util/ directory (in
    src/include/), which is also needed.
    
    Not sure why make install doesn't do it...
    
    Gordon.
    
    -- 
    It doesn't get any easier, you just go faster.
       -- Greg LeMond
    
    
  4. Re: php Compile question

    Gregory Wood <gregw@com-stock.com> — 2001-04-04T19:27:08Z

    This has been discussed quite a few times recently (in fact, I posted a
    similar reply yesterday). From Tom Lane:
    
    "Change php_pgsql.h to refer to postgres_fe.h not postgres.h."
    
    Greg
    
    ----- Original Message -----
    From: "Gordon A. Runkle" <gar@integrated-dynamics.com>
    To: <pgsql-general@postgresql.org>
    Sent: Wednesday, April 04, 2001 2:54 PM
    Subject: Re: php Compile question
    
    
    > In article <JBEPLLKEDKIHJBCHDDOGGELDCAAA.lters@mrtc.com>, "Joseph"
    > <lters@mrtc.com> wrote:
    >
    > > I am switching from rpm install of postgres to the compiled version. I
    > > have this running fine, but now my php4 quit working.
    > >
    > > So I am trying to compile it and have the error that it cannot find
    > > postgres.h
    > >
    > > Does it need to look for another file or do I need to tell it where to
    > > look for it?
    >
    > I had that problem too, as recently as RC2.  I copied
    > the file myself, as well as the util/ directory (in
    > src/include/), which is also needed.
    >
    > Not sure why make install doesn't do it...
    >
    > Gordon.
    >
    > --
    > It doesn't get any easier, you just go faster.
    >    -- Greg LeMond
    >
    > ---------------------------(end of broadcast)---------------------------
    > TIP 5: Have you checked our extensive FAQ?
    >
    > http://www.postgresql.org/users-lounge/docs/faq.html
    >
    
    
    
    
  5. Re: php Compile question

    Alex Howansky <alex@wankwood.com> — 2001-04-04T19:52:25Z

    > This has been discussed quite a few times recently (in fact, I posted a
    > similar reply yesterday). From Tom Lane:
    >
    > "Change php_pgsql.h to refer to postgres_fe.h not postgres.h."
    
    ... or symlink postgres.h to postgres_fe.h ...
    
    -- 
    Alex Howansky
    Wankwood Associates
    http://www.wankwood.com/
    
    
    
  6. Re: Re: php Compile question

    Tom Lane <tgl@sss.pgh.pa.us> — 2001-04-04T20:20:33Z

    "Gregory Wood" <gregw@com-stock.com> writes:
    > This has been discussed quite a few times recently (in fact, I posted a
    > similar reply yesterday). From Tom Lane:
    
    > "Change php_pgsql.h to refer to postgres_fe.h not postgres.h."
    
    Or just remove that #include entirely, which is what I believe the PHP
    guys will do in their next release.  It hasn't been necessary for awhile.
    
    Or do Postgres' "make install-all-headers", if you don't want to touch
    the PHP code.
    
    			regards, tom lane