compile error: structure has no member named `ap_auth_type'
| From: | Mary Hunter | Date: | Fri, 24 Aug 2001 19:50:50 +0000 |
| Subject: | compile error: structure has no member named `ap_auth_type' | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4082@lists.php.net to get a copy of this message | ||
I can't get PHP4 to compile on my machine. I am at my wits' end on
this. I need to upgrade to PHP4 from 3.0.18 for a particular
application I would like to run.
If anyone has any ideas on what I might try, I would be most
grateful for any input.
I've tried compiling with every version of PHP4 I can get my
hands on. php-3.0.18 compiles fine this way. Everything works,
php serves postgresql database stuff wonderfully. I'm doing all
this as root, so there's not a permissions error anywhere. With
every version of PHP4 I've tried, I get the same error.
OS:
Red Hat Linux release 5.1 (Manhattan)
Kernel 2.0.39 on an i586
Output of ldconfig -p can be found at:
http://www.jfku.edu/~mhunter/ldconfig.txt
Contents of /etc/ld.so.conf can be found at:
http://www.jfku.edu/~mhunter/ldsoconf.txt
PostgreSQL version: postgresql-7.1.2
configure command:
./configure --without-mysql --with-apache=../apache_1.2b8
--enable-track-vars --with-pgsql >& configure.out &
make command:
make >& make.out
Here is the error output from make for php 4.0.6 .
make[3]: Entering directory `/home/mhunter/gzips/php-4.0.6/sapi/apache'
gcc -I. -I/home/mhunter/gzips/php-4.0.6/sapi/apache
-I/home/mhunter/gzips/php-4.0.6/main -I/home/mhunter/gzips/php-4.0.6
-I/home/mhunter/gzips/apache_1.2b8/src-I/home/mhunter/gzips/php-4.0.6/Zend
-I/home/mhunter/gzips/php-4.0.6/ext/xml/expat/xmltok
-I/home/mhunter/gzips/php-4.0.6/ext/xml/expat/xmlparse
-I/home/mhunter/gzips/php-4.0.6/TSRM -I/home/mhunter/gzips/apache_1.2b8/src
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c mod_php4.c && touch mod_php4.lo
mod_php4.c: In function `sapi_apache_flush':
mod_php4.c:142: warning: dereferencing `void *' pointer
mod_php4.c:142: request for member `connection' in something not a
structure orunion
mod_php4.c: In function `init_request_info':
mod_php4.c:406: structure has no member named `ap_auth_type'
make[3]: *** [mod_php4.lo] Error 1
make[3]: Leaving directory `/home/mhunter/gzips/php-4.0.6/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mhunter/gzips/php-4.0.6/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mhunter/gzips/php-4.0.6/sapi'
make: *** [all-recursive] Error 1
--
Mary