Problem compiling PHP with Sablotron support
paul at city-fan.org
Fri Jan 28 15:48:00 UTC 2005
> We tried to rebuild the PHP with Sablotron from php-3.4.10-3.2.src.rpm
> adding the follwing lines in the /usr/src/redhat/SPECS/php.spec file:
> --enable-xslt \
> --with-xlst-sablot \
> --with-sablot-js \
> like in the old RH7.2 with php-4.1.2 but we get always this error:
> .......(skip) ........
> config.status: creating main/php_config.h
> config.status: executing default commands
> + --enable-xslt --with-xslt-sablot --with-sablot-js
> /var/tmp/rpm-tmp.18182: line 142: --enable-xslt: command not found
> error: Bad exit status from /var/tmp/rpm-tmp.18182 (%build)
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.18182 (%build)
I suspect you have added the extra options at the end of the "configure"
options rather than in the middle of them. If so, add a backslash to the
end of the line in the spec file before the one you added your changes
and delete the backslash from "--with-sablot-js \".
More information about the users