php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8614 Bison fails after doing a clean from within MSVC IDE.
Submitted: 2001-01-09 07:59 UTC Modified: 2001-01-09 08:03 UTC
From: sibbitts at federated dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4 OS: win32
Private report: No CVE-ID: None
 [2001-01-09 07:59 UTC] sibbitts at federated dot com
This is the output after doing a clean and trying to do a build.  The problem is remedied by unzipping the source and restarting the compile.


H:\php\php-4.0.4\win32>msdev php4ts.dsp /MAKE "php4ts - Win32 Release_TS"
--------------------Configuration: TSRM - Win32 Release_TS--------------------
Compiling...
TSRM.c
tsrm_strtok_r.c
tsrm_virtual_cwd.c
Creating library...
--------------------Configuration: ZendTS - Win32 Release_TS--------------------

Performing Custom Build Step on ".\zend_language_parser.y"
bison: invalid option -- S
Usage: 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...

Here is a copy of my environment, less some more personal settings:

ComSpec=C:\WINNT\system32\cmd.exe
CYGWIN=h:\cygwin
DYLANBIN=C:\usr\local\bin
DYLANDIR=C:\usr\local
EMACSDATA=e:\palm\GNU PalmPilot Developer Tools\emacs\etc
EMACSDOC=e:\palm\GNU PalmPilot Developer Tools\emacs\etc
EMACSLOADPATH=e:\palm\GNU PalmPilot Developer Tools\emacs\lisp
EMACSLOCKDIR=c:\temp
EMACSPATH=e:\palm\GNU PalmPilot Developer Tools\bin
FSG_CYGWIN=C:\Program Files\gnuwin32\b18\H-i386-cygwin32
GCC_EXEC_PREFIX=e:\palm\GNU PalmPilot Developer Tools\lib\gcc-lib\
GDBTK_LIBRARY=C:\Program Files\gnuwin32\b18\share\gdbtcl
home=e:\home\hq\gdss
HOMEDRIVE=C:
HOMEPATH=\
HTTP_USER_AGENT=Mozilla/4
INCLUDE=C:\PROGRA~1\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\INCLUDE;
C:\PROGRA~1\MICROS~2\VC98\MFC\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\ATL\INCLUDE;C:\P
ROGRA~1\MICROS~2\VC98\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\MFC\INCLUDE;C:\PROGRA~1\
MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\INCLUDE;C:\PROGRA~1\MICROS~2
\VC98\MFC\INCLUDE;C:\Program Files\Mts\Include;h:\cygwin\usr\include;C:\Program
Files\Microsoft Visual Studio\VC98\include;
INFOPATH=e:\palm\GNU PalmPilot Developer Tools\info
LIB=C:\PROGRA~1\MICROS~2\VC98\LIB;C:\PROGRA~1\MICROS~2\VC98\MFC\LIB;C:\PROGRA~1\
MICROS~2\VC98\LIB;C:\PROGRA~1\MICROS~2\VC98\MFC\LIB;C:\PROGRA~1\MICROS~2\VC98\LI
B;C:\PROGRA~1\MICROS~2\VC98\MFC\LIB;C:\Program Files\Mts\Lib
LOGONSERVER=\\MORDRED
MSDevDir=C:\PROGRA~1\MICROS~2\Common\msdev98
MSDEVINC=C:\Program Files\Microsoft Visual Studio\VC98\include
MSVCDir=C:\PROGRA~1\MICROS~2\VC98
NUMBER_OF_PROCESSORS=1
ORANTINCLUDE=e:\ORANT\OCI80\include
ORA_NT=e:\ORANT
ORA_OCI_LIB=e:\ORANT\oci80\lib\msvc\oci.lib
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
PALM_GNU=e:\palm\GNU PalmPilot Developer Tools
Path=C:\PROGRA~1\MICROS~2\Common\msdev98\BIN;C:\PROGRA~1\MICROS~2\VC98\BIN;C:\PR
OGRA~1\MICROS~2\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~2\Common\TOOLS;C:\PROGRA~1
\MICROS~2\Common\msdev98\BIN;C:\PROGRA~1\MICROS~2\VC98\BIN;C:\PROGRA~1\MICROS~2\
Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~2\Common\TOOLS;C:\PROGRA~1\MICROS~2\Common
\msdev98\BIN;C:\PROGRA~1\MICROS~2\VC98\BIN;C:\PROGRA~1\MICROS~2\Common\TOOLS\WIN
NT;C:\PROGRA~1\MICROS~2\Common\TOOLS;E:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\
Program Files\Mts;C:\Program Files\Rational\common;h:\cygwin\bin;C:\Program File
s\gnuwin32\b18\tcl\bin;C:\usr\local\bin;C:\Program Files\CVS;C:\Program Files\Mi
crosoft Visual Studio\VC98\bin;%root%\tools\genbo;%root%\tools\astro;e:\home\hq\
gdss\tools;e:\Program Files\Symantec\pcAnywhere;E:\orant\bin;C:\WINNT\system32;C
:\WINNT;C:\Program Files\Mts;C:\Program Files\Rational\common;h:\cygwin\bin;C:\P
rogram Files\gnuwin32\b18\tcl\bin;C:\usr\local\bin;C:\Program Files\CVS;C:\Progr
am Files\Microsoft Visual Studio\VC98\bin;%root%\tools\genbo;%root%\tools\astro;
e:\home\hq\gdss\tools;e:\Program Files\Symantec\pcAnywhere;e:\home\hq\gdss\tools
\astro;e:\home\hq\gdss\tools\genbo;E:\PALM\GNUPAL~1\BIN
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS;.VBE;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
PROMPT=$P$G
ROOT=e:\home\hq\gdss
SystemDrive=C:
SystemRoot=C:\WINNT
TCL_LIBRARY=C:\Program Files\gnuwin32\b18\tcl\lib\tcl7.6
TEMP=C:\TEMP
TMP=C:\TEMP
windir=C:\WINNT

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-09 08:03 UTC] cynic@php.net
recent versions of Bison don't have the -S option. Either use older version of Bison (the one in Cygwin B20 works fine) or use a newer snap from http://snaps.php.net as this has been solved in CVS IIRC.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Jul 03 01:00:02 2026 UTC