Re: Small install problem

From: Date: Mon, 05 Mar 2001 02:29:10 +0000
Subject: Re: Small install problem
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-265@lists.php.net to get a copy of this message
On Sunday 04 March 2001 19:28, Andrei Zmievski wrote: > At 07:38 AM 3/4/01 -0500, Andrew Lawrence wrote: > >I just installed 0.0.1 on Debian GNU/Linux 2.2 (potato) with GTK 1.2.7. > Why wasn't it able to find gtk-config? I have gtk-config in /usr/bin as > well and it works for me. I believe the problem is with phpize. I just retried a fresh install from the same tar ball and everything is working ok. The error I was getting was: *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path to gtk-config The error seemed to be caused by: In the section following: # Extract the first word of "gtk-config" .... The line GTK_CONFIG="$ac_cv_path_GTK_CONFIG" follows the "FI" for the "eval" test instead of preceding it. This resulted in GTK_CONFIG being set to "no" even though it had previously been set to /usr/bin/gtk-config. Yesterday, I know the "eval" was returning true... i.e. Testing for gtk-config (cached) today its not. Hope this helps. -- Andrew Lawrence Smoke & Mirrors http://www.smoke-and-mirrors.net Tel: 416 461-8708 Fax: 416 461-1758

« previous php.gtk (#265) next »