Re: php-gtk2 buildconf/configure/make error

From: Date: Thu, 02 Jun 2005 14:13:02 +0000
Subject: Re: php-gtk2 buildconf/configure/make error
References: 1 2 3  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1355@lists.php.net to get a copy of this message
What version of PHP are you using? you need the last version of CVS compiled with --disable-cgi parameter, what version of gnu tools are you using? On 6/2/05, Daniel Braga <daniel@comentar.com.br> wrote: > Hi Ivan, > > The same thing happened... > > []'s > Daniel Braga > > Ivan Rodriguez wrote: > > Hi Daniel, > > > > when you do ./configure ... you need to disable all extensions like > > gtkextra, scintilla and others and glibtest too, do make clean, > > cvsclean and start again > > > > On 6/1/05, Daniel Braga <daniel@comentar.com.br> wrote: > > > >>Hello! > >> > >>I'm trying to compile the php-gtk2 from cvs, but i'm getting de > >>following errors: > >> > >>[root@elza php-gtk]# ./buildconf > >>Configuring for: > >>PHP Api Version: 20041225 > >>Zend Module Api No: 20041031 > >>Zend Extension Api No: 220041031 > >>rebuilding aclocal.m4 > >>configure.in:5: warning: LT_AC_PATH_SEPARATOR is m4_require'd but is not > >>m4_defun'd > >>configure.in:5: LT_AC_PATH_SEPARATOR is required by... > >>acinclude.m4:2444: PHP_CONFIG_NICE is expanded from... > >>configure.in:5: the top level > >>configure.in:5: warning: LT_AC_PROG_SED is m4_require'd but is not > >>m4_defun'd > >>configure.in:5: LT_AC_PROG_SED is required by... > >>rebuilding configure > >>configure.in:5: warning: LT_AC_PATH_SEPARATOR is m4_require'd but is not > >>m4_defun'd > >>configure.in:5: LT_AC_PATH_SEPARATOR is required by... > >>acinclude.m4:2444: PHP_CONFIG_NICE is expanded from... > >>configure.in:5: the top level > >>configure.in:5: warning: LT_AC_PROG_SED is m4_require'd but is not > >>m4_defun'd > >>configure.in:5: LT_AC_PROG_SED is required by... > >>configure.in:70: error: possibly undefined macro: AC_PROG_LIBTOOL > >> If this token and others are legitimate, please use m4_pattern_allow. > >> See the Autoconf documentation. > >>configure:1300: error: possibly undefined macro: LT_AC_PATH_SEPARATOR > >>configure:1316: error: possibly undefined macro: LT_AC_PROG_SED > >>make[1]: *** [configure] Error 1 > >> > >>[root@elza php-gtk]# './configure' '--prefix=/usr/local/php5' > >>'--exec-prefix=/usr/local/php5' '--disable-scrollpane' > >>'--disable-spaned' '--disable-sqpane' > >>'--disable-combobutton' > >>'--disable-libglade' '--disable-piemenu' > >>-bash: ./configure: Permission denied > >> > >>[root@elza php-gtk]# chmod a+x configure > >> > >>[root@elza php-gtk]# './configure' '--prefix=/usr/local/php5' > >>'--exec-prefix=/usr/local/php5' '--disable-scrollpane' > >>'--disable-spaned' '--disable-sqpane' > >>'--disable-combobutton' > >>'--disable-libglade' '--disable-piemenu' > >>./configure: line 1300: LT_AC_PATH_SEPARATOR: command not found > >>checking for egrep... grep -E > >>./configure: line 1316: LT_AC_PROG_SED: command not found > >>checking for gcc... gcc > >>checking for C compiler default output file name... a.out > >>checking whether the C compiler works... yes > >>checking whether we are cross compiling... no > >>checking for suffix of executables... > >>checking for suffix of object files... o > >>checking whether we are using the GNU C compiler... yes > >>checking whether gcc accepts -g... yes > >>checking for gcc option to accept ANSI C... none needed > >>checking whether gcc and cc understand -c and -o together... yes > >>checking if compiler supports -R... no > >>checking if compiler supports -Wl,-rpath,... yes > >>checking build system type... i686-pc-linux-gnu > >>checking host system type... i686-pc-linux-gnu > >>checking target system type... i686-pc-linux-gnu > >>./configure: line 2682: s/.*>//: No such file or directory > >>checking for PHP prefix... /usr/local/php5 > >>checking for PHP includes... -I/usr/local/php5/include/php > >>-I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM > >>-I/usr/local/php5/include/php/Zend > >>checking for PHP extension directory... > >>/usr/local/php5/lib/php/extensions/no-debug-non-zts-20041031 > >>checking for re2c... no > >>configure: WARNING: You will need re2c 0.96 or later if you want to > >>regenerate PHP parsers. > >>checking for gawk... gawk > >>checking for PHP-GTK support... yes, shared > >>checking for PHP executable in /usr/local/php5/bin... found version > >>5.1.0-dev > >>PHP Warning: PHP Startup: Unable to load dynamic library > >>'/usr/local/php5/lib/php/extensions/no-debug-non-zts-20041031/php_gtk2.so' > >>- > >>/usr/local/php5/lib/php/extensions/no-debug-non-zts-20041031/php_gtk2.so: > >>cannot open shared object file: No such file or directory in Unknown on > >>line 0 > >>checking for gawk... (cached) gawk > >>./configure: line 3262: -e: command not found > >>./configure: line 3274: > >>s#@ext_srcdir@#/compartilhado/downloads/php-gtk2/php-gtk#g: No such file > >>or directory > >>./configure: line 3274: s#@ext_builddir@#.#g: command not found > >>checking for GtkSQPane support... no > >>checking for GtkExtra support... no > >>checking for GtkScrollpane support... no > >>checking for gtkhtml support... no > >>checking for Scintilla support... no > >>checking for GtkCanvas support... no > >>checking for GtkComboButton support... no > >>checking for GtkSPaned support... no > >>checking for libglade support... no > >>checking for Gdkimlib support... no > >>checking for GdkPixbuf support... no > >>checking for pkg-config... /usr/bin/pkg-config > >>checking for GLIB - version >= 2.6.0... yes (version 2.6.4) > >>./configure: line 9127: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9127: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>checking for pkg-config... (cached) /usr/bin/pkg-config > >>checking for GTK+ - version >= 2.6.0... yes (version 2.6.7) > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>checking for atk >= 1.8.0... yes > >>checking ATK_CFLAGS... -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 > >>-I/usr/lib/glib-2.0/include > >>checking ATK_LIBS... -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 > >>./configure: line 9756: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9756: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9756: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>checking for pango >= 1.8.0... yes > >>checking PANGO_CFLAGS... -I/usr/include/pango-1.0 > >>-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > >>checking PANGO_LIBS... -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl > >>-lglib-2.0 > >>./configure: line 9967: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9967: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9967: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>checking for GtkPieMenu support... no > >>./configure: line 10385: -e: command not found > >>checking whether to include debugging symbols... no > >>./configure: line 10453: AC_PROG_LIBTOOL: command not found > >>configure: creating ./config.status > >>config.status: creating config.h > >> > >>[root@elza php-gtk]# make > >>mode=compile gcc -I./ext/gtk+/ > >>-I/compartilhado/downloads/php-gtk2/php-gtk/./ext/gtk+/ -DPHP_ATOM_INC > >>-I/compartilhado/downloads/php-gtk2/php-gtk/include > >>-I/compartilhado/downloads/php-gtk2/php-gtk/main > >>-I/compartilhado/downloads/php-gtk2/php-gtk > >>-I/usr/local/php5/include/php -I/usr/local/php5/include/php/main > >>-I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend > >>-DHAVE_CONFIG_H -g -O2 -c > >>/compartilhado/downloads/php-gtk2/php-gtk/./ext/gtk+/php_gtk+.c -o > >>./ext/gtk+/php_gtk+.lo > >>make: *** No rule to make target `ext/gtk+/gen_atk.c', needed by > >>`ext/gtk+/gen_atk.lo'. Stop. > >> > >>----------------------------------------------------------------- > >>Later I tried again, with changes in buildconf. Buildconf worked, but > >>make, not: > >> > >>[root@elza php-gtk]# ./buildconf > >>--with-phpize=/usr/local/php5/bin/phpize > >>--with-php-config=/usr/local/php5/bin/php-config Configuring for: > >>PHP Api Version: 20041225 > >>Zend Module Api No: 20041031 > >>Zend Extension Api No: 220041031 > >> > >>[root@elza php-gtk]# './configure' '--prefix=/usr/local/php5' > >>'--exec-prefix=/usr/local/php5' '--disable-scrollpane' > >>'--disable-spaned' '--disable-sqpane' > >>'--disable-combobutton' > >>'--disable-libglade' '--disable-piemenu' > >>./configure: line 1300: LT_AC_PATH_SEPARATOR: command not found > >>checking for egrep... grep -E > >>./configure: line 1316: LT_AC_PROG_SED: command not found > >>checking for gcc... gcc > >>checking for C compiler default output file name... a.out > >>checking whether the C compiler works... yes > >>checking whether we are cross compiling... no > >>checking for suffix of executables... > >>checking for suffix of object files... o > >>checking whether we are using the GNU C compiler... yes > >>checking whether gcc accepts -g... yes > >>checking for gcc option to accept ANSI C... none needed > >>checking whether gcc and cc understand -c and -o together... yes > >>checking if compiler supports -R... no > >>checking if compiler supports -Wl,-rpath,... yes > >>checking build system type... i686-pc-linux-gnu > >>checking host system type... i686-pc-linux-gnu > >>checking target system type... i686-pc-linux-gnu > >>./configure: line 2682: s/.*>//: No such file or directory > >>checking for PHP prefix... /usr/local/php5 > >>checking for PHP includes... -I/usr/local/php5/include/php > >>-I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM > >>-I/usr/local/php5/include/php/Zend > >>checking for PHP extension directory... > >>/usr/local/php5/lib/php/extensions/no-debug-non-zts-20041031 > >>checking for re2c... no > >>configure: WARNING: You will need re2c 0.96 or later if you want to > >>regenerate PHP parsers. > >>checking for gawk... gawk > >>checking for PHP-GTK support... yes, shared > >>checking for PHP executable in /usr/local/php5/bin... found version > >>5.1.0-dev > >>PHP Warning: PHP Startup: Unable to load dynamic library > >>'/usr/local/php5/lib/php/extensions/no-debug-non-zts-20041031/php_gtk2.so' > >>- > >>/usr/local/php5/lib/php/extensions/no-debug-non-zts-20041031/php_gtk2.so: > >>cannot open shared object file: No such file or directory in Unknown on > >>line 0 > >>checking for gawk... (cached) gawk > >>./configure: line 3262: -e: command not found > >>./configure: line 3274: s#@ext_builddir@#.#g: command not found > >>./configure: line 3274: > >>s#@ext_srcdir@#/compartilhado/downloads/php-gtk2/php-gtk#g: No such file > >>or directory > >>checking for GtkSQPane support... no > >>checking for GtkExtra support... no > >>checking for GtkScrollpane support... no > >>checking for gtkhtml support... no > >>checking for Scintilla support... no > >>checking for GtkCanvas support... no > >>checking for GtkComboButton support... no > >>checking for GtkSPaned support... no > >>checking for libglade support... no > >>checking for Gdkimlib support... no > >>checking for GdkPixbuf support... no > >>checking for pkg-config... /usr/bin/pkg-config > >>checking for GLIB - version >= 2.6.0... yes (version 2.6.4) > >>./configure: line 9127: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9127: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>checking for pkg-config... (cached) /usr/bin/pkg-config > >>checking for GTK+ - version >= 2.6.0... yes (version 2.6.7) > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9545: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>checking for atk >= 1.8.0... yes > >>checking ATK_CFLAGS... -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 > >>-I/usr/lib/glib-2.0/include > >>checking ATK_LIBS... -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 > >>./configure: line 9756: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9756: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9756: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>checking for pango >= 1.8.0... yes > >>checking PANGO_CFLAGS... -I/usr/include/pango-1.0 > >>-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > >>checking PANGO_LIBS... -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl > >>-lglib-2.0 > >>./configure: line 9967: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9967: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>./configure: line 9967: s/[^a-zA-Z0-9]/_/g: No such file or directory > >>checking for GtkPieMenu support... no > >>./configure: line 10385: -e: command not found > >>checking whether to include debugging symbols... no > >>./configure: line 10453: AC_PROG_LIBTOOL: command not found > >>configure: creating ./config.status > >>config.status: creating config.h > >>config.status: config.h is unchanged > >> > >>[root@elza php-gtk]# make > >>mode=compile gcc -I./ext/gtk+/ > >>-I/compartilhado/downloads/php-gtk2/php-gtk/./ext/gtk+/ -DPHP_ATOM_INC > >>-I/compartilhado/downloads/php-gtk2/php-gtk/include > >>-I/compartilhado/downloads/php-gtk2/php-gtk/main > >>-I/compartilhado/downloads/php-gtk2/php-gtk > >>-I/usr/local/php5/include/php -I/usr/local/php5/include/php/main > >>-I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend > >>-DHAVE_CONFIG_H -g -O2 -c > >>/compartilhado/downloads/php-gtk2/php-gtk/./ext/gtk+/php_gtk+.c -o > >>./ext/gtk+/php_gtk+.lo > >>make: *** No rule to make target `ext/gtk+/gen_atk.c', needed by > >>`ext/gtk+/gen_atk.lo'. Stop. > >> > >>Some suggestion? Ideas? > >> > >>[]'s > >>Daniel Braga > >>Sao Paulo/Brazil > >> > >>PS: my PHP-GTK installer: > > >>>>http://codigolivre.org.br/frs/?group_id=1422&release_id=1840 > >> > >>-- > >>PHP-GTK Development Mailing List (http://gtk.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> >

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