XtOffsetOf Nightmare
| From: | Alex Black | Date: | Tue, 19 Mar 2002 03:24:05 +0000 |
| Subject: | XtOffsetOf Nightmare | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81470@lists.php.net to get a copy of this message | ||
hi all,
I have entered bugs.
I have mailed the install list.
No response.
I was unable to compile PHP 4.1.2 with Apache 1.3.23. I have previously
compiled extremely complex installs without a hitch.
After a huge amount of digging, It seems that XtOffsetOf is the source of
all of my problems.
During an initial compile of PHP 4.1.2 --with-apache I get the following
errors:
/root/bc_install/packages/apache_1.3.23/src/include/ap_config_auto.h:6:
unterminated `#if' conditional
/root/bc_install/packages/apache_1.3.23/src/include/ap_config.h:1386
`XtOffsetOf' redefined
So. First problem, I had to patch ap_config_auto.h to fix the broken
conditional.
Second problem. I found an XtOffsetOf define in main/php.h
commented that out.
I couldn't get it all to compile with mm... which seemed just to be a stupid
path problem (though it has worked before) but I now have a functional
install.
has anyone tested with PHP 4.1.2 Apache 1.3.23?
it was a nightmare... :)
_alex