cvs: php-gtk /docs global.ent /docs/en/chapters install.xml

From: Date: Wed, 07 Mar 2001 00:14:00 +0000
Subject: cvs: php-gtk /docs global.ent /docs/en/chapters install.xml
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-441@lists.php.net to get a copy of this message
jmoore Tue Mar 6 16:14:00 2001 EDT Modified files: /php-gtk/docs global.ent /php-gtk/docs/en/chapters install.xml Log: Unix install instructions Index: php-gtk/docs/global.ent diff -u php-gtk/docs/global.ent:1.1 php-gtk/docs/global.ent:1.2 --- php-gtk/docs/global.ent:1.1 Tue Mar 6 14:58:06 2001 +++ php-gtk/docs/global.ent Tue Mar 6 16:14:00 2001 @@ -1,6 +1,6 @@ <!-- -*- SGML -*- - $Id: global.ent,v 1.1 2001/03/06 22:58:06 jmoore Exp $ + $Id: global.ent,v 1.2 2001/03/07 00:14:00 jmoore Exp $ Contains global "macros" for all the SGML documents. @@ -11,6 +11,7 @@ <!ENTITY url.gtk "http://www.gtk.org/"> <!ENTITY url.php "http://www.php.net/"> +<!ENTITY url.php.anoncvs "http://www.php.net/anoncvs.php"> <!ENTITY url.phpgtk "http://gtk.php.net/"> <!ENTITY email.andrei 'andrei@php.net'> Index: php-gtk/docs/en/chapters/install.xml diff -u php-gtk/docs/en/chapters/install.xml:1.3 php-gtk/docs/en/chapters/install.xml:1.4 --- php-gtk/docs/en/chapters/install.xml:1.3 Tue Mar 6 15:41:50 2001 +++ php-gtk/docs/en/chapters/install.xml Tue Mar 6 16:14:00 2001 @@ -80,13 +80,41 @@ </itemizedlist> </para> </listitem> - </itemizedlist> - </para> - <note> - <simpara> - php-gtk has <emphasis>NOT</emphasis> been tested on Windows 95/98 - </simpara> - </note> + </para> + </itemizedlist> + <note> + <simpara> + php-gtk has <emphasis>NOT</emphasis> been tested on Windows 95/98 + </simpara> + </note> </sect1> + <sect1 id="install.unix"> + <title>Installing PHP GTK Under Unix</title> + <para> + We suggest you get the latest source from <ulink url="&url.phpgtk;">&url.phpgtk;</ulink> + or from anonymous cvs <ulink url="&url.php.anoncvs;">&url.php.anoncvs</ulink>. You need the + php-gtk module. + </para> + <para> + Now run the phpize script which is installed with php, it will set up necessary files + and create 'configure' script for you. Next, run <command>./configure</command>. It will + check that you have proper version of GTK+ (avalible from + <ulink url="&url.gtk;">&url.gtk;</ulink> and other files required for compilation and + create the needed Makefile's. + <para> + <simpara> + Finally, run <command>make</command> to compile the extension. Some source files + are generated from .defs files by the code generator. If you see messages like &quot;Could + not write...&quot;, that just means that certain GTK+ objects or features are not yet + supported. If the compilation is successful, run <command>make install</command> to install + the extension into your default PHP extension directory (usually + <filename>/usr/local/lib/php/extensions</filename>). + </simpara> + <simpara> + To test the extension, try running the example scripts in the test/ directory, + especially <filename>gtk.php</filename>. These are also good for showing how + the extension can be used. + </simpara> + </sect1> </chapter>

« previous php.gtk (#441) next »