Re: ask for help

From: Date: Mon, 12 Mar 2001 19:57:01 +0000
Subject: Re: ask for help
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-48761@lists.php.net to get a copy of this message
Did you get this figured out? I'm just starting to work on compiling PHP under Windows too and am having the same trouble with the execution of bison. Greg Sohl Cedar Rapids, IA <900wyc@21cn.com> wrote in message news:rs989693899962.09787@webmail2.inner-21cn.com... > 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 bug-bison@gnu.org > 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 bug-bison@gnu.org > 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 > ---------------------------------------------- > »¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ > http://www.21cn.com > Thank you for using 21cn.com Email system > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#48761) next »