Re: [PHP4BETA] Installation Problem
| From: | Dave Seidel | Date: | Thu, 18 Nov 1999 15:31:27 +0000 |
| Subject: | Re: [PHP4BETA] Installation Problem | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6451@lists.php.net to get a copy of this message | ||
Hi,
I had the same compilation error, and reported it as a bug. I was told to
re-run configure without '--enable-thread-safety'. This worked, but it
seems to me that this is still a bug -- we should be able to build with that
flag.
-- Dave
----- Original Message -----
From: PHP3-Mailinglist@H-Web.de <php3@h-web.de>
To: <php4beta@lists.php.net>
Sent: Thursday, November 18, 1999 10:12 AM
Subject: [PHP4BETA] Installation Problem
> Hello List,
>
> I just joined this list having downloaded PHP4Beta3 - but unfortunately
the compilation
> of this Beta fails just as well as the previous Betas ....
>
> Here's the scoop:
> configure'ing the package was straightforward after a little tweaking in
the script (I had
> to add "-ltiff -lz" to the pdflib-tests to make it go through)
>
> ./configure --enable-versioning --with-config-file-path=/home/apache
> --enable-safe-mode --enable-track-vars --enable-magic-quotes
> --with-apxs=/usr/local/apache/bin/apxs --with-gd --with-ttf
> --enable-freetype-4bit-antialias-hack --with-gettext --with-mysql --with-p
dflib --with-snmp
> --enable-sysvsem --enable-sysvshm --with-zlib --enable-thread-safety --wit
h-tiff-dir=/usr
>
> but then the make fails:
>
> t-rex:~/transfer/php/php-4.0b3# make
> make all-recursive
> make[1]: Entering directory `/root/transfer/php/php-4.0b3'
> Making all in libzend
> make[2]: Entering directory `/root/transfer/php/php-4.0b3/libzend'
> /bin/sh ./libtool --silent --mode=compile
c++ -DHAVE_CONFIG_H -I. -I/root/transf
>
er/php/php-4.0b3/./libzend -I. -I/usr/local/include -D_REENTRANT -D_POSIX_
PTHR
> EAD_SEMANTICS -I../TSRM -g -O2 -c -o zend-scanner-cc.lo
zend-scanner-cc.cc
> /bin/sh ./libtool --silent --mode=link c++ -g -O2 -o libzend_cc.la
zend-sca
> nner-cc.lo
> /bin/sh ./libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I/root/transf
>
er/php/php-4.0b3/./libzend -I. -I/usr/local/include -D_REENTRANT -D_POSIX_
PTHR
> EAD_SEMANTICS -I../TSRM -g -O2 -g -c -o zend-parser.lo zend-parser.c
> /usr/lib/bison.simple:153: conflicting types for `zendparse'
> zend_globals_macros.h:39: previous declaration of `zendparse'
> /usr/lib/bison.simple: In function `zendparse':
> /usr/lib/bison.simple:219: number of arguments doesn't match prototype
> /usr/lib/bison.simple:153: prototype declaration
> make[2]: *** [zend-parser.lo] Error 1
> make[2]: Leaving directory `/root/transfer/php/php-4.0b3/libzend'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/transfer/php/php-4.0b3'
> make: *** [all-recursive-am] Error 2
> t-rex:~/transfer/php/php-4.0b3#
>
> This happens on a system running Slackware-4.0 with kernel 2.2.10 and
another
> one running Slackware-7.0 with kernel 2.2.13
>
> Hints, Tips, RTFM's please ?
> Roman
>
>
>
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>