Thread: plphp1.1 make fails

plphp1.1 make fails

From
CSN
Date:
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
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


Re: plphp1.1 make fails

From
Russell Smith
Date:
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
>
>