Re: The dread "parse error before `<'" strikes again
| From: | Arnd Vehling | Date: | Wed, 27 Aug 2003 08:05:38 +0000 |
| Subject: | Re: The dread "parse error before `<'" strikes again | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3735@lists.php.net to get a copy of this message | ||
Hello Alan,
thank you for the reply.
Alan Knowles wrote:
$(PHP) -f $(top_srcdir)/generator/generator.php -- -oI needed to remove "-- -o" before it would compile. my php doesnt has an "-o" option it seems. "Unexpectetly" i now get a different compile error: gcc -Iext/gtk+/ -I/home/av/src/php/php-gtk-0.5.2/ext/gtk+/ -DPHP_ATOM_INC -I/home/av/src/php/php-gtk-0.5.2/include -I/home/av/src/php/php-gtk-0.5.2/main -I/home/av/src/php/php-gtk-0.5.2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/X11R6/include -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_gtk.c -fPIC -DPIC -o ext/gtk+/gen_gtk.lo ext/gtk+/gen_gtk.c:2: unterminated character constant In gen_gtk.c is now: Notice</b>: Parentheses don't match in <b>/home/av/src/php/php-gtk-0.5.2/gen erator/scheme.php</b> on line <b>63 The according line of generator.php shows -- global $matcher; -- in function register_types($parser = null) Me think autoconf/buildconf is an odd tool. If you search the php-general list for install problems it seems that autoconf/buildconf creates most of em problem. regards, Arndext/gtk%2b/gtk.overrides -p Gtk -r $(top_srcdir)/ext/gtk%2b/gdk.defs ext/gtk%2b/gtk.defs > ext/gtk+/gen_gtk.c" I guess the "--" is completly wrong or not escaped accordingly. Probably a problem with buildconfig/configure but i never used autoconf/libtool yet so i just dont know.Well guessed .. - you can remove it from the makefiles manually and remove all the gen_* files