Re: PHP 4.0 Bug #5095: Virtual Directory is breaking thePHP Build
| From: | Sterling Hughes | Date: | Sat, 17 Jun 2000 14:29:00 +0000 |
| Subject: | Re: PHP 4.0 Bug #5095: Virtual Directory is breaking thePHP Build | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21606@lists.php.net to get a copy of this message | ||
> > From: sterling@php.net
> > Operating system: Redhat Linux 6.1
> > PHP version: 4.0 Latest CVS (17/06/2000)
> > PHP Bug Type: Compile Failure
> > Bug description: Virtual Directory is breaking the PHP Build
> >
> > I get the following error when compiling the latest PHP4 CVS code:
> >
> > In file included from php_virtual_cwd.c:33:
> > php_virtual_cwd.h:61: parse error before '*'
> > php_virtual_cwd.h:61: warning: data definition has no storage class
> > php_virtual_cwd.h:548: conflicting types for 'virtual_opendir'
> > php_virtual_cwd.h:61: previous declaration of 'virtual_opendir'
>
> Looks like you either have a problem with your configure
> settings or with your header files.
>
> What does
>
> $ egrep 'DIR.*_H' php_config.h
>
> output?
>
#define HAVE_DIRENT_H 1
/* #undef HAVE_NDIR_H */
/* #undef HAVE_SYS_DIR_H */
/* #undef HAVE_SYS_NDIR_H */
> Does debug.log exist?
>
Nope.
> Try to find out why the checks for dirent.h failed.
>
It looks like (if I'm not mistaken) configure did find dirent.h
Sterling