Re: June News

From: Date: Thu, 16 Jun 2005 16:03:51 +0000
Subject: Re: June News
References: 1 2 3 4 5 6 7  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1396@lists.php.net to get a copy of this message
Did you try running it --with-php-config=PATH?
yup & --with-phpize etc , always the same error , php-config --version gives 5.1.0-dev which is the snapshot version errr is there anything wrong in here ?? + ZEND_MODULE_API_NO=' 20041031' looks wrong but I have not a clue what I am looking other than its a timestamp..&& an old one at that. [root@home php-gtk]# sh -x /usr/local/bin/phpize + prefix=/usr/local ++ eval echo /usr/local +++ echo /usr/local + exec_prefix=/usr/local ++ eval echo /usr/local/lib/php +++ echo /usr/local/lib/php + phpdir=/usr/local/lib/php/build ++ eval echo /usr/local/include +++ echo /usr/local/include + includedir=/usr/local/include/php ++ pwd + builddir=/root/php-gtk + FILES_BUILD='mkdep.awk scan_makefile_in.awk shtool libtool.m4' + FILES='acinclude.m4 Makefile.global config.sub config.guess ltmain.sh' + CLEAN_FILES='acinclude.m4 Makefile.global config.sub config.guess ltmain.sh *.o *.lo *.la .deps
.libs/ build/ include/ modules/ install-sh     mkinstalldirs missing config.nice config.sub conf
ig.guess configure configure.in         aclocal.m4 config.h config.h.in conftest* ltmain.sh libto
ol config.cache autom4te.cache/         config.log config.status Makefile Makefile.fragments Make
file.objects confdefs.h' + case "$1" in + phpize_check_configm4 0 + test '!' -r config.m4 + phpize_check_build_files + test '!' -d /usr/local/lib/php/build + phpize_print_api_numbers + phpize_get_api_numbers ++ grep '#define PHP_API_VERSION' /usr/local/include/php/main/php.h ++ sed 's/#define PHP_API_VERSION//' -bash: shx.txt: command not found + PHP_API_VERSION=' 20041225' ++ grep '#define ZEND_MODULE_API_NO' /usr/local/include/php/Zend/zend_modules.h ++ sed 's/#define ZEND_MODULE_API_NO//' + ZEND_MODULE_API_NO=' 20041031' ++ grep '#define ZEND_EXTENSION_API_NO' /usr/local/include/php/Zend/zend_extensions.h ++ sed 's/#define ZEND_EXTENSION_API_NO//'
+ ZEND_EXTENSION_API_NO='       220050610'
+ echo 'Configuring for:' Configuring for:
+ echo 'PHP Api Version:        ' 20041225
PHP Api Version:         20041225
+ echo 'Zend Module Api No:     ' 20041031
Zend Module Api No:      20041031
+ echo 'Zend Extension Api No: ' 220050610 Zend Extension Api No: 220050610 + phpize_copy_files + test -d build + cd /usr/local/lib/php/build + cp mkdep.awk scan_makefile_in.awk shtool libtool.m4 /root/php-gtk/build + cd /usr/local/lib/php/build + cp acinclude.m4 Makefile.global config.sub config.guess ltmain.sh /root/php-gtk + cd /root/php-gtk + cat acinclude.m4 ./build/libtool.m4 + phpize_replace_prefix + sed -e s#/usr/local#/usr/local# + touch install-sh mkinstalldirs missing + phpize_check_shtool + test -x /root/php-gtk/build/shtool + test '!' -x /root/php-gtk/build/shtool + php_shtool=/root/php-gtk/build/shtool + phpize_check_autotools + test -z '' + PHP_AUTOCONF=autoconf + test -z '' + PHP_AUTOHEADER=autoheader ++ /root/php-gtk/build/shtool path autoconf + test -x /usr/local/bin/autoconf ++ /root/php-gtk/build/shtool path autoheader + test -x /usr/local/bin/autoheader + phpize_autotools + autoconf autoconf: Undefined macros:
configure.in:23:    AC_MSG_ERROR(Cannot find php-config. Please use --with-php-config=PATH)
+ exit 1 Regards, Simon. Steph wrote:
The egrep stuff is only a week old... Did you try running it --with-php-config=PATH? cc'ing to 'egg' ----- Original Message ----- From: "Simon Wheeler" <simon@firepages.org> To: "Ivan Rodriguez" <epplestun@gmail.com> Cc: "PHP-GTK Dev" <php-gtk-dev@lists.php.net> Sent: Thursday, June 16, 2005 3:28 PM Subject: Re: [PHP-GTK-DEV] June News
grrrrrrrr ... OK , .. removed all the build tools & now have the recommended autoconf 2.13, automake 1.4 and libtool 1.4.3 , I searched for all traces of aclocal since it seemed to be in several places and removed them before compiling the above.. , aclocal --print-ac-dir seems to give the correct output php5.1 CVS would not make for me , not evean an error as such .. however a 5.1 snapshot did (using the above tools) On to php-gtk ( rm -rf *.cache ) I still get the below... which , to be fair is different to what I am used to and a change is as good as a rest
;)
[root@home php-gtk]# aclocal [root@home php-gtk]# ./buildconf rebuilding aclocal.m4 rebuilding configure configure.in:8: /usr/bin/m4: Undefined macro `AC_PROG_EGREP' autoconf: Undefined macros:
configure.in:23:    AC_MSG_ERROR(Cannot find php-config. Please use
--with-php-config=PATH) make[1]: *** [configure] Error 1 make: *** [all] Error 2 anyone on fedora/rh here that can give me any numbers that worked for them
?
Regards, Simon Ivan Rodriguez wrote:
Simon you need PHP 5.1 to compile PHP-GTK2 When i do something with php-gtk all times i go to gnome devolper web or to the gnome devolper book, the PHP-GTK docs can´t based on the gnome docs?¿ what need to get the docs of PHP-GTK to add some examples and explanations of PHP-GTK2, I think that the best help to learn is with goog examples ... I can write some examples for many widgets ... but i don´t know when can i download the docs of php-gtk2 On 6/16/05, Simon Wheeler <simon@firepages.org> wrote:
     
Cant build it , so can't play with it / understand it == cant document it :) OK so giving up on debian (Xandros) for now (could not build on Ubuntu even following instructions here), I am reinstalling Fedora & crossing my fingers it builds. To parrot Madeleine ... `If it were here yesterday, it wouldn't be soon enough.` ... too right , php-gtk is (IMO) a serious part of PHP's future , all
       
the ..
whoot , while writing php-5.0.4 finally built (CVS would not build for
       
me) , so a deep breath and here I go :D
Regards, Simon. Andrei Zmievski wrote:
       
I got demotivated by the slowness of Gtk+ startup in Tiger and by the lack of any sort of progress on the docs. What's the point of writing PHP-GTK if it'll be just another undocumented project? -Andrei
         
-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
       
     
-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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