Re: plphp1.1 make fails

From: Russell Smith <mr-russ(at)pws(dot)com(dot)au>
To: CSN <cool_screen_name90001(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plphp1.1 make fails
Date: 2005-05-06 10:29:08
Message-ID: 200505062029.08854.mr-russ@pws.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 6 May 2005 07:50 pm, CSN wrote:
> I followed the new instructions (patch, autoconf,
> configure --with-php=/usr/lib/apache/libphp5.so, etc.)
> and get this error when running 'make':
>
> make[3]: Entering directory
> `/usr/local/src/postgresql-8.0.2/src/pl/plphp'
> patching file php.h
It couldn't find your php.h
/usr/include/php/main/php.h

That is the standard location for it. if you don't have it, maybe you installed
from a binary. And you many need php-devel to be able to patch your setup.
I have no idea what distribution or OS you are using, so this is purely a guess.

> Hunk #1 FAILED at 291.
> 1 out of 1 hunk FAILED -- saving rejects to file
> php.h.rej
> make[3]: *** [php.h] Error 1
> make[3]: *** Deleting file `php.h'
> make[3]: Leaving directory
> `/usr/local/src/postgresql-8.0.2/src/pl/plphp'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/usr/local/src/postgresql-8.0.2/src/pl'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/usr/local/src/postgresql-8.0.2/src'
> make: *** [all] Error 2
>
> Know what the problem is?
>
> Thanks,
> CSN
>
>
>
>
> Yahoo! Mail
> Stay connected, organized, and protected. Take the tour:
> http://tour.mail.yahoo.com/mailtour.html
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2005-05-06 12:10:48 Re: postgresql replication
Previous Message CSN 2005-05-06 09:50:22 plphp1.1 make fails