Re: ./buildconf not working with php5/head php-gtk/head

From: Date: Mon, 25 Apr 2005 08:45:27 +0000
Subject: Re: ./buildconf not working with php5/head php-gtk/head
References: 1 2 3 4 5 6 7  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1111@lists.php.net to get a copy of this message
    It's propably the same fault I had. Remove ALL autotools and libtool and
    then reinstall them. And if that doesn't help, install the latest
    versions of autoconf/automake/libtool. Those external macros used
    have some stuff in them that the old autoconf can't handle -> weird error.
    --Jani
On Mon, 25 Apr 2005, Markus Fischer wrote:
Thanks, I've tested it with 5.1.0-dev now too, still the same Issue. I've also added the --with-phpize switch, but still. Thanks, - Markus Andrei Zmievski wrote:
First of all, you'll need PHP 5.1.0-dev. Secondly, when you run buildconf, specify the location of phpize you just installed. ./buildconf --with-phpize=/home/mfischer/install/php5/bin/phpize -Andrei On Apr 24, 2005, at 10:59 AM, Markus Fischer wrote:
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:       cgi
Installing 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.5
Wrote 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:      20041030
Zend 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. :)
    --Jani
On 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:      20041031
Zend 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
-- Donate @ http://pecl.php.net/wishlist.php/sniper

« previous php.gtk.dev (#1111) next »