Re: The dread "parse error before `<'" strikes again

From: Date: Wed, 27 Aug 2003 08:49:29 +0000
Subject: Re: The dread "parse error before `<'" strikes again
References: 1 2 3 4  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3737@lists.php.net to get a copy of this message
Alan Knowles wrote:
Ok, had a look a this on a machine here... the '--' is correct - its supposted to be there.. try running the expanded version on your command line and see what is output. /usr/bin/php -f /usr/src/php/php-gtk/generator/generator.php -- -o /usr/src/php/php-gtk/ext/gtk%2b/gdk.overrides -p Gdk /usr/src/php/php-gtk/ext/gtk%2b/gdk.defs | more (replace the /usr/src/php/php-gtk with /home/av/src/php/php-gtk-0.5.2) you should be able to see what it is doing when you run make (it will expand the command below.. - now see if that is the same as you typed to do it manually..
Heres the ouput, it cant find the "--" file: /usr/bin/php -f /home/av/src/php/php-gtk-0.5.2/generator/generator.php -- -o /home/av/src/php/php-gtk-0.5.2/ext/gtk%2b/gdk.overrides -p Gdk /home/av/src/php/php-gtk-0.5.2/ext/gtk%2b/gdk.defs Parsing file "--". <br /> <b>Warning</b>: fopen(--): failed to open stream: No such file or directory in <b>/home/av/src/php/php-gtk-0.5.2/generator/scheme.php</b> on line <b>110</b><br /> <br /> <b>Warning</b>: fgets(): supplied argument is not a valid stream resource in <b>/home/av/src/php/php-gtk-0.5.2/generator/scheme.php</b> on line <b>34</b><br /> #include "php_gtk.h" #if HAVE_PHP_GTK void php_gtk_register_constants(int module_number TSRMLS_DC) { } void php_gtk_register_classes(void) {
        zend_class_entry ce;
        TSRMLS_FETCH();
} #endif /* HAVE_PHP_GTK */

« previous php.gtk.general (#3737) next »