ID: 29106 Comment by: thu at nykredit dot dk Reported By: info at sebastianmendel dot de Status: Closed Bug Type: Compile Failure Operating System: Fedora Core 2 dev PHP Version: 5CVS-2004-07-12 (dev) New Comment:
Seems that make clean does not clean up everything.. I removed the old source and tar xvfz the stuff again - and everything worked.. (I had copied the source+compile stuff from another server including the compiled stuff and done a make clean- but that was apparently not good enough).. Previous Comments: ------------------------------------------------------------------------ [2004-08-11 13:59:11] thu at nykredit dot dk Same problem here... Though I have three installations of Fedora II - not identical but close... On on of them I get the same error during compile, but not on the two others..?? I use tgis config.. ./configure --with-mysql --with-apxs2 --with-gd --with-openssl --with-zlib --enable-bcmath --enable-calendar --with-curl --enable-dio --enable-ftp --with-ttf --enable-gd-native-ttf --with-kerberos --with-imap-ssl --with-mcrypt --enable-embedded-mysqli --enable-soap --with-xsl --with-pear --with-ming --with-oci8 --with-ldap --with-freetype-dir=/usr/lib Notice that the one causing the troubles is installed with danish as primary language.. the other are set to english.. I do not know if this makes a difference?? ------------------------------------------------------------------------ [2004-07-14 16:16:16] monte at ispi dot net I get the exact same error with the newly released PHP 5.0.0 and Solaris 8 sparc. $ LDFLAGS='-lstdc++' $ export LDFLAGS $ ./configure \ --enable-rpath \ --enable-wddx \ --enable-xml \ --enable-pear \ --enable-inline-optimization \ --disable-debug \ --with-apxs \ --with-mysql=/usr/local/etc/mysql \ --with-zlib \ --with-tsrm-pthreads \ --with-ldap \ --with-iconv-dir=/usr/local/etc/libiconv $ make bison -y /export/projects/compile/php-5.0.0/ext/sqlite/libsqlite/src/parse.y /export/projects/compile/php-5.0.0/ext/sqlite/libsqlite/src/parse.y:19.1-13: invalid directive: `%token_prefix' /export/projects/compile/php-5.0.0/ext/sqlite/libsqlite/src/parse.y:19.15-17: syntax error, unexpected "identifier" make: *** [/export/projects/compile/php-5.0.0/ext/sqlite/libsqlite/src/parse.c] Error 1 ------------------------------------------------------------------------ [2004-07-14 08:24:32] info at sebastianmendel dot de works in 5CVS-2004-07-13 (dev) ------------------------------------------------------------------------ [2004-07-12 12:27:25] info at sebastianmendel dot de Description: ------------ doing: $ cd /usr/src $ cvs -d :pserver:[EMAIL PROTECTED]:/repository co php-src $ cd /usr/src/php-src $ ./buildconf --force $ './configure' 'i386-fedora-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/usr/com' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-apxs2=/usr/sbin/apxs' '--enable-debug' '--with-layout=GNU' '--with-config-file-path=/etc' '--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--enable-dba' '--enable-exif' '--enable-ftp' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir' '--with-ttf' '--with-freetype-dir' '--enable-gd-native-ttf' '--enable-mbstring' '--with-mime-magic' '--enable-shmop' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-memory-limit' '--enable-zend-multibyte' '--with-mysql=/usr,shared' '--with-mysqli=shared' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-xpm-dir=/usr/X11R6/lib' $ make ... gcc -I/usr/src/php-src/ext/sqlite/libsqlite/src -Iext/sqlite/ -I/usr/src/php-src/ext/sqlite/ -DPHP_ATOM_INC -I/usr/src/php-src/include -I/usr/src/php-src/main -I/usr/src/php-src -I/usr/src/php-src/Zend -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/src/php-src/ext/mbstring/oniguruma -I/usr/src/php-src/ext/mbstring/libmbfl -I/usr/src/php-src/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/src/php-src/TSRM -g -Wall -c /usr/src/php-src/ext/sqlite/libsqlite/src/opcodes.c -fPIC -DPIC -DPIC -o ext/sqlite/libsqlite/src/opcodes.o mv -f ext/sqlite/libsqlite/src/opcodes.o ext/sqlite/libsqlite/src/opcodes.lo bison -y /usr/src/php-src/ext/sqlite/libsqlite/src/parse.y /usr/src/php-src/ext/sqlite/libsqlite/src/parse.y:19.1-13: invalid directive: `%token_prefix' /usr/src/php-src/ext/sqlite/libsqlite/src/parse.y:19.15-17: syntax error, unexpected "identifier" make: *** [/usr/src/php-src/ext/sqlite/libsqlite/src/parse.c] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29106&edit=1