Am Dienstag, 21. Mai 2002 01:33 schrieb Oden Eriksson:

> Hmm...
>
> I'm using the "mod_php.spec" file as a start point, but getting an error I
> don't understand...
>
> php_functions.c: In function `zif_apache_lookup_uri':
> php_functions.c:93: structure has no member named `boundary'
> php_functions.c:93: structure has no member named `boundary'
> apxs2:Error: Command failed with rc=65536

Seems like apache changed their headers and made it incompatible. It compiles 
with 2.0.36 but not with the newer version cooker seems to use. You might 
want to try the apache2filter sources from a php snapshot


>
> Here's my (simple) changes to the "mod_php.spec" file:
>
> /usr/sbin/apxs2 -c -I. -I -I./main -I. -I/usr/include/php \
>         -I/usr/include/php/main \
>         -I/usr/include/php/Zend \
>         -I/usr/include/php/TSRM \
>         -lphp_common -lpthread -lgdbm -ldb -lapr -laprutil \
>         sapi_apache2.c apache_config.c php_functions.c -o libphp4.so
>
> Are you sure the tsrm library needs to be there? How should I make the php
> package provide it?

I tried it without it but got unresolved symbols. libtsrb should be created by 
standard make processs - but it might miss thread support because -lpthread 
is manually added by the spec file. You might want to try to install libtsrm 
manually and add it to the spec file

Alexander Feigl



Reply via email to