Sorry for reply all, I though it might worth a while because I saw at least two similar complaints on dejanews (coogle). If it's a wrong place to talk about this please let me know, I'll make sure that I don;t post it here anymore. Thanks. ================================================= Hi! I've had the same problem. Here is what I did: 1. Follow directions on http://www.php.net/version4/win32build.php, I mean literally 2. I just removed this weird -S option from bison. In your msdev project go to php4dllts/Parsers/parsedate.y and select "settings" Under custom build make sure that you have this under commands: if not "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "%CYGWIN%\share\bison.simple" parsedate.y if "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y You'll get bunch of warnings - I just ignored them Email me at [EMAIL PROTECTED] if you have any issues with this. Good luck. Yury. Do the same for files under ZendTS/parsers [EMAIL PROTECTED] wrote: > can someone help this guy out? > please reply directly to his e-mail address. > > thanks, > > - avi > > ---------- Forwarded message ---------- > Date: Mon, 05 Mar 2001 16:07:56 +0800 > From: wyc <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: for help > > dear sir, > I'm a new PHP developer and very interesting in PHP,and I want to compile the >PHP4.04pl1 source code in win32 myself,but failed. > I have installed cygwin on my machine(windows98),and downloaded the > win32build lib and include files,when I launch VC++, and then select File => Open >Workspace and select php4ts, Then select Build=>Set Active Configuration and select >the desired configuration,Finally select Build=>Rebuild All,but the compiler report >such errors as below: > --------------------Configuration: ZendTS - Win32 Release_TS-------- > Performing Custom Build Step on ".\zend_language_parser.y" > /usr/bin/BISON: invalid option -- S > Usage: /usr/bin/BISON [-dhklntvyV] [-b file-prefix] [-o outfile] [-p name-prefix] > [--debug] [--defines] [--fixed-output-files] [--no-lines] > [--verbose] [--version] [--help] [--yacc] > [--no-parser] [--token-table] > [--file-prefix=prefix] [--name-prefix=prefix] > [--output=outfile] grammar-file > Report bugs to [EMAIL PROTECTED] > Performing Custom Build Step on .\zend_ini_parser.y > /usr/bin/BISON: invalid option -- S > Usage: /usr/bin/BISON [-dhklntvyV] [-b file-prefix] [-o outfile] [-p name-prefix] > [--debug] [--defines] [--fixed-output-files] [--no-lines] > [--verbose] [--version] [--help] [--yacc] > [--no-parser] [--token-table] > [--file-prefix=prefix] [--name-prefix=prefix] > [--output=outfile] grammar-file > Report bugs to [EMAIL PROTECTED] > 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:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\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 > zend_extensions.c > zend_hash.c > zend_highlight.c > D:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\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:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\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:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\Zend\zend_ini_parser.c': No such file or >directory > Generating Code... > Compiling... > zend_ini_scanner.cpp > zend_ini_scanner.l(22) : fatal error C1083: Cannot open include file: >'zend_ini_parser.h': No such file or directory > Generating Code... > Compiling... > zend_language_parser.c > fatal error C1083: Cannot open source file: >'D:\wyc\php-4.0.4pl1.tar\php-4.0.4pl1\Zend\zend_language_parser.c': No such file or >directory > Generating Code... > Compiling... > zend_language_scanner.cpp > zend_language_scanner.l(44) : fatal error C1083: Cannot open include file: >'zend_language_parser.h': No such file or directory > Generating Code... > Compiling... > zend_list.c > zend_llist.c > zend_opcode.c > zend_operators.c > zend_ptr_stack.c > zend_sprintf.c > zend_stack.c > zend_variables.c > Generating Code... > Error executing cl.exe. > > php.exe - 7 error(s), 0 warning(s) > > I don't know how to configue the custom build on *.y and *.l to let bison genarate >the .c and .h files. > the custom build seting on zend_language_paraser.y is: > if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S >"%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y > if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "C:\Program >Files\Cygnus\share\bison.simple" -p zend zend_language_parser.y > > I don't know how to configue the build about bison and flex,could you give me a hand? > Thank you very much! > your sincerely,wyc > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
begin:vcard n:Faktorovich;Yury x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] fn:Yury Faktorovich end:vcard
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]