That's really strange. Any chance bison is broken on Mac's?

Andi

At 06:15 PM 7/6/2002 -0700, R Blake wrote:
>continuing to explore this problem, i added --disable-inline-optimization 
>to configure.
>
>now configure fails with:
>
>  Thank you for using PHP.
>
>  config.status: creating php4.spec
>  config.status: creating main/build-defs.h
>  config.status: creating pear/scripts/phpize
>  config.status: creating pear/scripts/php-config
>  config.status: creating main/php_config.h
>  config.status: executing default commands
>  bison -y -p ini_ -v -d 
> /Volumes/ServerSystem/ports/php4/Zend/zend_ini_parser.y -o 
> Zend/zend_ini_parser.c
>  /Volumes/ServerSystem/ports/php4/Zend/zend_ini_parser.y:237: tokens $ 
> and ' both assigned number 0
>  make: *** [Zend/zend_ini_parser.c] Error 1
>
>
>
>a quick test at shell:
>
>[root@server] bison -y -p ini_ -v -d 
>/Volumes/ServerSystem/ports/php4/Zend/zend_ini_parser.y -o 
>Zend/zend_ini_parser.c
>
>gives the same error:
>
>/Volumes/ServerSystem/ports/php4/Zend/zend_ini_parser.y:237: tokens $ and 
>' both assigned number 0
>
>am i closer to the problem?
>
>richard
>
>
>--On Saturday, July 6, 2002 4:03 PM -0700 R Blake <[EMAIL PROTECTED]> wrote:
>
>>hi all,
>>
>>i've been trying to get php4 + ZendEngine2 up & running on OSX Server
>>10.1.4.
>>
>>configure completes OK with:
>>
>>./configure --enable-shared --enable-static --prefix=/usr/local/php4
>>--with-layout=PHP --with-apxs2=/usr/local/apache2/sbin/apxs
>>--with-config-file-path=/private/etc/php4/ --mandir=/usr/local/man
>>--localstatedir=/private/var/php4 --x-includes=/usr/X11R6/include
>>--x-libraries=/usr/X11R6/lib --with-mysql=/usr/local/mysql
>>--enable-force-cgi-redirect --enable-discard-path --disable-xml
>>--with-expat-dir=/usr/local/expat --with-pear
>>
>>but, unfortunately, make is dying at:
>>
>>cc  -IZend/ -I/Volumes/ServerSystem/ports/php4/Zend/ -DPHP_ATOM_INC
>>-I/Volumes/ServerSystem/ports/php4/include
>>-I/Volumes/ServerSystem/ports/php4/main
>>-I/Volumes/ServerSystem/ports/php4 -I/usr/local/apache2/include
>>-I/Volumes/ServerSystem/ports/php4/Zend -I/usr/local/mysql/include/mysql
>>-fno-common -fno-rtti -fno-strict-aliasing -I/System/Library/Frameworks
>>-I/usr/local/include -I/usr/X11R6/include -I/usr/local/BerkeleyDB/include
>>-no-cpp-precomp -no-cpp-precomp -I/Volumes/ServerSystem/ports/php4/TSRM
>>-O3 -L/System/Library/Frameworks -L/usr/lib -L/usr/local/lib
>>-L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib -DZTS  -c
>>Zend/zend_language_parser.c -o Zend/zend_language_parser.o  && echo >
>>Zend/zend_language_parser.lo Zend/zend_language_parser.c:784: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:785: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:785: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:785: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:785: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:785: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:785: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:785: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:785: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:785: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:785: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:786: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:786: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:786: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:786: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:786: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:786: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:786: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:786: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:786: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:786: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:787: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:787: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:787: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:787: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:787: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:787: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:787: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:787: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:787: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:787: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:788: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:788: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:788: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:788: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:788: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:788: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:788: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:788: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:788: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:788: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:789: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:789: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:789: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:789: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:789: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:789: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:789: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:789: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:789: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:789: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:790: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:790: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:790: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:790: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:790: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:790: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:790: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:790: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:790: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:790: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:791: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:791: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:791: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:791: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:791: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:791: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:791: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:791: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:791: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:791: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:792: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:792: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:792: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:792: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:792: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:792: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:792: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:792: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:792: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:792: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:793: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:793: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:793: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:793: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:793: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:793: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:793: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:793: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:793: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:793: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:794: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:794: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:794: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:794: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:794: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:794: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:794: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:794: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:794: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:794: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:795: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:795: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:795: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:795: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:795: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:795: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:795: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:795: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:795: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:795: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:796: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:796: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:796: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:796: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:796: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:796: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:796: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:796: warning:
>>large integer implicitly truncated to unsigned type
>>Zend/zend_language_parser.c:796: warning: large integer implicitly
>>truncated to unsigned type Zend/zend_language_parser.c:797: warning:
>>large integer implicitly truncated to unsigned type flex -Pzend
>>-S/Volumes/ServerSystem/ports/php4/Zend/flex.skl
>>-oZend/zend_language_scanner.c -i
>>/Volumes/ServerSystem/ports/php4/Zend/zend_language_scanner.l cc  -IZend/
>>-I/Volumes/ServerSystem/ports/php4/Zend/ -DPHP_ATOM_INC
>>-I/Volumes/ServerSystem/ports/php4/include
>>-I/Volumes/ServerSystem/ports/php4/main
>>-I/Volumes/ServerSystem/ports/php4 -I/usr/local/apache2/include
>>-I/Volumes/ServerSystem/ports/php4/Zend -I/usr/local/mysql/include/mysql
>>-fno-common -fno-rtti -fno-strict-aliasing -I/System/Library/Frameworks
>>-I/usr/local/include -I/usr/X11R6/include -I/usr/local/BerkeleyDB/include
>>-no-cpp-precomp -no-cpp-precomp -I/Volumes/ServerSystem/ports/php4/TSRM
>>-O3 -L/System/Library/Frameworks -L/usr/lib -L/usr/local/lib
>>-L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib -DZTS  -c
>>Zend/zend_language_scanner.c -o Zend/zend_language_scanner.o  && echo >
>>Zend/zend_language_scanner.lo bison -y -p ini_ -v -d
>>/Volumes/ServerSystem/ports/php4/Zend/zend_ini_parser.y -o
>>Zend/zend_ini_parser.c
>>/Volumes/ServerSystem/ports/php4/Zend/zend_ini_parser.y:237: tokens $ and
>>' both assigned number 0 make: *** [Zend/zend_ini_parser.c] Error 1
>>[root@server]
>>
>>for reference, here are relevant build details:
>>
>>
>>[root@server]cc --version
>>2.95.2
>>[root@server]autoconf --version
>>autoconf (GNU Autoconf) 2.53
>>Written by David J. MacKenzie and Akim Demaille.
>>
>>Copyright 2002 Free Software Foundation, Inc.
>>This is free software; see the source for copying conditions.  There is NO
>>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>>PURPOSE. [root@server]automake --version
>>automake (GNU automake) 1.6.2
>>Written by Tom Tromey <[EMAIL PROTECTED]>.
>>
>>Copyright 2002 Free Software Foundation, Inc.
>>This is free software; see the source for copying conditions.  There is NO
>>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>>PURPOSE. [root@server]bison --version
>>bison (GNU Bison) 1.49a
>>Written by Robert Corbett and Richard Stallman.
>>
>>Copyright (C) 2002 Free Software Foundation, Inc.
>>This is free software; see the source for copying conditions.  There is NO
>>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>>PURPOSE. [root@server]flex --version
>>flex version 2.5.4
>>[root@server]
>>
>>
>>CFLAGS=-O3 -L/System/Library/Frameworks -L/usr/lib -L/usr/local/lib
>>-L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib
>>
>>LDFLAGS=-flat_namespace -undefined suppress -L/System/Library/Frameworks
>>-L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib
>>
>>CPPFLAGS=-fno-common -fno-rtti -fno-strict-aliasing
>>-I/System/Library/Frameworks -I/usr/local/include -I/usr/X11R6/include
>>-I/usr/local/BerkeleyDB/include
>>
>>
>>any pointers/help would be appreciated .....
>>
>>thanks!
>>
>>richard
>>
>>
>>--------------------------------------
>>R Blake
>>blakers <at> mac.com
>>http://homepage.mac.com/blakers
>>--------------------------------------
>
>
>--
>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

Reply via email to