Mike Bedwell <[EMAIL PROTECTED]> wrote: > Ok, so here is the problem I am having. My mod_php is built with zts > enabled. However, I can't seem to get midgard-php4 to compile with zts > enabled. I'm sure the answer is simple and easy, but after banging my > head on the desk for 2 days learning gentoos ebuilds system and puting > together these ebuild, I'm completely braindead. Any ideas would be > greatly appreciated. > > When I compile midgard-php4 it's not including, and ZTS doesn't seem to > be defined. If I set ZTS to defined, i get a load of errors, quoted > below
Sorry, I do not understand. How you do "set" ZTS? What do You mean? It should be defined in php header files. > In file included from /usr/include/php/Zend/zend_alloc.h:26, > from /usr/include/php/Zend/zend.h:223, > from /usr/include/php/main/php.h:34, > from /root/midgard/midgard-php4-1.6.3/php_midgard.h:55, > from /root/midgard/midgard-php4-1.6.3/midgard.c:24: > /usr/include/php/TSRM/TSRM.h:105: error: syntax error before "THREAD_T" > /usr/include/php/TSRM/TSRM.h:120: error: syntax error before "thread_id" > /usr/include/php/TSRM/TSRM.h:121: error: syntax error before "thread_id" > /usr/include/php/TSRM/TSRM.h:128: error: syntax error before > "tsrm_thread_id" Are you sure , you use the same version of php4 and php4-dev? Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
