Re: Compilation problem
| From: | Keith Geffert | Date: | Wed, 07 Mar 2001 20:16:01 +0000 |
| Subject: | Re: Compilation problem | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-513@lists.php.net to get a copy of this message | ||
Hello Nelio,
While the website suggests there is a distributed version of php that
will work there is no real release that has everything needed by
php-gtk. It requires php-4.0.5-dev which as far as I know only
available via anonymous cvs access.
You also need to compile it as a cgi version and not the apache DSO
module version. I suggest getting the cvs, and installing it to a
different prefix.... /usr/local/ and make sure the ini file is deposited
in /usr/local/etc. You can then modify that ini to work with php-gtk.
Your php binary will then be in /usr/local/bin/
On 07 Mar 2001 16:31:29 -0300, Nelio Alves Pereira Filho wrote:
> Hi there.
>
> I'm trying to compile php-gtk in a FreeBSD box, with but I get the
> message:
>
> php_gtk_types.c: In function `php_if_gdk_window_new_gc':
> php_gtk_types.c:313: too many arguments to function
> `zend_hash_get_current_key_ex'
> gmake[2]: *** [php_gtk_types.slo] Error 1
> gmake[2]: Leaving directory `/usr/home/nelio/php-gtk-0.0.1/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/home/nelio/php-gtk-0.0.1/src'
> gmake: *** [all-recursive] Error 1
>
> Here is what I'm using:
>
> FreeBSD 4.2-RELEASE FreeBSD 4.2-RELEASE
> Apache/1.3.14 (Unix) PHP/4.0.4pl1 mod_perl/1.24
> gtk-1.2.8
>
>
>
> What's wrong?
>
> Tks
>
> --
> Nelio Alves Pereira Filho
> IFX Networks - www.ifx.com.br
> +55 11 3365-5863
> nelio@ifx.com.br
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>