also, can you let me know what version of bison you are using ? thanks dave
-----Original Message----- From: Dave Viner [mailto:dviner@;yahoo-inc.com] Sent: Wednesday, November 06, 2002 10:15 AM To: [EMAIL PROTECTED] Cc: Php-Dev@lists. php. net Subject: RE: [PHP-DEV] compiling on windows vc++ bison error ? i have added c:\cygwin\bin to the vc++ directories>executables. below is the complete error message when i set ZendTS as the active configuration. It appears that bison simply isn't properly generating the .c and .h files. Both zend_language_parser.{h,c} and zend_ini_parser.c appear to be missing. dave --------------------Configuration: ZendTS - Win32 Debug_TS-------------------- Performing Custom Build Step on ".\zend_language_parser.y" Performing Custom Build Step on .\zend_ini_parser.y zend_ini_parser.y:215.4-6: unrecognized escape: `\\0' Performing Custom Build Step on ".\zend_language_scanner.l" Performing Custom Build Step on .\zend_ini_scanner.l Compiling... zend.c zend_alloc.c zend_API.c zend_builtin_functions.c zend_compile.c d:\php\php4\zend\zend_compile.c(21) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory zend_constants.c zend_dynamic_array.c zend_execute.c zend_execute_API.c d:\php\php4\zend\zend_execute_api.c(366) : warning C4018: '==' : signed/unsigned mismatch zend_extensions.c zend_hash.c zend_highlight.c d:\php\php4\zend\zend_highlight.c(22) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory zend_indent.c d:\php\php4\zend\zend_indent.c(25) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory zend_ini.c zend_ini_parser.c fatal error C1083: Cannot open source file: 'D:\php\php4\Zend\zend_ini_parser.c': No such file or directory zend_ini_scanner.c zend_ini_scanner.l(33) : fatal error C1083: Cannot open include file: 'zend_ini_parser.h': No such file or directory zend_language_parser.c fatal error C1083: Cannot open source file: 'D:\php\php4\Zend\zend_language_parser.c': No such file or directory zend_language_scanner.c zend_language_scanner.l(54) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory zend_list.c zend_llist.c zend_multibyte.c zend_opcode.c zend_operators.c zend_ptr_stack.c zend_qsort.c zend_sprintf.c zend_stack.c zend_variables.c Error executing cl.exe. ZendTS.lib - 7 error(s), 1 warning(s) -----Original Message----- From: Maxim Maletsky [mailto:maxim@;php.net] Sent: Wednesday, November 06, 2002 10:17 AM To: Dave Viner Cc: Php-Dev@lists. php. net Subject: Re: [PHP-DEV] compiling on windows vc++ bison error ? you need to make sure VC can find bison. What is the error exactly? -- Maxim Maletsky [EMAIL PROTECTED] "Dave Viner" <[EMAIL PROTECTED]> wrote... : > Hi, > I'm having difficulty compiling the PHP source code on Win2K with VC++ 6.0. > I've followed the instructions on the website, but I keep getting errors > compiling the ZendTS project. It appears that bison is not actually > generating the zend_language_parser.{h,c} at all. However, from the Cygwin > command line, it appears to work fine: > > $ bison --output=zend_language_parser.c -v -d -p zend zend_language_parser.y > > $ ls -lart | tail -4 > drwxr-xr-x 6 Administ None 36864 Nov 6 09:57 . > -rw-rw-rw- 1 Administ None 6090 Nov 6 10:00 > zend_ini_parser.output > drwxr-xr-x 2 Administ None 16384 Nov 6 10:00 Debug_TS > -rw-rw-rw- 1 Administ None 688770 Nov 6 10:02 > zend_language_parser.output > > $ > > So bison command executes without error, but it fails to generate the > appropriate .c and .h files. I am using bison v 1.75 (the latest from > cygwin). > > Has anyone seen an error like this? > > dave > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php