Re: [PHP4BETA] Compiling problems
| From: | David Robley | Date: | Wed, 12 Apr 2000 01:19:54 +0000 |
| Subject: | Re: [PHP4BETA] Compiling problems | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13433@lists.php.net to get a copy of this message | ||
On 11 Apr, Leonardo Dias wrote:
> Well, I've been failing to compile php4 RC1. This didn't happen, of
> course, with Beta4.
>
> Configure command is:
>
> ./configure --with-mysql=../mysql --with-apache=../apache_1.3.12
> --with-ldap=/usr --with-imap --disable-debug --enable-track-vars
>
> Error from make is:
>
> basic_functions.c:324: `php_if_dl' undeclared here (not in a function)
> basic_functions.c:324: initializer element for
> `basic_functions[201].handler' is not constant
>
This solution was posted a while ago by Chad Cunningham
<ccunning@math.ohio-state.edu>:
It's been fixed in the CVS. In ext/standard/basic_functions.c, add before
and after line 324
#ifdef HAVE_LIBDL <--add this
PHP_FE(dl, NULL)
#endif <--add this
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA