Re: Installation on RH6.2
| From: | Keith Geffert | Date: | Sat, 10 Mar 2001 04:50:57 +0000 |
| Subject: | Re: Installation on RH6.2 | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-652@lists.php.net to get a copy of this message | ||
On 10 Mar 2001 15:44:41 +0000, Martin Cameron wrote:
> I'm having a problem installing on RH6.2. I keep getting the following
> error whether it be from the cvs download or the FTP download:
>
>
>
> cd /usr/src/php-gtk/./src \
> && php -q /usr/src/php-gtk/generator/generator.php gtk.defs
> gtk.overrides
> /bin/sh: php: command not found
The line above is the problem. "php: command not found". I'm assuming
you have the standard php stuff installed from redhat. Two things are
not quite right here. 1) there is no redhat rpm new enough to support
php-gtk. 2) Redhat installs the Apache DSO module version, hence the
package name mod-php.
You need to download and compile a recent snapshot of php
http://snaps.php.net/ or you need to get the cvs version of
php, which
you can find instructions on the php download page on
http://www.php.net/anoncvs.php. You need to compile it
as a CGI and not
the apache module. Once you compile the CGI version of php (and make
install it) you shouldn't have too much more trouble compiling php-gtk.