Re: Install PHP GTK --with-php-config

From: Date: Tue, 05 Feb 2002 08:42:06 +0000
Subject: Re: Install PHP GTK --with-php-config
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1124@lists.php.net to get a copy of this message
Hi Henning, I give you here more detail about my install process For the Install I don't take the CVS branch First a week ago I download php-4.1.1 and I install it : 1) as an apache module (with-apxs and so on..), it works 2) as a command line shell in /phpscript, it works Second, two days ago I download php-gtk.0.5.0 As all other I untar in my install directory which is /usr/local/xtra_targz When configure ask for --with-php-config, I make the assumption it asks for the the php-config file which is in the bin directory of my command-line PHP which is installed in the directory /phpscript The PHP installed as a command line is here : /phpscript/bin/php The php-config file is here : /phpscript/bin/php-config From the /usr/local/xtra_targz/php-gtk-0.5.0 I run buildconf (I have to correct some PATH in build.mk) it works. I put a symbolic link from /bin to /phpscript/bin When I run ./configure as : ./configure --prefix=/phpscript --with-php-config=/phpscript/bin/php-config each time inside the verbose messages of ./configure I have : ... checking for PHP-GTK support...yes, shared checking for gawk... gawk ./configure: php-config command not found checking for php in /bin ... found ..... And of course after that, the make fails... Have vou some idea, Thanks for your help ? Marcel ----- Original Message ----- From: Henning Sprang <henning@sprang.de> To: Marcel Bariou <bariou@brasnah.com> Cc: <php-gtk-general@lists.php.net> Sent: Monday, February 04, 2002 12:57 PM Subject: Re: [PHP-GTK] Install PHP GTK --with-php-config > On Sun, Feb 03, 2002 at 07:10:18PM +0100, Marcel Bariou wrote: > > PHP was previously installed as a command line script. In the directory > > /phpscript. I download the GTK.tar.gz in my install diirectory, I untar > > and run ./buildconf with a right path for phpize. it works. > > > > When I start ./configure, tell me please the path of what I have to put > > with the option --with-php-config the path to which file ? > > > i am just guessing now, i am not sure if i really understood you and it's not tested, > but when ./configure aks for --with-php-config I would think ot wants/needs > the path to the script "php-config" whichg is installed with php. > > it should normally be found in the same place as the php binary, which is not a > script, but needed to _run_ scripts. this is really a difference! so > php-script is not a correct label for the php binary, php-script is generally > used for scripts _written_ _in_ php. the executable file used to interpret > those scripts written in php is gerenally called "the php binary" or "php > executable". Just to let you know and prevent you from future > misunderstandings. > > > hth, > henning > > > > -- > Henning Sprang, henning@sprang.de, http://www.sprang.de/ >

« previous php.gtk.general (#1124) next »