php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28663 Crash while doing MAKE after ./configure
Submitted: 2004-06-07 02:20 UTC Modified: 2004-06-08 11:31 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: mailings at nysander dot webd dot pl Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2004-06-07 (dev) OS: mandrake linux 10.0 community
Private report: No CVE-ID: None
 [2004-06-07 02:20 UTC] mailings at nysander dot webd dot pl
Description:
------------
when i try to compile this version of php i configure it:
./configure  \
--with-apxs2=/usr/local/apache2/bin/apxs \
--disable-cgi \
--prefix=/usr/local/php5/ \
--with-mysql=/usr/bin/mysql \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--enable-gd-native-ttf \
--with-ttf \
--with-jpg \
--enable-discard-path \
--disable-inline-optimization \
--enable-maintainer-zts=no \
--enable-memory-limit=no \
--enable-zend-multibyte=no \
--enable-safe-mode \
--enable-static \
--enable-sysvsem \
--enable-sysvshm \
--with-config-file-path=/etc/ \
--enable-trans-sid \
--with-exec-dir=/home \
--with-kerberos \
--with-regex=system \
--with-zlib \
--enable-ftp \
--enable-bcmath \
--with-openssl \
--enable-sockets \
--disable-yp \
--enable-magic-quotes \
--with-gettext=/usr \
--enable-shmop \
--enable-wddx \
--disable-debug \
--enable-debugger \
--enable-track-vars \
--with-pear \
--enable-sqlite

this ends fine. next i do make and it crashes with this:

byacc -p zend -v -d /Software/php5-snapshot/Zend/zend_language_parser.y -o Zend/zend_language_parser.c
usage: byacc [-dlrtv] [-b file_prefix] [-p symbol_prefix] filename
make: *** [Zend/zend_language_parser.c] Error 1
[root@Saint php5-snapshot]#


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-07 02:22 UTC] mailings at nysander dot webd dot pl
apache 2.0.49 all system & software upgrades done
 [2004-06-07 02:25 UTC] mailings at nysander dot webd dot pl
found better bug category
 [2004-06-07 16:28 UTC] mailings at nysander dot webd dot pl
Version: PHP5-200405251430 with this configuration works fine and compiled without any problems:

./configure  \
--with-apxs2=/usr/sbin/apxs2 \
--prefix=/usr/local/php5 \
--enable-dba \
--enable-dbase \
--with-db4 \
--with-gdbm \
--with-mysql \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--enable-gd-native-ttf \
--with-ttf \
--with-jpg \
--enable-discard-path \
--enable-inline-optimization \
--enable-memory-limit \
--enable-safe-mode \
--enable-static \
--enable-sysvsem \
--enable-sysvshm \
--with-config-file-path=/etc/httpd \
--enable-trans-sid \
--with-exec-dir=/home \
--with-kerberos \
--with-regex=system \
--with-zlib \
--enable-ftp \
--enable-bcmath \
--with-openssl \--enable-sockets \
--disable-yp \
--enable-magic-quotes \
--with-gettext=/usr \
--enable-shmop \
--enable-wddx \
--disable-debug \
--enable-debugger \
--enable-track-vars \
--with-pear
 [2004-06-08 09:54 UTC] derick@php.net
Install yacc (and not byacc). This is not a bug in PHP.
 [2004-06-08 11:31 UTC] mailings at nysander dot webd dot pl
In the packet of byacc there is also a yacc:

[nysander@Saint nysander]$ whereis yacc
yacc: /usr/bin/yacc /usr/share/man/man1/yacc.1.bz2
[nysander@Saint nysander]$ whereis byacc
byacc: /usr/bin/byacc
[nysander@Saint nysander]$
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 20:01:27 2024 UTC