Re: ./buildconf not working with php5/head php-gtk/head
| From: | Markus Fischer | Date: | Sun, 24 Apr 2005 17:59:46 +0000 |
| Subject: | Re: ./buildconf not working with php5/head php-gtk/head | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1106@lists.php.net to get a copy of this message | ||
Sorry for the long delay, unfortunately, it still doesn't work for me.
I really start to suspect my system is broken but not in a traceable way for me; or on the other it's something obvious I'm missing.
I'm testong debian sarge, currently up2date. I've installed PHP from the PHP_5_0 branch (which is currently named 5.0.5-dev).
autoconf reports 2.13
libtool reports 1.4.3
flex reports 2.5.4
The installed gtk version is 2.6.4, there are no multiple installations left
php-gtk is from current HEAD (cvs updating everytime before I run a new test build)
I've one apache php5 installation on my system which is in non-standard /opt/php5 . I've taking it our of the path and made my own installation in ~/install/php5 and made sure no other php5 files are in the path.
I used the following commands:
PHP:
./buildconf && ./configure --prefix=/home/mfischer/install/php5 && make && make install
PHP-GTK:
./buildconf && ./configure && make && make install
The relevant last lines are:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
Installing PHP SAPI module: cgiInstalling PHP CGI into: /home/mfischer/install/php5/bin/
Installing PEAR environment: /home/mfischer/install/php5/lib/php/ [PEAR] Archive_Tar - installed: 1.1[PEAR] Console_Getopt - installed: 1.2
[PEAR] PEAR - installed: 1.3.5Wrote PEAR system config file at: /home/mfischer/install/php5/etc/pear.conf You may want to add: /home/mfischer/install/php5/lib/php to your php.ini include_path [PEAR] HTML_Template_IT- installed: 1.1 [PEAR] Net_UserAgent_Detect- installed: 2.0.1
[PEAR] XML_RPC - installed: 1.2.2 Installing build environment: /home/mfischer/install/php5/lib/php/build/ Installing header files: /home/mfischer/install/php5/include/php/ Installing helper programs: /home/mfischer/install/php5/bin/program: phpize program: php-config program: phpextdist Configuring for:
PHP Api Version: 20031224 Zend Module Api No: 20041030Zend Extension Api No: 220040412 rebuilding aclocal.m4 rebuilding configure autoconf: Undefined macros:
configure.in:20: AC_MSG_ERROR(Cannot find php-config. Please use --with-php-config=PATH)make[1]: *** [configure] Error 1 make: *** [all] Error 2 I'm happy to test anything out to resolve this problem. - Markus Markus Fischer wrote:
Ok great, will test it in a few hours from home. - Markus Jani Taskinen wrote:Fixed in CVS. :)--JaniOn Sun, 17 Apr 2005, Andrei Zmievski wrote:This is disturbing. We may have to involve Jani here since he knows best about these sorts of things. I can't imagine why this macro would not be found, since it is a default autoconf macro. Jani, any ideas? I believe Markus checked out php-gtk HEAD and tried to run ./buildconf in it against the latest PHP 5.1. -Andrei On Apr 17, 2005, at 12:40 PM, Markus Fischer wrote:Hi, I tried getting php-gtk head running with php5 head, but it breaks at running ./buildconf: $ ./buildconf Configuring for:PHP Api Version: 20041225 Zend Module Api No: 20041031Zend Extension Api No: 220041031 autoconf: Undefined macros:configure.in:20: AC_MSG_ERROR(Cannot find php-config. Please use--with-php-config=PATH) make: *** [buildmk.stamp] Error 1 I tried the fix written by Andrei athttp://marc.theaimsgroup.com/?l=php-gtk-dev&m=111216704228211&w=2 but it didn't work either. My exakt versions are is 2.13 . Is there anything else to watch out for? - Markus -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php